optimize-performance
Installation
SKILL.md
Optimize Performance
Identify and fix performance bottlenecks in Rails applications.
Quick Reference
| Tool | Use |
|---|---|
bullet |
N+1 detection in development |
rack-mini-profiler |
Endpoint timing breakdown |
EXPLAIN ANALYZE |
Query plan analysis |
HARD-GATE
NEVER optimize without a baseline measurement
ALWAYS write a regression spec before optimizing (query count assertion)
ALWAYS verify with EXPLAIN ANALYZE for database changes