Review Docs Playbook
Read principles.md first, then apply this checklist.
1. Scope and classification
- Identify doc type and target audience.
- Confirm brownfield vs evergreen intent.
- Confirm expected outcome for the reader.
- Define the requested file, directory, or diff scope. Repository size alone does not turn a scoped review into a full-tree audit.
- For full-repo reviews, explicitly include both governance surfaces and product-doc surfaces (
docs/, README trees,.md/.mdx/.mdc,.rst/.rsc, framework docs configs).
2. Investigation behavior
- Proactively find issues and risks without waiting for repeated prompts.
- If there are signals of deeper problems, continue investigation beyond the first pass.
- Long-running and extensive investigations are acceptable when needed for confidence and correctness. An audit ends when requested coverage is complete and two discovery passes add nothing new. Output length does not end an audit.
- Keep routine scoped findings inline under Evidence and artifacts. An audit request alone does not require a ledger.
- When the requested scope needs sharding, use
references/large-docs-audit.md: shard, ledger, verify, then remediate. Preserve its journal, deduplication, and recovery requirements. - When available, use sub-agents for bounded parallel discovery (for example file-inventory, command validation, or cross-doc consistency checks), then merge to one final issue set. With user opt-in, run shards as a Claude Workflow per
references/workflows.md. - When no issues are found, state that explicitly and call out residual risks or validation gaps.
- Default to
apply-fixesfor high-confidence documentation defects unless the user explicitly requestsreport-only. - Do not stop at AGENTS/CONTRIBUTING checks when the task is documentation-wide; continue into docs-content and docs-framework surfaces.
3. Governance surface review
Use
references/agent-and-contributing.mdas the source of truth for inventory, canonical/alias mapping, and precedence/conflict handling. For AGENTS.md:confirm persona intent, scope, and command/tool boundaries are explicit.
check frontmatter style matches repo conventions when present.
ensure
Always,Ask first, andNeverboundaries are present when expected.require concrete command examples and repo-specific paths to avoid ambiguity.
For CONTRIBUTING.md:
- verify issue/PR workflow is complete and actionable.
- ensure local setup, lint/test commands, and review criteria are accurate.
- ensure governance does not conflict with nested AGENTS instructions.
- flag oversized files that should be split into linked section docs (for example tool-specific setup and release docs).
For agent-platform awareness:
- confirm references are minimal and scoped for Cursor/Claude glob behavior.
- confirm Codex-facing guidance uses explicit file references.
- confirm both surfaces represent the same shared policy core (commands, boundaries, and precedence), not divergent guidance.
- audit
.agents/.cursorcompatibility behavior:- verify canonical rule directory and symlink state match repo policy
- verify symlink target integrity and platform/tooling expectations
- verify AGENTS policy references remain canonical for Codex even when
.cursorcompatibility exists
- check for context bloat from duplicated policy statements across agent and contributor files.
- check for conflicting rules, skills and agent instructions
- check for conflicting information in agent instructions vs codebase
- check for broken or missing referenced files (for example README/index files named as canonical entry points).
- check for setup/command drift (for example non-existent install commands, root-level commands that should be module-scoped).
4. Product documentation surface review
- Verify docs IA coverage across root/module
README*files anddocs/**trees. - Review framework-native docs sources in scope (for example Fern, Mintlify, Sphinx, MkDocs) and ensure guidance matches actual source-of-truth files.
- Check
.md/.mdx/.mdc/.rst/.rscfor stale commands, missing prerequisites, and broken cross-links. - Confirm referenced doc paths and anchors exist.
- Flag docs that should be split/merged to improve discoverability and maintenance.
5. Framework config and path mapping checks
- Detect and read framework config first (for example Fern config, Sphinx
conf.py, Mintlify config, or equivalent). - Resolve path references relative to the declaring file/config.
- Treat filesystem paths and published URL routes as separate maps; verify both.
- Flag path-map drift explicitly (
missing file,stale route,wrong base path).
6. Structural review
- Funnel check: what/why, quickstart, next steps.
- Validate heading flow and navigation discoverability.
- Flag critical content trapped in images or buried sections.
- Check Diataxis alignment and split mixed-purpose sections.
7. Writing quality review (Simplified Technical English)
- Run
scripts/ste-lint.py --summaryover the scope first. Record the hard-violation rate per 100 words per file. Use--mode flavoredfor explanation pages and--max-words 20for procedures. - Apply the scan checklist in
references/simplified-technical-english.md: synonym rotation, hedge stacking, nominalization, marketing adjectives, run-on sentences, phrasal verbs. - Check for concise, scannable paragraphs (6 sentences or fewer, one topic each).
- Remove ambiguous pronouns and undefined terms. One term per concept per file.
- Verify examples are executable and scoped correctly.
- Verify tone is directive, technical, and non-hand-wavy.
- When rewriting, preserve every hedge and scope qualifier. Flag any sentence kept long on purpose with
Kept as-is:. - Note where prose is compliant but empty. STE fixes form, not substance.
7a. Reader-experience review (large or messy pages)
- Score each page against the rubric in
references/large-docs-audit.mdsection 5: purpose in first screen, funnel, Diataxis purity, task path, heading hierarchy, density, table monsters, code accuracy, trapped facts, cross-links, terminology, staleness, duplicates, nav position. - Treat pages over 20k characters as split candidates and follow the oversized page protocol.
- Report nav orphans and nav ghosts from the framework config.
8. Brownfield review mode
- Verify compatibility with existing docs IA and conventions.
- Verify anchors, redirects, and cross-doc links remain valid.
- Flag regressions in onboarding and task completion paths.
- Ensure changed terminology is intentionally propagated.
9. Evergreen review mode
- Flag date-stamped or brittle wording without version scope.
- Check ownership and refresh signals are present.
- Ensure recommendations remain valid after routine product evolution.
- Flag missing deprecation/migration guidance.
10. Tooling and platform review
Read tooling.md if platform fit is uncertain.
- Check whether content uses platform primitives effectively.
- Flag structure that fights the chosen docs platform.
- Recommend targeted platform-aware improvements.
11. Multilingual parity review (when applicable)
- Confirm declared source-of-truth language and expected parity policy.
- Compare changed sections across locales for step/order/warning drift.
- Flag missing updates to prerequisites, version notes, limits, and safety guidance.
- Allow intentional divergence only when rationale is explicit and user-impact is low.
- Require a reader-visible status note when locale parity is partial.
12. Output format
- Blocking issues (file + required fix)
- Non-blocking improvements
- Validation notes (done vs pending)
- Coverage (pages read / pages in scope) and STE lint summary when the scope is a tree
- Ledger path and status counts when a ledger was used