一键导入
docs-review
Review PR changes for missing or outdated documentation, comments, and doc site content.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review PR changes for missing or outdated documentation, comments, and doc site content.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Audit the codebase for code quality, DRY violations, modularity, LaTeX/asm parity, doc freshness, and doc structure.
Write or update a PR title and description for the current branch, matching the style of recent PRs.
Create a placeholder PR from the current branch to warm CI caches.
基于 SOC 职业分类
| name | docs-review |
| description | Review PR changes for missing or outdated documentation, comments, and doc site content. |
| disable-model-invocation | true |
| user-invocable | true |
docs-reviewReview all changes in the current PR for documentation gaps, outdated content, and stale comments.
Get the full diff and changed files against main:
git diff main..HEAD --name-only
git diff main..HEAD
For each changed source file, check:
.s files consistent
with the current instruction behavior?For each changed source file, check whether the
docs/ site needs updates:
<Include> region tags in docs should match
region names in source files.For each changed docs file, check whether the content is consistent with the current source:
[text][ref] or [text] with a
[text]: url at the bottom of the file).
Reference definitions must be placed at the end
of the file, not inline near their first usage.
Inline links ([text](url)) are only acceptable
for same-page anchors (e.g. [label](#anchor)).<Include> and <Algorithm> component
attributes should resolve correctly.Verify that sector layout diagrams in
docs/src/program/sectors.md are consistent with
their data structures. For each node type (Order,
Seat, StackNode), compare the fields shown in the
ASCII diagram against the fields in the corresponding
struct definition (in interface/src/order/mod.rs,
interface/src/seat/mod.rs,
interface/src/stack/mod.rs). Flag any field that
is missing from the diagram, present in the diagram
but not the struct, or in the wrong order.
Verify that all directory trees in the docs are current. For each tree, list the actual files on disk and compare against the rendered tree. Flag any missing, extra, or renamed entries.
Known directory trees:
docs/src/program/layout.md —
program/src/dropset/ assembly filesdocs/src/program/algorithm-index.md —
docs/algorithms/ .tex specsdocs/src/development/ci.md —
.github/workflows/ and cfg/ filesdocs/src/development/build-scaffolding.md —
interface/src/ Rust cratedocs/src/development/tests.md —
tests/ test suiteIf a tree has been added, moved, or removed in this PR, update this list in the skill file.
Check that CLAUDE.md is current with docs/:
CLAUDE.md should still exist.CLAUDE.md.CLAUDE.md should not
contradict what the docs describe.Do NOT make any changes. Instead, compile all findings into a checklist using the TodoWrite tool. Each item should include:
If nothing needed fixing, confirm the docs are in sync. Otherwise, present the checklist and wait for the user to decide what to work on.