بنقرة واحدة
check-docs
Scan docs and CLAUDE.md for stale references, broken links, and drift against the codebase
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scan docs and CLAUDE.md for stale references, broken links, and drift against the codebase
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Resume work on current branch's task (infers task from branch name)
Run an epic end-to-end with agent team (analyze, design review, implement, deliver PR)
Start working on a beads task (creates worktree, updates status)
Compare macOS and Windows implementations for cross-platform parity drift
| name | check-docs |
| description | Scan docs and CLAUDE.md for stale references, broken links, and drift against the codebase |
| user_invocable | true |
You are auditing the repository's documentation for drift against the current codebase. Cross-platform apps with rapid architectural changes accumulate stale references quickly, and those drifted docs mislead future contributors (and Claude).
Scan for references to removed architecture. Use Grep across *.md, .github/, and .claude/:
\b[Rr]ust\b, UniFFI, pablo-core, cargo, \.toml\b, Cargo\.tomltranscribe_session_1on1, preprocess_pcm, CaptureRecordingResult — these were Rust/UniFFI symbolscore/ directory references (Rust was removed in commit 5f05c87)Scan for references to removed files. For each doc in docs/ and root .md files, extract backtick-quoted file paths and verify each one exists on disk (ignoring external repos like pablo-health/pablo).
Check CLAUDE.md claims against reality:
PABLO-D-* issue ID mentioned, confirm it exists in .beads/issues.jsonlCheck SECURITY.md for platform drift:
/core doesn't exist → flagwindows/ directory, etc.) → flagCheck .github/dependabot.yml: every directory: must correspond to a real directory in the repo.
Check AGENTS.md and skill docs for references to non-existent slash commands or agents.
## Doc Freshness Audit
### Critical (references to removed code)
- **path/to/doc.md:NN** — mentions `foo`; last seen in commit `abc123`, removed in `def456`
- ...
### Broken internal links
- **path/to/doc.md:NN** — references `relative/path/to/missing.md`
- ...
### Drift against code
- **CLAUDE.md:NN** — claims "X" but code says "Y" (`path/to/file.ext:NN`)
- ...
### Likely-stale docs (no fix proposed, just flagging)
- docs/foo.md — last touched 2025-XX; references removed subsystem
- ...
### Clean
- All docs free of stale refs: list them here
/check-docs
Takes no arguments. Runs against the whole repo.