performance-scan

Installation
SKILL.md

Activation Contract

Use this skill to scan a whole repo (global) or given paths/modules (targeted) for performance hotspots and prove each one by measurement. Not for correctness bugs (use bug-scan), technical debt (use tech-debt-scan), or security audits (use api-security-scan).

Hard Rules

  • NEVER modify production code and NEVER propose or apply fixes; benchmarks are throwaway (temp file, run, delete unless the user asks to keep them).
  • ALWAYS open with one option prompt before any work: mode, categories, and output format (chat | markdown); never infer any of them from the prompt.
  • Cite file:line, the input sizes, and the measured metric; no speculation, no "looks slow".
  • Run benchmarks locally only; never start services or hit real databases, networks, or production.
  • Previous reports are leads, never evidence: re-measure every inherited finding.
  • docs/performance-scan/{YYYY-MM-DD}.json is the only artifact: it is the report and the history. Never write a ledger or a rendered file.
  • Delegate reconnaissance to an exploration subagent when available; hypotheses and verdicts stay with you.
  • One write-capable subagent per finding, at most 4 concurrent; serialize time-based benchmarks.
  • ALWAYS state what was not reviewed.
  • ALWAYS run python3 assets/reconcile.py --report <report.json>, then python3 assets/validate_report.py --file <report.json>; fix every ERROR: until exit 0. Never overwrite an existing report.

Decision Gates

Installs
8
GitHub Stars
2
First Seen
Oct 25, 2026