| 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
Select adr-kit:audit from /skills, or ask Copilot to use the audit ADR Kit skill.
Resolve <plugin-root> from this installed skill. Use only bundled,
local ADR Kit tools and follow this canonical workflow:
- Run
python <plugin-root>/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.
- 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.
- 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.
- 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.