一键导入
docs-analyze
Analyze existing project documentation for accuracy, completeness, and staleness
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze existing project documentation for accuracy, completeness, and staleness
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | docs-analyze |
| description | Analyze existing project documentation for accuracy, completeness, and staleness |
| argument-hint | [component or path] |
Analyze existing project documentation and produce a detailed quality report. The user may provide an optional scope argument: $ARGUMENTS
Determine scope:
docs/api.md), analyze that file.api, auth), analyze docs/<name>.md.docs/.docs/ directory exists, inform the user and suggest running /docs-init first.Follow these steps:
Inventory existing documentation — list all files in docs/, their sizes, and last-modified dates (git log --oneline -1 -- <file> for each).
Read each documentation file in scope and understand what it claims to document — which modules, APIs, configurations, and behaviors it describes.
Read the actual source files that each doc references — systematically compare documented content against the real code. For every claim the doc makes, verify it against the source.
Check recent code changes — for each documented component, run git log --oneline -20 -- <relevant source paths> and compare against git log --oneline -1 -- <doc file> to identify code changes that happened after the doc was last updated.
Evaluate each doc file on these dimensions:
Identify undocumented components — scan the codebase for modules or subsystems that have no corresponding documentation file at all.
Produce an analysis report — print a clear summary:
Do NOT modify any files — this is a read-only analysis. Suggest running /docs-revise to apply fixes.
Generate a comprehensive install.md documentation file for an image dataset. Use when asked to document a dataset, create a dataset readme, or prepare dataset documentation.
Close out an implemented spec by reconciling the project docs with the shipped code (updating them via opus subagents if stale), then removing the resolved spec directory and its INDEX entry so code + up-to-date docs remain the source of truth.
Implement tasks from an approved spec, one at a time, with independent implementer and reviewer subagents per task. The main session acts as orchestrator only.
Bootstrap a new spec under `specs/<feature-name>/` by walking the user through requirements, design, (optional) research, and tasks in EARS/SDD format
Implement items from a TODO file, one at a time, with independent implementer and reviewer subagents per item. The main session acts as orchestrator only.
Scan the project and create initial TODO files organized by area