Performance Optimization Advisor
This skill provides automated assistance for performance optimization advisor tasks.
Overview
This skill empowers Claude to act as a performance optimization advisor, delivering a detailed report of potential improvements across various layers of a software application. It prioritizes recommendations based on impact and effort, allowing for a focused and efficient optimization strategy.
How It Works
- Analyze Project: Claude uses the plugin to analyze the project's codebase, infrastructure configuration, and architecture.
- Identify Optimization Areas: The plugin identifies potential optimization areas in the frontend, backend, and infrastructure.
- Prioritize Recommendations: The plugin prioritizes recommendations based on estimated performance gains and implementation effort.
- Generate Report: Claude presents a comprehensive report with actionable advice, performance gain estimates, and a phased implementation roadmap.
When to Use This Skill
This skill activates when you need to:
- Identify performance bottlenecks in a software application.
- Get recommendations for improving website loading speed.
- Optimize database query performance.
- Improve API response times.
- Reduce infrastructure costs.
Examples
Example 1: Optimizing a Slow Website
User request: "My website is loading very slowly. Can you help me optimize its performance?"
The skill will:
- Analyze the website's frontend code, backend APIs, and infrastructure configuration.
- Identify issues such as unoptimized images, inefficient database queries, and lack of CDN usage.
- Generate a report with prioritized recommendations, including image optimization, database query optimization, and CDN implementation.
Example 2: Improving API Response Time
User request: "The API response time is too slow. What can I do to improve it?"
The skill will:
- Analyze the API code, database queries, and caching strategies.
- Identify issues such as inefficient database queries, lack of caching, and slow processing logic.
- Generate a report with prioritized recommendations, including database query optimization, caching implementation, and asynchronous processing.
Best Practices
- Specificity: Provide specific details about the project and its performance issues to get more accurate and relevant recommendations.
- Context: Explain the context of the performance problem, such as the expected user load or the specific use case.
- Iteration: Review the recommendations and provide feedback to refine the optimization strategy.
Integration
This skill integrates well with other plugins that provide code analysis, infrastructure management, and deployment automation capabilities. For example, it can be used in conjunction with a code linting plugin to identify code-level performance issues or with an infrastructure-as-code plugin to automate infrastructure optimization tasks.
Prerequisites
- Access to application codebase in {baseDir}/
- Infrastructure configuration files
- Performance profiling tools
- Current performance metrics and baselines
Instructions
- Analyze frontend code for rendering and asset optimization
- Review backend code for query and processing efficiency
- Examine infrastructure for scaling and resource usage
- Identify high-impact optimization opportunities
- Prioritize recommendations by effort vs impact
- Generate phased implementation roadmap
Output
- Comprehensive optimization report by layer (frontend/backend/infra)
- Prioritized recommendations with impact estimates
- Code examples for suggested improvements
- Performance gain projections
- Implementation effort estimates and timeline
Error Handling
If optimization analysis fails:
- Verify codebase access permissions
- Check profiling tool installation
- Validate configuration file formats
- Ensure sufficient analysis resources
- Review project structure completeness
Resources
- Web performance optimization guides
- Database query optimization best practices
- Infrastructure scaling patterns
- Caching strategies and CDN usage
1---2name: providing-performance-optimization-advice3description: Provide comprehensive prioritized performance optimization recommendations for frontend, backend, and infrastructure. Use when analyzing bottlenecks or seeking improvement strategies. Trigger with phrases like "optimize performance", "improve speed", or "performance recommendations".4license: MIT5---6# Performance Optimization Advisor78This skill provides automated assistance for performance optimization advisor tasks.910## Overview1112This skill empowers Claude to act as a performance optimization advisor, delivering a detailed report of potential improvements across various layers of a software application. It prioritizes recommendations based on impact and effort, allowing for a focused and efficient optimization strategy.1314## How It Works15161. **Analyze Project**: Claude uses the plugin to analyze the project's codebase, infrastructure configuration, and architecture.172. **Identify Optimization Areas**: The plugin identifies potential optimization areas in the frontend, backend, and infrastructure.183. **Prioritize Recommendations**: The plugin prioritizes recommendations based on estimated performance gains and implementation effort.194. **Generate Report**: Claude presents a comprehensive report with actionable advice, performance gain estimates, and a phased implementation roadmap.2021## When to Use This Skill2223This skill activates when you need to:24- Identify performance bottlenecks in a software application.25- Get recommendations for improving website loading speed.26- Optimize database query performance.27- Improve API response times.28- Reduce infrastructure costs.2930## Examples3132### Example 1: Optimizing a Slow Website3334User request: "My website is loading very slowly. Can you help me optimize its performance?"3536The skill will:371. Analyze the website's frontend code, backend APIs, and infrastructure configuration.382. Identify issues such as unoptimized images, inefficient database queries, and lack of CDN usage.393. Generate a report with prioritized recommendations, including image optimization, database query optimization, and CDN implementation.4041### Example 2: Improving API Response Time4243User request: "The API response time is too slow. What can I do to improve it?"4445The skill will:461. Analyze the API code, database queries, and caching strategies.472. Identify issues such as inefficient database queries, lack of caching, and slow processing logic.483. Generate a report with prioritized recommendations, including database query optimization, caching implementation, and asynchronous processing.4950## Best Practices5152- **Specificity**: Provide specific details about the project and its performance issues to get more accurate and relevant recommendations.53- **Context**: Explain the context of the performance problem, such as the expected user load or the specific use case.54- **Iteration**: Review the recommendations and provide feedback to refine the optimization strategy.5556## Integration5758This skill integrates well with other plugins that provide code analysis, infrastructure management, and deployment automation capabilities. For example, it can be used in conjunction with a code linting plugin to identify code-level performance issues or with an infrastructure-as-code plugin to automate infrastructure optimization tasks.5960## Prerequisites6162- Access to application codebase in {baseDir}/63- Infrastructure configuration files64- Performance profiling tools65- Current performance metrics and baselines6667## Instructions68691. Analyze frontend code for rendering and asset optimization702. Review backend code for query and processing efficiency713. Examine infrastructure for scaling and resource usage724. Identify high-impact optimization opportunities735. Prioritize recommendations by effort vs impact746. Generate phased implementation roadmap7576## Output7778- Comprehensive optimization report by layer (frontend/backend/infra)79- Prioritized recommendations with impact estimates80- Code examples for suggested improvements81- Performance gain projections82- Implementation effort estimates and timeline8384## Error Handling8586If optimization analysis fails:87- Verify codebase access permissions88- Check profiling tool installation89- Validate configuration file formats90- Ensure sufficient analysis resources91- Review project structure completeness9293## Resources9495- Web performance optimization guides96- Database query optimization best practices97- Infrastructure scaling patterns98- Caching strategies and CDN usage