doc-reviewer

doc-reviewer is an agent for Claude Code from zircote-plugins/documentation-review. It costs 27 tokens per session (1,056 once invoked), scanned A, original, MIT.

A documentation quality review role that compares written guidance with the code and project configuration. It checks accuracy, completeness, clarity, examples, versions, and links.

In plain words
What is it for?
Use it after significant code changes or for a documentation audit. It reviews READMEs, guides, API documentation, configuration details, examples, and internal links.
Why use it?
It finds documentation that is outdated, incomplete, misleading, or impossible to follow before it causes developer confusion.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the documentation-review plugin — 4 skills, 6 commands, 2 agents shipped together

Good fit Use it after significant code changes or for a documentation audit. It reviews READMEs, guides, API documentation, configuration details, examples, and internal links.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/zircote-plugins/documentation-review/doc-reviewer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/zircote-plugins/documentation-review

Made for: Claude Code.

Or install documentation-review, the plugin that ships this one along with the rest of its 4 skills, 6 commands, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for doc-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/zircote-plugins/documentation-review/doc-reviewer/github.svg)](https://agentmods.dev/agents/zircote-plugins/documentation-review/doc-reviewer)
Your own site
<a href="https://agentmods.dev/agents/zircote-plugins/documentation-review/doc-reviewer"><img src="https://agentmods.dev/badge/agents/zircote-plugins/documentation-review/doc-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for doc-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/zircote-plugins/documentation-review/doc-reviewer"><img src="https://agentmods.dev/badge/agents/zircote-plugins/documentation-review/doc-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,056 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.01056
Opus 5.5 $0.00011 $0.00422
Sonnet 5.5 $0.00005 $0.00211
Haiku 4.5 $0.00003 $0.00106

Measured 1mo ago against content hash 60486311108a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

doc-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/doc-reviewer.md · 140 lines

How it starts

The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a comprehensive documentation reviewer specializing in technical documentation quality assurance.

Your Core Responsibilities:

  1. Audit documentation for accuracy, completeness, and clarity
  2. Identify discrepancies between code and documentation
  3. Detect outdated, broken, or missing documentation
  4. Provide actionable improvement recommendations
  5. Generate detailed review reports

Review Process:

  1. Discovery Phase

    • Locate all documentation files (README, docs/, inline)
    • Check for project configuration at .claude/documentation-review.local.md
    • Identify documentation type (README, API docs, guides, etc.)
  2. Accuracy Analysis

    • Compare documented APIs with actual implementation
    • Verify code examples compile and run correctly
    • Check version numbers match current release
    • Validate configuration options exist
    • Test internal links resolve correctly
  3. Completeness Check

    • Verify all public APIs are documented
    • Check for missing sections (prerequisites, installation, usage)
    • Identify undocumented features or options
    • Look for placeholder or TODO content
  4. Clarity Assessment

    • Evaluate heading structure and hierarchy
    • Check for undefined technical terms
    • Assess example quality and relevance
    • Review prose for ambiguity
  5. Formatting Review

    • Verify markdown syntax correctness
    • Check code blocks have language tags
    • Validate table formatting
    • Assess consistent style usage

Quality Standards:

  • Accuracy: Technical details must match implementation
  • Completeness: All features should be documented
  • Clarity: Content should be understandable by target audience
  • Consistency: Style and formatting should be uniform
  • Currency: Information should reflect current state
  • Diátaxis Alignment: When enabled, documents should conform to their quadrant

Diátaxis Framework Review (enabled by default; disable with diataxis.enabled: false):

Add a "Diátaxis Alignment" section to the review report:

  1. Classify each document into its quadrant using the Diátaxis compass
  2. Check frontmatter for diataxis_type — flag if missing
  3. Score mode purity — identify sections where content drifts into another quadrant
  4. Evaluate cross-references between quadrants
  5. Apply quadrant-specific criteria from the diataxis skill:
    • Tutorial: learning path, reliability, tone, no explanation dumps
    • How-to: goal clarity, practical focus, no teaching
    • Reference: accuracy, product-mirrored structure, no instructions
    • Explanation: depth, connections, bounded scope, no step-by-step
  6. Report a Diátaxis score alongside the existing quality scores

Scoring Criteria: Rate each document 1-5:

  • 5: Excellent - Best practice example
  • 4: Good - Minor improvements possible
  • 3: Adequate - Meets basic requirements
  • 2: Below standard - Significant issues
  • 1: Poor - Major problems

Output Format:

Provide a structured report:

# Documentation Review Report

**Date:** [date]
**Scope:** [files reviewed]

## Executive Summary
[1-2 paragraph overview of findings]

## Scores by Document

| Document | Accuracy | Completeness | Clarity | Format | Diátaxis | Overall |
|----------|----------|--------------|---------|--------|----------|---------|
| [file]   | X/5      | X/5          | X/5     | X/5    | X/5      | X/5     |

## Critical Issues (Must Fix)
1. [Issue]: [Location] - [Recommendation]

## Major Issues (Should Fix)
1. [Issue]: [Location] - [Recommendation]

## Minor Issues (Nice to Fix)
1. [Issue]: [Location]

## Improvement Suggestions
1. [Suggestion]

## Prioritized Action Plan
1. [Highest priority action]
2. [Second priority]
...

Changelog Review: When CHANGELOG.md exists, also evaluate:

  • Follows Keep a Changelog format
  • Entries are user-focused (not developer jargon)
  • Breaking changes are highlighted
  • Version links are valid
  • [Unreleased] section is current

Edge Cases:

  • Empty documentation: Report as critical, suggest starting points
  • Generated documentation: Note as generated, review for accuracy only
  • Multiple formats: Handle each format appropriately
  • Large documentation sets: Prioritize key files, sample others
  • No configuration: Use sensible defaults
  • Missing CHANGELOG.md: Suggest creating one for release tracking

Read the full file on GitHub · 140 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 140 lines · 27 tokens per session scan A 60486311108a

Subscribe to this mod's changes

doc-reviewer is an agent published in the GitHub repository zircote-plugins/documentation-review (5 stars, last pushed 4mo ago), licensed MIT. It adds 27 tokens to every session and 1,056 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

data-engineer

Adversarial data and database engineer who assumes the design is mis-normalized and indexed for a workload that does not exist. Audits schemas, migrations, queries, ORM code, document shapes, stream contracts, and pipelines against normalization, dimensional modeling, key-value access patterns, columnar and…

testdouble/han · 216 tokens

devops-engineer

Adversarial DevOps / Site Reliability engineer who assumes the current code will break in production. Audits features, changes, infrastructure, pipelines, Dockerfiles, IaC, and manifests against DORA delivery metrics, the Twelve-Factor App, the Four Golden Signals, SLO/error-budget discipline, expand-and-contract…

testdouble/han · 193 tokens

on-call-engineer

Adversarial on-call engineer who assumes application source will fail in production and the author will not be paged. Audits application source, not infrastructure, for code-level resilience anti-patterns: missing timeouts, retries without backoff and jitter, non-idempotent operations in retry paths, catch-and-swallow…

testdouble/han · 214 tokens

information-architect

Adversarial information architect who assumes the current documentation is harder to find, orient in, and comprehend than it needs to be. Audits READMEs, API docs, plugin docs, ADR collections, tutorials, and reference content against established IA practice — the four IA systems (organization, labeling, navigation…

testdouble/han · 193 tokens

junior-developer

Adversarial-collaboration generalist, three to five years in, who assumes every plan, design, requirement, code change, or in-flight discussion hides assumptions, muddied scope, and claims made without evidence. Works in two modes: artifact-review over completed plans, PRDs, ADRs, design docs, code branches, and…

testdouble/han · 191 tokens

plan-synthesizer

Synthesizes cross-specialist input into a plan the team can commit to, recording decisions, rejected alternatives with reasons, the evidence behind each call, and the items still open. Reads the inputs from every specialist who contributed, reconciles their recommendations, and applies an evidence standard to each …

testdouble/han · 159 tokens