/c-audit
Source of truth: skills/c-audit/SKILL.md. For the why behind this stage, read the Audit deep dive.
Purpose
Section titled “Purpose”Independently checks that a plan was actually implemented (every checkbox backed by real code, no unjustified deferrals, the build green) and reports the result without changing anything.
When to use it
Section titled “When to use it”Use /c-audit to double-check an implemented plan: after /c-execute finished, before you deploy, or long after to catch regressions against current code. Don’t reach for it during an /c-execute pause on an audit failure. The report /c-execute already showed you is the same one (same agent), so re-running just wastes tokens.
Invocation forms
Section titled “Invocation forms”/c-audit <plan-path>: standalone audit. Report only; it never flips status. There is no “internal” mode./c-executeruns the same audit on its own.
Inputs & preconditions
Section titled “Inputs & preconditions”A plan folder with 00-overview.md, a linked design that exists at status: approved or later, and a base_sha: recorded on the plan’s overview (set by /c-execute on its first run). If base_sha is missing or the diff range can’t be computed, it aborts with a pointer to fix it rather than guessing.
What it produces
Section titled “What it produces”A citation-first report in chat: a plain-English summary, a verdict (PASS / BLOCKED / WARNINGS-ONLY), then blocking failures, warnings, what’s working, and a recommended next action. Standalone, it produces no file and changes no status.
Gates & guarantees
Section titled “Gates & guarantees”- Runs a roster of audits: checkbox completeness, out-of-scope justification, deferred-comment scan, code-behind-each-checkbox, design-intent alignment, and a build validator (which refuses to pass if no build command is configured).
- On failure it offers three paths via multiple-choice (fix, mark out of scope, or abort), with “fix” recommended in most cases.
- It never validates a deployed system (that’s
/c-validate), never reviews code quality (that’s/c-find-bugs), and never writes code, modifies the plan, or flips status when run standalone.
Related commands
Section titled “Related commands”- Previous:
/c-executeruns this same audit as its completion gate. - Next:
/c-validatevalidates the deployed system once you’ve shipped. - Deep dive: The Audit stage for what counts as drift between plan and implementation.