software-performance
Installation
SKILL.md
Performance Diagnosis
Use this skill to find out why something is slow and whether a fix really helped: symptom, profile, bottleneck, smallest proven fix, and re-measurement. It owns profiling, misdiagnosis checks, tail-latency and capacity math, and before/after regression judgment. It does not design load-test campaigns, CI performance gates, or Core Web Vitals budgets.
Quick Reference
| Task | Use |
|---|---|
| CPU hot path | Flamegraph-first profiling with the language's own profiler (references/perf-budgets-and-cwv.md) |
| Pauses, stalls, rising p99 | Lock-aware and off-CPU profiles before GC tuning (see Common Misdiagnoses) |
| "Did this change help?" | Same-conditions re-measure against the baseline noise band (Neutral Is a Revert) |
| Frontend regression from Lighthouse JSON | scripts/check_perf_budget.py (exit 1 on breach; 2 on invalid input or missing budgeted metrics; missing INP may use an explicit TBT lab budget) |