audit-docs
Validate documentation sync between CLAUDE.md, skills, agents, and disk
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Validate documentation sync between CLAUDE.md, skills, agents, and disk
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Scaffold a REST API endpoint with hexagonal layers and integration tests
Scaffold a React component with Vitest tests (TDD-first)
Scaffold a new Shell extension with hexagonal layers and TDD
Add a sub-feature within an existing Shell extension
Scaffold a SQL migration with RLS policy, rollback plan, and test seed data
Scaffold a Tauri IPC command with full round-trip (Rust handler, TS types, React hook, tests)
| name | audit-docs |
| description | Validate documentation sync between CLAUDE.md, skills, agents, and disk |
| user_invocable | true |
Validate that documentation references in CLAUDE.md are consistent with what
exists on disk, and that generated AI configs are up to date.
.claude/skills/CLAUDE.md.md file in .claude/agents/ (if the directory exists)CLAUDE.md.claude/agents/ does not exist, SKIP this check.md file in .claude/rules/.claude/settings.json or
loaded by convention)pnpm ai:check (if the script exists in package.json)CLAUDE.mdsrc/features/=== DOCUMENTATION AUDIT ===
Sync Status
| Source | On Disk | Referenced | Missing | Stale |
|---------------------|---------|------------|---------|-------|
| Skills | 8 | 7 | 1 | 0 |
| Agents | 5 | 5 | 0 | 0 |
| Rules | 3 | 3 | 0 | 0 |
| AI Configs | — | — | 0 | 1 |
| Shell Extensions | 4 | 4 | 0 | 0 |
Findings
| Severity | Check | Item | Issue |
|----------|--------------------|-------------------------|-----------------------------|
| HIGH | Skills table | /audit-tokens | On disk but missing from CLAUDE.md |
| MEDIUM | AI configs | AGENTS.md | Stale — run pnpm ai:generate |
| MEDIUM | Shell extensions | Snapshots | In table but no src/features/snapshots/ |
=== RESULT: PASS/FAIL ===