code-optimizer
Installation
SKILL.md
Code Optimizer
Making code fast is a measurement discipline, not a coding style. The first rule: you don't know where the time goes until you measure. The second rule: you're usually wrong about where you think it goes.
Step 0 — Do you actually need to optimize?
| Question | If no → stop |
|---|---|
| Is there a concrete, measured slowness? | "It feels slow" is not a measurement |
| Is the slow path on a hot path? | A 10s function called once at startup is fine |
| Is there a target? ("under 100ms p99") | Without a target, you don't know when to stop |