What problem does it solve?
This Skill helps you identify algorithmic complexity problems and performance hotspots in a codebase, then turn them into safe, behavior-preserving improvements instead of risky rewrites.
Core Features & Use Cases
- Repository hotspot scanning: Detects likely nested loops, repeated membership checks, sorting inside loops, render-path recomputation, and possible N+1 query patterns across multiple languages.
- Conservative optimization workflow: Separates reporting from implementation, ranks findings by likely impact, and emphasizes preserving tests, APIs, ordering, and observable behavior.
- Practical engineering guidance: Supports code audits, performance reviews, large-repo scans, and targeted optimization work where you need clear complexity before/after reasoning and focused verification.
Quick Start
Ask the complexity-optimizer skill to scan your repository for algorithmic complexity hotspots and propose the safest high-impact fixes without changing behavior.