src/autoskillit/skills_extended/audit-docs/SKILL.md
Audit documentation for drift, staleness, and inconsistency against the actual codebase. Use when user says "audit docs", "check documentation", "docs audit", or "documentation review". Spawns parallel subagents to explore codebase subsystems, then cross-references all documentation sources against findings.
npx skillsauth add talont-org/autoskillit audit-docsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Audit all documentation sources for drift, staleness, and inconsistency against actual codebase behavior.
NEVER:
run_in_background: true is prohibited)ALWAYS:
{{AUTOSKILLIT_TEMP}}/audit-docs/docs_audit_{YYYY-MM-DD_HHMMSS}.mdEnumerate and audit all of the following:
CLAUDE.md — project instructions, architecture tree, file path references, tool/skill counts, layer descriptionsdocs/architecture/**/*.md — component names, module paths, layer assignmentsdocs/requirements/**/*.md and docs/specs/**/*.md — API surface, behavioral contractsREADME.md files at any depth in the repositorysrc/description, summary, and note fields in .autoskillit/recipes/ and src/autoskillit/recipes/Flag findings in these categories (maps to REQ-SKILL-004):
Pre-flight: Verify {{AUTOSKILLIT_TEMP}}/audit-docs/ directory exists; create it if not.
Familiarization wave — spawn 6 parallel subagents, one per subsystem group. Each subagent reports: actual module/component names, exported symbols, behavioral summary (2–5 sentences per module). If any subagent fails, record the gap and continue.
| Agent | Subsystems | Focus |
|---|---|---|
| Agent 1 | core/, config/ | What these modules actually expose and do |
| Agent 2 | execution/, workspace/ | Runtime orchestration and workspace lifecycle |
| Agent 3 | recipe/, migration/ | Recipe schema, rules, validation, migration engine |
| Agent 4 | server/ | MCP tool surface, gating, lifespan, factory |
| Agent 5 | cli/, hooks/ | CLI commands, hook scripts, what each does |
| Agent 6 | skills/, skills_extended/ | Bundled skills, categories, tiers |
Doc inventory — enumerate all documentation sources (list files found under each source category above).
Cross-reference wave — spawn 4 parallel subagents, each checking one doc domain against the familiarization findings:
| Agent | Domain | What to check |
|---|---|---|
| Agent A | CLAUDE.md | Architecture tree accuracy, file path references, tool/skill counts, layer descriptions |
| Agent B | docs/architecture/** | Component names, module paths, layer assignments |
| Agent C | docs/requirements/** and docs/specs/** | API surface, behavioral contracts |
| Agent D | Recipe YAML descriptions + docstrings | Step descriptions, ingredient names, parameter docs |
Consolidate — merge findings from all 4 agents, deduplicate by file:line, assign severity.
Self-validation pass — for every CRITICAL or HIGH finding, re-read the cited file line to confirm the claim; downgrade or remove if not confirmed.
Write report to {{AUTOSKILLIT_TEMP}}/audit-docs/docs_audit_{YYYY-MM-DD_HHMMSS}.md (relative to the current working directory) using the format below.
Output summary — print finding counts by severity to terminal.
# Documentation Audit Report — {YYYY-MM-DD HH:MM}
## Summary
| Severity | Count |
|----------|-------|
| CRITICAL | N |
| HIGH | N |
| MEDIUM | N |
| LOW | N |
## Findings
### CRITICAL
#### [DOC-001] {Title}
- **File:** `path/to/doc.md:42`
- **Claim:** "..."
- **Actual:** "..."
- **Fix:** ...
...
## Coverage Gaps
{If any familiarization subagent failed, list affected subsystems here}
Do NOT flag:
tests/){{AUTOSKILLIT_TEMP}}/, uv.lock, *.pyc)CRITICAL:
HIGH:
MEDIUM:
LOW:
development
Generate YAML recipes for .autoskillit/recipes/. Use when user says "make script skill", "generate script", "script a workflow", "write a script", "create a script", "new recipe", "write a pipeline", or when loaded by other skills for script formatting.
data-ai
Create Uncertainty Representation visualization planning spec showing error bar definitions, distribution-aware alternatives, and multi-seed variance protocols. Statistical lens answering "How is uncertainty honestly represented?"
data-ai
Create Temporal Dynamics visualization planning spec showing axis scaling (linear vs log), smoothing disclosure, epoch/step alignment, run aggregation (mean + variance bands), early-stopping markers, and wall-clock vs step-count x-axis. Temporal lens answering "Are training dynamics shown clearly and honestly?"
data-ai
Create Narrative Story Arc visualization planning spec showing visual consistency across the report (same color = same model everywhere), logical figure progression, redundant figure detection, and narrative dependency between figures. Narrative lens answering "Do the figures tell a coherent story across the report?"