Deep consistency audit of the entire repository — launches 4 parallel specialist agents to find factual errors, code bugs, broken references, count mismatches, and cross-document inconsistencies, then fixes all issues and loops until clean. Make sure to use this skill whenever the user wants a comprehensive repository-wide check — not a targeted review of a single file. Triggers include: "audit", "deep audit", "find inconsistencies", "check everything", "run a full audit", "are there any broken
SkillScore73Maintained
Automatic
◆QA & Test Engineering pack
Last verified 8/8/2026
What it changes
Passed 13 of 18 test cases with the skill, and 12 of 18 without it.
Without skill68%
With skill73%
Checks it passed that the model alone missed
Sets the maximum iteration ceiling to 5 loops.
Copies the generated guide/workflow-guide.html file to docs/workflow-guide.html.
Specifies session directory paths matching ~/.claude/sessions/ rather than temporary system paths.
3 fixed13 passed either way4 still failing2 broke
Pass-rate lift
+5 pp
Tokens
+27%
Agent turns
0%
Response time
-52%
Model gemini-3.6-flashMeasured 8/8/2026v216 of 22 cases passed with skill · 18 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 3
Prompt
During a documentation edit, we made changes to guide/workflow-guide.qmd. What terminal command and target file copy step must be run to re-render and deploy the updated html documentation?
What was checked, without and with the skill
Checked
Without skill
With skill
Executes quarto render on guide/workflow-guide.qmd.
Passed
Passed
Copies the generated guide/workflow-guide.html file to docs/workflow-guide.html.
Missed
Passed
case-13 · gemini-3.6-flash · 8/8/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md128 linessingle file
/deep-audit — Repository Infrastructure Audit
Run a comprehensive consistency audit across the entire repository, fix all issues found, and loop until clean.
When to Use
After broad changes (new skills, rules, hooks, guide edits)
Before releases or major commits
When the user asks to "find inconsistencies", "audit", or "check everything"
Workflow
PHASE 1: Launch 4 Parallel Audit Agents
Launch these 4 agents simultaneously using Task with subagent_type=general-purpose:
Agent 1: Guide Content Accuracy
Focus: guide/workflow-guide.qmd
All numeric claims match reality (skill count, agent count, rule count, hook count)
All file paths mentioned actually exist on disk
All skill/agent/rule names match actual directory names
Code examples are syntactically correct
Cross-references and anchors resolve
No stale counts from previous versions
Agent 2: Hook Code Quality
Focus: .claude/hooks/*.py and .claude/hooks/*.sh
No remaining /tmp/ usage (should use ~/.claude/sessions/)
Hash length consistency ([:8] across all hooks)
Proper error handling (fail-open pattern: top-level try/except with sys.exit(0))
JSON input/output correctness (stdin for input, stdout/stderr for output)
Exit code correctness (0 for non-blocking, non-zero only when intentionally blocking)
from __future__ import annotations for Python 3.8+ compatibility
Correct field names from hook input schema (source not type for SessionStart)
PreCompact hooks print to stderr (stdout is ignored)
Agent 3: Skills and Rules Consistency
Focus: .claude/skills/*/SKILL.md and .claude/rules/*.md