audit-docs
星标0
分支0
更新时间2026年3月21日 21:15
Validate documentation sync between CLAUDE.md, skills, agents, and disk
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Validate documentation sync between CLAUDE.md, skills, agents, and disk
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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 ===