---
title: "documentation-reviewer agent"
canonical: "https://mrbogomips.github.io/eng-skills/agents/documentation-reviewer/"
author: "MrBogomips"
published: "2026-11-29T00:00:00.000Z"
modified: "2026-11-29T00:00:00.000Z"
lang: "en"
license: "CC-BY-4.0"
code-license: "MIT"
---

The agent evaluates technical text as a senior technical writer reading someone else's work. It inspects the text and the code directly rather than relying on anyone's account of them, and it never edits files. It applies the checks from the [technical-writing](https://mrbogomips.github.io/eng-skills/skills/technical-writing/) skill.

## When to use it

Use it whenever documentation has been written, changed or rewritten. It covers doc comments, API descriptions, OpenAPI files and error messages; concept, quickstart, how-to and component pages; user manuals, release notes and implementation comments; and emails or status updates for external readers.

Give it the files, or a Git base to compare against, and leave out the writer's own assessment. The review works better when it starts from the text alone.

```text
use the documentation-reviewer agent on the files changed since main
```

Once [docs-impact](https://mrbogomips.github.io/eng-skills/skills/docs-impact/) has written its report, it offers this agent for a quick review of the affected pages.

## What it checks

The agent first runs the leak scan on the files under review, then checks for:

- **Leaks the scan cannot catch**: internal service, queue or table names, operations commands, code names, people's names, real customer data in examples, and TODOs or apologies in user-facing text.
- **The wrong audience**, as well as the opposite mistake: removing IDs from decision records, specs or implementation comments where contributors need them.
- **Incomplete contracts**: gaps in documenting what an element does, its inputs, outputs, errors, guarantees and what is provisional, checked against the code.
- **Invented or stale facts**, including documentation left behind by a behaviour change in the same diff.
- **Comments that recount history** instead of explaining the code as it stands.
- **Diagrams**: cases where a flow or lifecycle needs one, or where an existing diagram adds no value, exposes internals to users or lacks a text equivalent.
- **Structure and register**: whether the text follows the conventions for its content type and suits its readers and channel.
- **Fidelity**, when rewriting or translating existing text: any technical detail dropped or added without justification.

## What it produces

The agent returns findings ranked by severity: leaks first, then wrong, invented or lost facts, and finally gaps, structure and wording. Each finding gives the file and line, the category, a one-sentence description of the problem, its consequence for the reader and a fix concrete enough to apply. The response ends with what it checked and found sound, along with the scan and fidelity commands and their output. If there are no findings, it says so plainly.

## Limits

- It never edits files; it only reads, searches, runs the leak scan and, for rewrites, runs the fidelity check. Applying fixes is left to you or the [documentation-writer](https://mrbogomips.github.io/eng-skills/agents/documentation-writer/) agent.
- It reviews only the files you pass it, or those changed since the Git base plus any untracked files. It does not audit all of the documentation.
