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".4version: 1.0.05allowed-tools:6- Read7- Write8- Edit9- Grep10- Glob11- Bash(profiling:*)12- Bash(analysis:*)13license: MIT14---1516## Overview1718This 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.1920## How It Works21221. **Analyze Project**: Claude uses the plugin to analyze the project's codebase, infrastructure configuration, and architecture.232. **Identify Optimization Areas**: The plugin identifies potential optimization areas in the frontend, backend, and infrastructure.243. **Prioritize Recommendations**: The plugin prioritizes recommendations based on estimated performance gains and implementation effort.254. **Generate Report**: Claude presents a comprehensive report with actionable advice, performance gain estimates, and a phased implementation roadmap.2627## When to Use This Skill2829This skill activates when you need to:30- Identify performance bottlenecks in a software application.31- Get recommendations for improving website loading speed.32- Optimize database query performance.33- Improve API response times.34- Reduce infrastructure costs.3536## Examples3738### Example 1: Optimizing a Slow Website3940User request: "My website is loading very slowly. Can you help me optimize its performance?"4142The skill will:431. Analyze the website's frontend code, backend APIs, and infrastructure configuration.442. Identify issues such as unoptimized images, inefficient database queries, and lack of CDN usage.453. Generate a report with prioritized recommendations, including image optimization, database query optimization, and CDN implementation.4647### Example 2: Improving API Response Time4849User request: "The API response time is too slow. What can I do to improve it?"5051The skill will:521. Analyze the API code, database queries, and caching strategies.532. Identify issues such as inefficient database queries, lack of caching, and slow processing logic.543. Generate a report with prioritized recommendations, including database query optimization, caching implementation, and asynchronous processing.5556## Best Practices5758- **Specificity**: Provide specific details about the project and its performance issues to get more accurate and relevant recommendations.59- **Context**: Explain the context of the performance problem, such as the expected user load or the specific use case.60- **Iteration**: Review the recommendations and provide feedback to refine the optimization strategy.6162## Integration6364This 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.6566## Prerequisites6768- Access to application codebase in {baseDir}/69- Infrastructure configuration files70- Performance profiling tools71- Current performance metrics and baselines7273## Instructions74751. Analyze frontend code for rendering and asset optimization762. Review backend code for query and processing efficiency773. Examine infrastructure for scaling and resource usage784. Identify high-impact optimization opportunities795. Prioritize recommendations by effort vs impact806. Generate phased implementation roadmap8182## Output8384- Comprehensive optimization report by layer (frontend/backend/infra)85- Prioritized recommendations with impact estimates86- Code examples for suggested improvements87- Performance gain projections88- Implementation effort estimates and timeline8990## Error Handling9192If optimization analysis fails:93- Verify codebase access permissions94- Check profiling tool installation95- Validate configuration file formats96- Ensure sufficient analysis resources97- Review project structure completeness9899## Resources100101- Web performance optimization guides102- Database query optimization best practices103- Infrastructure scaling patterns104- Caching strategies and CDN usage