A principal-engineer-grade repository audit, tuned for Claude's latest models running inside Claude Code.
It maps the repo, fans out parallel subagents (one per audit dimension, plus git-history mining for churn × complexity hotspots), adversarially verifies every Critical/High finding against the actual code before reporting it, runs the repo's own lint/type-check/test commands instead of guessing at health, and writes a single AUDIT.md containing:
- Executive Summary — health grade A–F, top 3 risks, top 3 opportunities
- Repo Map
- Severity-rated findings (file:line cited, facts separated from judgments)
- Improvement strategy — the 3–5 themes behind the findings, with measurable "done" signals