Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Documentation Review

Purpose: Conduct a comprehensive review of project documentation for accuracy, completeness, and maintainability. Ensure docs remain human-readable and actionable.

Recommended Frequency: Monthly or before major releases

Mindset: Documentation review embodies /pb-preamble thinking (surface gaps, challenge assumptions) and /pb-design-rules thinking (especially Clarity: documentation should be obviously correct).

Find unclear sections, challenge stated assumptions, and surface gaps. Good documentation invites scrutiny and makes the system’s reasoning transparent.

Resource Hint: opus - documentation review requires nuanced judgment across accuracy, clarity, completeness, and audience fit


When to Use

  • Before major releases (verify docs match new features)
  • Monthly maintenance check
  • After significant code changes
  • When onboarding reveals confusion
  • When support tickets indicate doc gaps

Review Perspectives

Act as these roles simultaneously:

  1. Senior Engineer - Technical accuracy, API correctness
  2. Product Manager - User journey, feature coverage
  3. Technical Writer - Clarity, structure, readability
  4. Security Reviewer - Secrets exposure, compliance gaps
  5. New Engineer - Onboarding experience, setup clarity

Review Checklist

1. Quick Summary

For each document:

  • One or two lines describing intended purpose and audience
  • Does it serve that purpose? If not, mark for rewrite or removal

2. Accuracy Check

  • Facts, architecture diagrams, API signatures are correct
  • Environment variables and configuration are current
  • Commands are copy-paste ready and validated
  • Links are not broken
  • Code examples match current codebase

3. Conciseness and Focus

  • No repetitive, irrelevant, or verbose sections
  • No unnecessary background or history
  • Each section has clear purpose
  • Examples are minimal but complete

4. Actionability

  • Instructions are copy-paste ready
  • All steps are explicit (no assumed knowledge)
  • Missing context is identified and added
  • Next steps are clear

5. Completeness

For critical areas, ensure docs include:

  • Quickstart - Works for a new contributor
  • Architecture overview - Responsibilities and data flows
  • API reference - Matches current code
  • Runbooks - Common failures and recovery steps
  • Security notes - Secrets, scopes, approvals
  • Onboarding checklist - For new engineers
  • Changelog - Recent major changes

6. Ownership and Maintenance

  • Owner/maintainer identified
  • Last updated date is present and recent
  • Review cadence is specified
  • Stale docs are flagged
  • No broken links
  • No outdated external references
  • No docs that duplicate each other unnecessarily

8. Readability and Tone

  • Plain human language
  • Sensible headings and clear bullets
  • Example usage provided
  • Active, pragmatic wording (not passive/robotic)

AI Content Detection

Flag sections matching these signals:

SignalExampleAction
Repetitive phrasingSame sentences across docsDeduplicate or rewrite
Generic placeholders<thing> used repeatedlyAdd concrete values
Shallow polishConfident but no actionable contentRewrite with specifics
Incorrect specificsWrong dates, versions, configsVerify and correct
Jargon without stepsTechnical terms, no examplesAdd concrete examples
Marketing tonePR-speak in technical docsRewrite for engineers

When flagging, suggest replacement text or mark for human rewrite.


Deliverables

1. Executive Summary

3-5 bullets of overall documentation health and top priorities.

2. Per-Document Findings

For each doc reviewed:

**File:** `README.md`
- **Purpose:** Quickstart + project overview
- **Audience:** New contributors
- **Issues:**
  - Outdated command on line 45
  - Verbose background section (lines 70-120)
- **Recommended fix:**
  - Update command to `docker compose up --build`
  - Move background to `docs/history.md`
- **Priority:** Short term
- **Owner:** @alice
- **Effort:** 1 hour

3. Prioritized Action List

PriorityFileIssueFixOwnerEffort
Immediatesecurity.mdMissing auth flowAdd diagram@bob2h
Short termREADME.mdStale commandsUpdate@alice1h
Long termapi.mdIncompleteExpandTBD4h
Removeold-setup.mdObsoleteDelete@alice15m

4. AI Content Flagged

Sections likely AI-generated, with suggested rewrites.

5. Metrics to Track

  • Number of docs changed
  • Average doc length
  • Number of broken links
  • Coverage of quickstart/runbooks
  • Number of flagged AI-like passages

Sample Output

## Executive Summary

- README is current but verbose in background section
- API docs are 3 months stale, missing new endpoints
- Runbooks exist but lack troubleshooting steps
- No broken links found
- 2 sections flagged as potentially AI-generated

## Per-Document Findings

### README.md
- Purpose: Quickstart + overview
- Issues: Lines 70-120 too verbose, command on line 45 outdated
- Fix: Update command, move background to separate doc
- Priority: Short term | Owner: @alice | Effort: 1 hour

### docs/api.md
- Purpose: API reference
- Issues: Missing /users/profile endpoint, wrong auth header
- Fix: Add endpoint, correct header example
- Priority: Immediate | Owner: @bob | Effort: 2 hours

  • /pb-review - Orchestrate comprehensive multi-perspective review
  • /pb-review-hygiene - Code quality and operational readiness
  • /pb-documentation - Documentation writing guidance
  • /pb-repo-readme - Generate comprehensive README
  • /pb-repo-docsite - Set up documentation site

Last Updated: 2026-01-21 Version: 2.0