alexzio00/claude-code-skills/full-audit

Claude Code and agent skill by alexzio00/claude-code-skills

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Exhaustive, denominator-driven audit of an entire area (codebase, docs, memory, skills, DB, config). Runs a 6-phase pipeline: scope agreement + prior-map diff -> deterministic sweep (counts/versions/paths/parsing plus cross-index reconciliation) -> parallel read-only content review (citations forced, rule dry-run) -> judgment (false-positive/UNCERTAIN triage) -> fix-vs-addition split, gated by execution mode (AUDIT_ONLY default = read-only, PROPOSE = list only, APPLY_APPROVED = apply approved items only) -> coverage-map recording. A bare 'audit'/'analyze' request defaults to AUDIT_ONLY and never auto-advances to file writes. NOT for single-file or single-question checks (use a regular code review instead) or harness-maturity scoring against a fixed checklist (use a dedicated scoring tool instead). Triggers: '/full-audit', 'audit everything', 'full audit', 'find every gap'.

Install

npx vskill@latest install alexzio00/claude-code-skills/full-audit

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as alexzio00/claude-code-skills/full-audit.

Full Audit — Exhaustive Area Review

Dominant Variable

Accuracy of the coverage claim — the word "exhaustive" ships with a method label or it doesn't ship at all. The moment an unreviewed area gets reported as reviewed, this skill has failed its own purpose.

Trigger

  • /full-audit [area] · "audit everything" · "exhaustive audit" · "full audit" · "double-check everything"
  • Default mode on any of the above: `AUDIT_ONLY`. These are analysis requests, not execution requests — see Execution Modes below. Advancing to PROPOSE or APPLY_APPROVED in the same invocation requires the user to say so explicitly (e.g. "audit everything and apply the fixes").

Discard If

  • Single file / single question needs checking → use a regular code review instead
  • The goal is a harness-maturity score against a fixed checklist → use a fixed-checklist scoring tool instead
  • The goal is a single docs-vs-code drift check → too narrow a scope for this (use doc-drift)
  • An identical-scope full audit finished within the last 7 days and nothing has changed → reduced mode, not a discard: keep using this skill, but only diff against the existing coverage map

Key Assumptions

  1. Target area is agreed in Phase 0 — if not, don't start without an area table.
  2. Deterministic sweeping (scripts/grep) is available for the target — if not, skip Phase 1 and never claim "exhaustive" from Phase 2 (LLM review) alone.
  3. A prior coverage map can shrink the scope via diff — if not, do a full re-scan.

Execution Modes: AUDIT_ONLY / PROPOSE / APPLY_APPROVED

This skill keeps analysis and execution in separate, explicitly-named modes. A trigger phrase like "audit everything" or "analyze this" selects a mode — it does not, by itself, authorize any file write.

ModeWhen activeWhat runsWritable scope
AUDIT_ONLY (default)Any bare audit/analysis trigger, with no separate execution requestPhase 0-3 (scope, deterministic sweep, content review, judgment) + Phase 5 (coverage map)None — audited files are read-only. No Edit/Write to any target file, protected or not. Only audit artifacts may be written (scratch scripts, canary staging, coverage map, recall ledger).
PROPOSEUser asks for fix proposals (after an AUDIT_ONLY pass, or up front)AUDIT_ONLY output + a listed fix/addition bucket (Phase 4 framing, nothing applied)None — still read-only, output is a proposal list
APPLY_APPROVEDUser explicitly approves specific items or the fix bucket as a whole ("apply these items", "apply the fix bucket")Applies only the items the user named as approvedLimited to the approved items. A protected path (see "Protected paths" under Safety Layers) is reachable only here, only for that one named item, and only by drafting the edit plus an apply script for the user to run themselves — the model has no path to lift a deny rule (the deny rule lives in the same settings file it protects).

One-way per pass: AUDIT_ONLY never auto-advances into PROPOSE or APPLY_APPROVED within the same invocation. Advancing needs a new, explicit user statement. This closes the gap where "audit everything" silently walked all the way to Phase 4 fix-bucket execution — including a protected file changing — without the user ever approving execution, not just analysis.

Delegated runs: in a run with no user present (a subagent, a scheduled task), approval for PROPOSE or APPLY_APPROVED counts only when the caller passes the user's own approving words verbatim. A paraphrase or "the user approved" is not approval: stay in AUDIT_ONLY and return NEEDS_INPUT listing the items that need approval.

Phase 0: Agree Scope + Diff Against Prior Map

  1. Declare the execution mode for this run in the first line of the response (e.g. "Mode: AUDIT_ONLY — read-only, no files will change"). Default AUDIT_ONLY unless the request explicitly names PROPOSE/APPLY_APPROVED or explicitly approves specific items up front.
  2. Declare the target areas as a table (e.g. codebase / docs / global skills / memory / DB / settings). For code and docs areas, build the file list as the union of git ls-files and git ls-files --others --exclude-standard - a tracked-only list drops uncommitted files, which are the ones most in need of review. (If the area is not a git repository, build the list with find and say so on the map.)
  3. If a prior coverage map exists, read it and queue its remaining gaps first. Default map location: <repo root>/.audit/coverage-map.md (for a non-git area: <area root>/.audit/coverage-map.md); use the project's own location if it already has one. If no map exists, say "no prior map" and do a full scan.
  4. Areas the user explicitly excludes go on the map as "intentionally excluded" — never silently dropped.

Phase 1: Deterministic Sweep

Whatever a machine can count, a script counts — never eyeball it:

  • Counts (test count, DB rows, file count) / version stamps (single source of truth in N places) / path and reference existence (dead links)
  • Parsing (YAML frontmatter, JSON settings) / stale-number greps (old numbers still lingering) / expiry (TTL, aging)
  • No inline throwaway scripts — write a script to a file, run it, then delete it (guards against quoting/escaping mistakes)
  • Reuse existing checkers first (test suites, project-specific validation scripts, linters)

Cross-index contract sweep (mandatory sub-step — this is the layer most exhaustive audits skip): The layer most easily missed in "exhaustive" audits is "does the index/routing doc match the real files?" — careful reading of individual files alone will never catch this. Sweep deterministically:

  • Index vs. reality reconciliation: names listed in an inventory/index file vs. the actual directory/file listing — check both directions (ghost entries with no backing file, and real files missing from the index)
  • Routing vs. reality reconciliation: names a routing table points to vs. whether those targets actually exist (dead routes to archived/renamed targets)
  • Declared-dependency sweep: for each unit's declared dependencies (other files/skills/agents it depends on), do all of them actually exist? (including malformed declarations, e.g. a flag where a name was expected)
  • Frontmatter parsing integrity: duplicate YAML keys in frontmatter (the later one silently wins — a safety profile could flip silently)
  • Rationale: in comparable audits, most of the gap came not from "reading more carefully" but from "did we actually sweep these specific things deterministically" — a model-independent, reproducible methodology improvement.

Coverage caps intervention value: before starting Phase 2 content review, count how many items this audit could actually affect (e.g., "N files this rule change would apply to"). That count caps the maximum value of the intervention before you've even seen the results — if only 3 items are in scope, no amount of review sophistication can produce more improvement than those 3 items allow. Computing this cap up front prevents over-investing deep-review time in low-cap areas, and gives a concrete basis for shifting review effort toward higher-cap areas instead.

Canary mixing (a control group for telling "clean" apart from "the reviewer missed it"): when reviewing a code area, stage one known-clean file and one file with a planted defect from this skill's bundled example pool (scripts/canaries/{clean,seeded}/) using python3 "${CLAUDE_SKILL_DIR}/scripts/canary_mix.py" select --pool both --n-clean 1 --n-seeded 1 --stage-dir <scratch>/<run>/bundle --out <scratch>/<run>/canary-manifest.json, then mix the staged files into one or two real review bundles. Don't tell the reviewer dispatch that a control exists or which file it is, and don't count canaries in the Phase 1 denominator. The bundled pool ships with only 2 clean / 2 seeded example files — build a project-owned pool with pairs representative of the actual codebase before treating a recall number as meaningful, keep it in the project (not in the install folder, so a skill update does not erase it), and select from it with --canaries-dir <your pool> (layout: <pool>/clean/ and <pool>/seeded/ with one .json sidecar per seeded file; see scripts/canaries/README.md). For a docs/rules area, add .md pairs to the pool (one clean, one seeded with a numeric contradiction inside the body) and pass --ext .md to the same command; the bundled pool has none, so without your own .md pairs the script exits with "no files with suffix .md". The leading dot in --ext is optional. Put the clean and the seeded doc into different review bundles - their bodies look alike, and seeing both together gives away that they are controls. If the pool has no file with the requested suffix, or Python is unavailable, skip the step and note "canary not applied (no pool for this area / no Python)" on the map. Scoring uses the same canary_score.py.

${CLAUDE_SKILL_DIR} is this skill's folder; Claude Code fills it in. In other agents, replace it with the path where you installed the skill. Use python instead of python3 where only that exists (common on Windows). If a script fails to start, record ⚠️ check unavailable: <script> on the map instead of skipping silently.

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
124
Repository forks
22
7-day trend score
24

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/alexzio00/claude-code-skills/full-audit/badge)](https://verified-skill.com/skills/alexzio00/claude-code-skills/full-audit)

Something wrong with this skill or its page? Tell us.