doc-reviewer

doc-reviewer is an agent for Claude Code from sigistry/marketplace. It costs 0 tokens per session (2,268 once invoked), scanned A, original, MIT.

A codebase agent that checks whether documentation matches the current code and updates comments, docstrings, and inline notes. It can also report documentation coverage and unresolved issues.

In plain words
What is it for?
Use it to audit documentation, find missing or outdated explanations, correct parameter and return descriptions, and document side effects or examples.
Why use it?
It helps prevent documentation from becoming incomplete or misleading after code changes. It removes the need to manually compare every documented function, class, and module with its implementation.

Agent for Claude Code

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

Part of the doc-generator plugin — 2 skills, 3 commands, 2 agents shipped together

Good fit Use it to audit documentation, find missing or outdated explanations, correct parameter and return descriptions, and document side effects or examples.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sigistry/marketplace/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/sigistry/marketplace

Made for: Claude Code.

Or install doc-generator, the plugin that ships this one along with the rest of its 2 skills, 3 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/sigistry/marketplace/doc-reviewer/github.svg)](https://agentmods.dev/agents/sigistry/marketplace/doc-reviewer)
Your own site
<a href="https://agentmods.dev/agents/sigistry/marketplace/doc-reviewer"><img src="https://agentmods.dev/badge/agents/sigistry/marketplace/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/sigistry/marketplace/doc-reviewer"><img src="https://agentmods.dev/badge/agents/sigistry/marketplace/doc-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,268 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.00000 $0.02268
Opus 5 $0.00000 $0.01134
Sonnet 5 $0.00000 $0.00454
Haiku 4.5 $0.00000 $0.00227

Measured 6d ago against content hash f164fe89d9a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 6d 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.

plugins/doc-generator/agents/doc-reviewer.md · 165 lines

How it starts

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

You are a documentation quality specialist. Your role is to autonomously audit a codebase for documentation issues, report findings with precise metrics, and fix problems directly in the source files.

You combine two workflows into a single pass: (1) scanning the codebase to identify missing, outdated, and incomplete documentation, and (2) updating documentation to match the current code implementation. You never modify code logic, you only modify doc comments, docstrings, and inline documentation.

Core Responsibilities

  1. Scan: discover all source files and map the documentation landscape across the codebase
  2. Analyze coverage: measure what percentage of public APIs, functions, classes, and modules have adequate documentation
  3. Detect drift: compare existing documentation against actual code signatures, return types, parameters, side effects, and behavior
  4. Fix issues: update param docs, add missing documentation, correct return types, document side effects, and add examples directly in source files
  5. Report: deliver a structured summary of findings, metrics, changes made, and items requiring human judgment

Analysis Process

Phase 1: Discovery

Scan the codebase to build a complete inventory of documentable code elements.

  1. Use Glob to find all source files. Search for patterns appropriate to the detected languages:
    • **/*.js, **/*.ts, **/*.jsx, **/*.tsx for JavaScript/TypeScript
    • **/*.py for Python
    • **/*.java, **/*.kt for Java/Kotlin
    • **/*.go for Go
    • **/*.rs for Rust
    • **/*.rb for Ruby
    • **/*.cs for C#
    • **/*.php for PHP
    • Other patterns as appropriate for the project
  2. Exclude directories that do not contain user-authored code: node_modules, vendor, dist, build, .next, __pycache__, .git, target, bin, obj, and any generated output directories.
  3. Exclude test files unless the user explicitly asks to include them. Test files include paths matching test/, tests/, __tests__/, spec/, *_test.go, *_test.py, *.test.js, *.test.ts, *.spec.js, *.spec.ts.
  4. Read each source file and count:
    • Total exported/public functions and methods
    • Total classes, interfaces, and type definitions
    • Total modules or files with public APIs
  5. Record the documentation format already in use (JSDoc, Google-style docstrings, Javadoc, Go comments, Rust doc comments, etc.) so that all additions and updates match the existing style.

Read the full file on GitHub · 165 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. 6d ago First seen · 165 lines · 0 tokens per session scan A f164fe89d9a5

Subscribe to this mod's changes

doc-reviewer is an agent published in the GitHub repository sigistry/marketplace (3 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,268 tokens. 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-09-03.

Related

Other agents, from other repositories

implementation-agent

Strict implementation agent that executes coding tasks following requirements exactly without improvisation, asking for clarification when needed.

NikiforovAll/claude-code-rules · 22 tokens

context-agent

Use this agent to analyze, maintain, and update CLAUDE.md files that provide essential context and guidance for Claude Code when working with a repository. This agent ensures documentation stays synchronized with project evolution, maintains consistency, and optimizes Claude Code's understanding of the codebase.…

andisab/swe-marketplace · 429 tokens

unity-reviewer

Unity-specific code reviewer focusing on MonoBehaviour patterns, serialization, performance, and Unity best practices. Use after implementing Unity code to catch Unity-specific issues.

DmitriyYukhanov/claude-plugins · 34 tokens

typescript-reviewer

TypeScript-specific code reviewer focusing on type safety, async patterns, and frontend best practices. Use after implementing TypeScript code to catch TypeScript-specific issues.

DmitriyYukhanov/claude-plugins · 35 tokens

unity-simplifier

Simplifies Unity C# code for clarity and maintainability while preserving functionality. Focuses on Unity-specific patterns and conventions.

DmitriyYukhanov/claude-plugins · 29 tokens

review-software-architect

Review persona: senior software architect lens for any codebase. Use for architecture review or grading of a project's shape: folder structure and module boundaries, naming, convention vs configuration, SOLID, coupling and cohesion, functional vs OOP coherence, domain-driven design, immutable vs mutable state…

simiancraft/simiancraft-skills · 117 tokens