Performance Optimization Advisor
Deliver prioritized performance optimization recommendations across frontend, backend, and infrastructure layers with impact estimates and phased implementation roadmaps.
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 ${CLAUDE_SKILL_DIR}/
- 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-advice-23description: Provide comprehensive prioritized performance optimization recommendations4 for frontend, backend, and infrastructure. Use when analyzing bottlenecks or seeking5 improvement strategies. Trigger with phrases like "optimize performance", "improve6 speed", or "performance recommendations".7version: 1.21.08allowed-tools: Read, Write, Edit, Grep, Glob, Bash(profiling:*), Bash(analysis:*)9license: MIT10author: Jeremy Longshore <jeremy@intentsolutions.io>11tags:12- performance13- providing-performance14compatibility: Designed for Claude Code15metadata:16 source: https://skillmd.com/skills/jeremylongshore/providing-performance-optimization-advice-217---1819# Performance Optimization Advisor2021Deliver prioritized performance optimization recommendations across frontend, backend, and infrastructure layers with impact estimates and phased implementation roadmaps.2223## Overview2425This 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.2627## How It Works28291. **Analyze Project**: Claude uses the plugin to analyze the project's codebase, infrastructure configuration, and architecture.302. **Identify Optimization Areas**: The plugin identifies potential optimization areas in the frontend, backend, and infrastructure.313. **Prioritize Recommendations**: The plugin prioritizes recommendations based on estimated performance gains and implementation effort.324. **Generate Report**: Claude presents a comprehensive report with actionable advice, performance gain estimates, and a phased implementation roadmap.3334## When to Use This Skill3536This skill activates when you need to:3738- Identify performance bottlenecks in a software application.39- Get recommendations for improving website loading speed.40- Optimize database query performance.41- Improve API response times.42- Reduce infrastructure costs.4344## Examples4546### Example 1: Optimizing a Slow Website4748User request: "My website is loading very slowly. Can you help me optimize its performance?"4950The skill will:51521. Analyze the website's frontend code, backend APIs, and infrastructure configuration.532. Identify issues such as unoptimized images, inefficient database queries, and lack of CDN usage.543. Generate a report with prioritized recommendations, including image optimization, database query optimization, and CDN implementation.5556### Example 2: Improving API Response Time5758User request: "The API response time is too slow. What can I do to improve it?"5960The skill will:61621. Analyze the API code, database queries, and caching strategies.632. Identify issues such as inefficient database queries, lack of caching, and slow processing logic.643. Generate a report with prioritized recommendations, including database query optimization, caching implementation, and asynchronous processing.6566## Best Practices6768- **Specificity**: Provide specific details about the project and its performance issues to get more accurate and relevant recommendations.69- **Context**: Explain the context of the performance problem, such as the expected user load or the specific use case.70- **Iteration**: Review the recommendations and provide feedback to refine the optimization strategy.7172## Integration7374This 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.7576## Prerequisites7778- Access to application codebase in ${CLAUDE_SKILL_DIR}/79- Infrastructure configuration files80- Performance profiling tools81- Current performance metrics and baselines8283## Instructions84851. Analyze frontend code for rendering and asset optimization862. Review backend code for query and processing efficiency873. Examine infrastructure for scaling and resource usage884. Identify high-impact optimization opportunities895. Prioritize recommendations by effort vs impact906. Generate phased implementation roadmap9192## Output9394- Comprehensive optimization report by layer (frontend/backend/infra)95- Prioritized recommendations with impact estimates96- Code examples for suggested improvements97- Performance gain projections98- Implementation effort estimates and timeline99100## Error Handling101102If optimization analysis fails:103104- Verify codebase access permissions105- Check profiling tool installation106- Validate configuration file formats107- Ensure sufficient analysis resources108- Review project structure completeness109110## Resources111112- Web performance optimization guides113- Database query optimization best practices114- Infrastructure scaling patterns115- Caching strategies and CDN usage