一键导入
doc-sync
Audit all living documentation against the actual codebase and report inconsistencies.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audit all living documentation against the actual codebase and report inconsistencies.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Structured audit of the Parallax codebase. Run periodically or before major milestones.
Review branch diff for test weakening patterns in Parallax. Last line of defense before commit/merge.
Bootstrap a new Parallax dev session. Reviews recent handoffs, MEMORY.md, and current project state.
Scaffold a new experiment for Parallax development. Creates a structured manifest linked to a hypothesis.
Generate a structured handoff summary for Parallax development sessions.
Guides hypothesis-driven investigation for Parallax development. Invoke before starting any investigation, feature, or experiment.
| name | doc-sync |
| description | Audit all living documentation against the actual codebase and report inconsistencies. |
| disable-model-invocation | true |
Audit all markdown documentation against the actual codebase. Identify claims that have drifted from reality, then offer to fix them.
/audit flags doc staleness concernsCollect all markdown files (.md) in the repository, excluding:
.git/node_modules/__pycache__/.pixi/.venv/, venv/, .env/build/, dist/, *.egg-info/.parallax/vendor or third_partyPresent the list to the user and ask:
"I found N markdown files to audit. Are there additional directories or files you want me to exclude?"
Wait for the user's response. Apply any additional exclusions they specify.
Divide the documents into up to 5 batches for parallel analysis. Batching strategy:
Present the batching plan to the user but do not wait for approval -- proceed immediately.
For each batch, launch a subagent. Systematically check every claim in every document against the seven categories below. Read the actual codebase to verify each claim. Do not guess or rely on memory.
Scan for any path-like references: backtick-quoted paths, paths in prose, links to local files.
For each path found:
[text](path)), does the target exist?Identify ASCII tree diagrams (lines with indented entries, / suffixes, or tree-drawing characters).
For each tree:
... or explicitly notes omissions.)Identify documented CLI commands, flags, and usage examples.
For each command:
--help output.)Identify inline code blocks and code snippets that reference project code.
For each code example:
Identify claims about what exists, what is planned, and what is not yet implemented. Look for phrases like "currently supports", "planned", "coming soon", "next release", "TODO", "not yet implemented", roadmap checkboxes.
For each claim:
Identify claims about tooling, configuration, or conventions. Examples: "we use ruff for linting", "tests run with pytest", "formatted with black", "CI runs on GitHub Actions".
For each claim:
After all per-document batches complete, compare claims across documents:
Combine all batch findings into a single report, grouped by document:
## Doc Sync Report
**Documents audited:** [count]
**Total findings:** [count] (Critical: N, Warning: N, Info: N)
---
### [path/to/document.md]
#### [CRITICAL] Category A: Missing path `src/old_module/`
Line 42: References `src/old_module/handler.py` which does not exist.
**Suggested fix:** Update path to `src/new_module/handler.py` (which contains the Handler class).
#### [WARNING] Category E: Stale roadmap item
Line 78: "[ ] Add export feature" -- but `src/export.py` already implements this.
**Suggested fix:** Check the roadmap checkbox: `[x] Add export feature`.
#### [INFO] Category B: Incomplete tree diagram
Line 15: Tree diagram omits `src/utils/` directory (3 files). Diagram does not claim completeness.
**Suggested fix:** Add `utils/` to the tree, or add `...` to indicate the tree is partial.
---
### Cross-Document Issues
#### [WARNING] Category G: Inconsistent module count
README.md (line 5) says "4 core modules" but ARCHITECTURE.md (line 12) lists 5.
**Suggested fix:** Update README.md to reflect the actual count of 5 modules.
---
### Summary
| Severity | Count |
|----------|-------|
| CRITICAL | N |
| WARNING | N |
| INFO | N |
[1-2 sentence overall assessment of documentation health.]
After presenting the report, ask:
"Which findings should I fix? Options: all, critical only, specific items (list numbers), or none (report only)."
Wait for the user's response.
For the selected items: