一键导入
docs
Verify documentation (README, runbooks, module docs) aligns with the actual codebase and fix any drift
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Verify documentation (README, runbooks, module docs) aligns with the actual codebase and fix any drift
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create a GitHub issue from a summary description. Drafts the title and body, shows a preview, and asks for confirmation before publishing.
Thorough peer code review of a PR or branch — correctness, bugs, logic errors, edge cases, code quality, simplicity, naming, test coverage. Takes a PR number or base branch argument. Pulls PR metadata via gh if available.
Autonomous Quint formal specification workflow — generate specs (new or from codebase), typecheck, create witnesses, run invariants, and verify. Like plan mode but for formal specs.
Merge a branch into the current branch — detect conflicts, summarize them, and resolve them automatically where possible. Asks the user when unsure which changes to keep.
Write a commit message following the project template and save it to commit.msg
Generate a PR summary from all commits since the branch diverged from a given parent branch, written to pr-summary.msg
| name | docs |
| description | Verify documentation (README, runbooks, module docs) aligns with the actual codebase and fix any drift |
| allowed-tools | Bash, Read, Grep, Glob |
Verify that documentation matches the current state of the codebase. Find and fix drift between docs and reality.
Arguments: $ARGUMENTS
Find all documentation in the project:
find . -maxdepth 4 -type f \( -name "README*" -o -name "*.md" -o -name "CLAUDE.md" \) | grep -v node_modules | grep -v vendor | grep -v .git
Also check for:
docs/ directoriesREADME.md files (often auto-generated)docs/, doc/, adr/)If $ARGUMENTS specifies a file or path, scope the check to only that documentation.
Before checking docs, build an understanding of the current state:
CLAUDE.md if it existsls, key config files)package.json, Cargo.toml, go.mod, *.tf, Makefile, docker-compose.*, etc.)make help, script directories, CI config)git log --oneline -20For each documentation file, read it fully and cross-reference every claim against the codebase. Check for:
Setup & installation instructions:
Configuration:
API / CLI usage:
Architecture & design:
Infrastructure docs (if applicable):
variables.tf / outputs.tfClassify each issue:
For each finding, update the documentation to match the code. Follow these principles:
variables.tf and outputs.tfAfter making fixes, report what was found and changed:
## Documentation Alignment Report
### Fixed
- [STALE] README.md: removed reference to `make deploy` (replaced by CI pipeline in v2)
- [WRONG] docs/api.md: updated auth header from `X-Api-Key` to `Authorization: Bearer`
- [MISSING] README.md: added `REDIS_URL` to environment variables section
### Flagged (needs human input)
- docs/architecture.md references "notification-service" — not found in codebase, may be in a separate repo
### Summary
X issues fixed, Y flagged for review
Tell the user what was found and fixed. If any items were flagged for human input, highlight those.