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
3description: 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.0
5allowed-tools: "Read, Write, Edit, Grep, Glob, Bash(profiling:*), Bash(analysis:*)"
6license: MIT
7author: Jeremy Longshore <jeremy@intentsolutions.io>
8compatible-with: claude-code, codex, openclaw
9metadata:
10 source: https://skillmd.com/skills/micsapp/providing-performance-optimization-advice
11---
12
13# Performance Optimization Advisor
14
15Deliver prioritized performance optimization recommendations across frontend, backend, and infrastructure layers with impact estimates and phased implementation roadmaps.
16
17## Overview
18
19This 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.
20
21## How It Works
22
231. **Analyze Project**: Claude uses the plugin to analyze the project's codebase, infrastructure configuration, and architecture.
242. **Identify Optimization Areas**: The plugin identifies potential optimization areas in the frontend, backend, and infrastructure.
253. **Prioritize Recommendations**: The plugin prioritizes recommendations based on estimated performance gains and implementation effort.
264. **Generate Report**: Claude presents a comprehensive report with actionable advice, performance gain estimates, and a phased implementation roadmap.
27
28## When to Use This Skill
29
30This skill activates when you need to:
31- Identify performance bottlenecks in a software application.
32- Get recommendations for improving website loading speed.
33- Optimize database query performance.
34- Improve API response times.
35- Reduce infrastructure costs.
36
37## Examples
38
39### Example 1: Optimizing a Slow Website
40
41User request: "My website is loading very slowly. Can you help me optimize its performance?"
42
43The skill will:
441. Analyze the website's frontend code, backend APIs, and infrastructure configuration.
452. Identify issues such as unoptimized images, inefficient database queries, and lack of CDN usage.
463. Generate a report with prioritized recommendations, including image optimization, database query optimization, and CDN implementation.
47
48### Example 2: Improving API Response Time
49
50User request: "The API response time is too slow. What can I do to improve it?"
51
52The skill will:
531. Analyze the API code, database queries, and caching strategies.
542. Identify issues such as inefficient database queries, lack of caching, and slow processing logic.
553. Generate a report with prioritized recommendations, including database query optimization, caching implementation, and asynchronous processing.
56
57## Best Practices
58
59- **Specificity**: Provide specific details about the project and its performance issues to get more accurate and relevant recommendations.
60- **Context**: Explain the context of the performance problem, such as the expected user load or the specific use case.
61- **Iteration**: Review the recommendations and provide feedback to refine the optimization strategy.
62
63## Integration
64
65This 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.
66
67## Prerequisites
68
69- Access to application codebase in ${CLAUDE_SKILL_DIR}/
70- Infrastructure configuration files
71- Performance profiling tools
72- Current performance metrics and baselines
73
74## Instructions
75
761. Analyze frontend code for rendering and asset optimization
772. Review backend code for query and processing efficiency
783. Examine infrastructure for scaling and resource usage
794. Identify high-impact optimization opportunities
805. Prioritize recommendations by effort vs impact
816. Generate phased implementation roadmap
82
83## Output
84
85- Comprehensive optimization report by layer (frontend/backend/infra)
86- Prioritized recommendations with impact estimates
87- Code examples for suggested improvements
88- Performance gain projections
89- Implementation effort estimates and timeline
90
91## Error Handling
92
93If optimization analysis fails:
94- Verify codebase access permissions
95- Check profiling tool installation
96- Validate configuration file formats
97- Ensure sufficient analysis resources
98- Review project structure completeness
99
100## Resources
101
102- Web performance optimization guides
103- Database query optimization best practices
104- Infrastructure scaling patterns
105- Caching strategies and CDN usage