--- name: audit description: Lint the ADRs and judge the code in one run, over a diff or the whole codebase. Read-only. license: MIT --- # Audit ADRs and code Reply in the language the user writes in; default to English. Keep command output, identifiers, paths, and ADR file content unchanged. Invoke explicitly with `$adr-kit:audit` when needed. Resolve `` from this installed skill, and `` to the first of `python3`, `python` or, on Windows, `py -3` that runs Python 3.10 or newer. Use only bundled, local ADR Kit tools and follow this canonical workflow: 1. Run ` /bin/adr-audit --whole-codebase --adr-dir docs/adr --repo-root .`, or `--diff -` with a piped unified diff for the hook and pull-request case. 2. Read the exit code before the output: 0 clean, 1 the code violates an Accepted ADR, 3 the ADR set fails its own gates, 4 both, 2 the audit could not run. 3. Report the two failures separately and name their owners; never collapse a code violation and an ADR-quality failure into one verdict, and never present exit 2 as a pass. 4. Add `--llm` only with explicit user confirmation, because it spends money per opted-in ADR. Do not contact another model or mutate user-owned instructions.