| name | optimize-performance |
| description | Triggered when user asks to optimize performance, improve speed, or identify bottlenecks. Automatically delegates to the performance-optimizer agent. |
| allowed-tools | Read, Grep, Glob, Bash |
| context | fork |
| agent | performance-optimizer |
Optimize Performance Skill
Trigger Phrases
This skill is automatically triggered when the user:
- Asks to "optimize performance" or "improve speed"
- Requests performance analysis or profiling
- Wants to "fix slow code" or "identify bottlenecks"
- Mentions "performance", "optimization", or "bottleneck"
- Asks about performance improvements
Delegation Instructions
When this skill is triggered:
- Delegate immediately to the
performance-optimizer agent
- Specify code or components to optimize
- Include performance requirements or targets
- Provide context about performance issues
- Include any profiling data if available
Context to Pass
- Code to Optimize: Files or components
- Performance Issues: Known performance problems
- Requirements: Performance targets or SLAs
- Metrics: Current performance metrics
- Bottlenecks: Suspected bottlenecks
- Profiling Data: Any profiling results
Agent Responsibilities
The performance-optimizer agent will:
- Analyze code for performance issues
- Identify bottlenecks
- Recommend optimizations
- Improve algorithm efficiency
- Optimize database queries
- Suggest caching strategies