Command Palette

Search for a command to run...

Back to skills
skill № 06434

Audit

Audit codebase for factual drift across docs, config, code, and architecture; read-only report (`--docs-only`, `--code-only`, `--config-only`, `--arch-only`…

FreeNo executable scripts
melodic-softwareby melodic-software★ 34 GitHub stars

Install Audit in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Audit

Variables

Arguments: $ARGUMENTS

Argument Parsing

Parse $ARGUMENTS for:

  • Scope (optional): directory or file path to limit the audit (default: entire repo)
  • Target forms (optional): --repo, --repos-from, --owner, --fleet, --skip, or the same request in words, run the audit once per repository. See Several repositories. With none, the audit covers this repository only.
  • --fix: after reporting, hand the findings off to the remediation skills (/implementation:implement (if enabled) then /verification:confirm (if enabled)) rather than fixing inline. See Remediation. Per the naming doctrine's verb contract, bare audit is read-only. It reports at Phase 3 and stops; remediation intent sits behind this explicit override. (--review-only is also accepted and means the bare read-only default.)
  • --medium <value>: governs only the offer of a rendered view (Rendered view).
  • Dimension filters (optional, mutually exclusive):
    • --docs-only: only documentation checks
    • --code-only: only code-quality checks
    • --config-only: only configuration checks
    • --arch-only: only architecture checks

If no filter is specified, audit every active dimension, the Phase 1 per-file fan-out makes dimension order irrelevant (each file gets its own subagent). Enumerate primary-sources across all active dimensions and dispatch per file.


Adapting to your environment (graceful degrade)

The audit itself (Phases 0–3) is self-contained. Phase 2 names an adjacent capability, documentation-research tools (MCP docs servers, library-docs lookers-up, web search). Having one is optional; using one when your setup provides it is not, per Phase 2's external-research step. With no such tool, follow the inline graceful-degrade guidance, which confidence-tags the externally-unverifiable part needs-review rather than guessing.


Boundary, the adjacent drift skills

This skill verifies factual claims in a repo's docs, config, code, and architecture notes against the repo's actual state. Seven adjacent skills each own a different kind of drift, and this skill owns none of them.

This table is a router for the operator, not a dispatch list for this skill. Bare audit is read-only, and some of these skills mutate: /discipline:recheck-against-upstream (if enabled) says to "Correct each forward now: fix gaps toward upstream", and others carry a fix mode. Invoking one from inside a read-only run would let this skill edit the repo through a sibling, which its own verb contract forbids. So a request that belongs to another skill is reported as uncovered, and that skill is named as the next thing the operator can run rather than invoked here. Name the skill whether or not its plugin is installed, and never assert that an absent one is available. --fix authorizes remediation of this skill's own findings only; it does not extend to running a sibling's.

Each row states its own invocation form, since one row is an agent and the rest are skills.

The drift is about Owner
Whether a page deserves to exist: derivable from the code it describes, aspirational, or redundant. Also doc freshness scoped to a change under review the review plugin's doc-drift-detector agent, so invoke it with the Agent tool as @review:doc-drift-detector, or run /review:fanout run-everything (if enabled). Name that mode: fanout's default lifecycle-tiered mode never dispatches this agent, only run-everything does, so an unqualified /review:fanout (if enabled) can finish without ever reaching the owner. The dispatch rule is the question asked, not the scope swept: whether a page should exist is the agent's, it runs a derivability admission gate this skill has no equivalent of; whether a page's claims are true is always this skill's, repo-wide included. --docs-only is this skill's own exhaustive claim pass and never routes out
A session's own working assumptions: base-branch movement, a stale handoff, a referenced PR, issue, or branch whose state has since changed /session-flow:reanchor (if enabled)
Whether the surface in flight still matches the current official upstream docs /discipline:recheck-against-upstream (if enabled)
Prose restating an external source with no pointer, and verification stamps past their expiry window /attribution:audit (if enabled)
Claude Code's own configuration and instruction surfaces: settings.json, .mcp.json, hooks, permissions, environment variables, and the text of CLAUDE.md, AGENTS.md, and .claude/rules/ judged against current model capability or against how Claude Code actually behaves /harness-config:audit (if enabled), with /harness-config:audit-automation-gaps (if enabled) for automation-landscape gaps and `/harness-config:audit-instruc
Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

  • context/discovery-method.md
  • reference/audit-checklist.md
  • reference/category-playbook.md
  • templates/checklist.md

FAQ

What does the Audit skill do?

Audit codebase for factual drift across docs, config, code, and architecture; read-only report (`--docs-only`, `--code-only`, `--config-only`, `--arch-only`; `--fix` suggests remediation). Use when 'audit codebase', 'check for drift', 'verify docs'. Not for upstream drift: /discipline:recheck-against-upstream; harness: /harness-config:audit.

How do I install the Audit skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the Audit skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare Audit with