code-optimizer
Installation
SKILL.md
Code Optimizer
Systematic performance optimization of code through profiling, algorithmic improvement, memory optimization, I/O efficiency, caching strategies, and concurrency patterns. This skill emphasizes measurement-driven optimization, targeting verified bottlenecks rather than applying premature optimizations.
When to Use This Skill
Use this skill for:
- Code that is demonstrably too slow for its performance requirements
- Functions or endpoints that have been identified as bottlenecks through profiling
- Reducing memory consumption to stay within resource limits
- Optimizing I/O-bound operations (database queries, file processing, network calls)
- Improving response times for user-facing operations
- Reducing cloud infrastructure costs through more efficient resource usage
- Preparing code for higher scale (10x or 100x current load)
- Batch processing jobs that take too long to complete
Trigger phrases: "optimize", "performance", "slow code", "speed up", "bottleneck", "reduce memory", "cache", "too slow", "optimize query", "improve performance", "latency", "throughput"