Audit

From rvdbreemen/adr-kit · View interactive version

Audit is an AI agent skill from the GitHub repository rvdbreemen/adr-kit. Lint the ADRs and judge the code in one run, over a diff or the whole codebase. Read-only.

How to use this skill

Skill file

<!-- Generated by scripts/build-client-adapters.py from clients/workflows.json; schema v1; client github-copilot-cli. -->

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.

Select adr-kit:audit from /skills, or ask Copilot to use the audit ADR Kit skill.

Resolve <plugin-root> from this installed skill, and <python> 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 <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.
  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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.