optimize
Installation
SKILL.md
optimize
A performance pass on freshly written or modified hot-path code.
This skill never tells you how to run a profiling step twice. Every
repeatable step is a script in scripts/perf/. The skill picks the
script, runs it, reads the data, applies engine-specific fixes, and
re-runs the same script to confirm the win. Engine knowledge that
doesn't fit in a script lives in reference/ files this skill points
at — instrumentation recipes, the curated bottleneck catalog, partner
skills, big-win case studies.
If you find yourself writing prose instructions for the next agent on
how to run profiling, stop — extract a script in scripts/perf/ and
have the skill call it. See reference/script_first.md
for the principle and where the boundary sits.