documentation-review

documentation-review is a command for Claude Code from theshadow27/mcp-cli. It costs 0 tokens per session (867 once invoked), scanned A, original, MIT.

A command that checks project documentation against changes in one or more pull requests, which are proposed code changes submitted for review or merging.

In plain words
What is it for?
Use it to review files such as CLAUDE.md, README.md, and test instructions after code changes.
Why use it?
It helps catch documentation that describes removed features, old file paths, outdated commands, or missing new functionality.

Command for Claude Code

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.

agentmods
npx agentmods add commands/theshadow27/mcp-cli/documentation-review
Clone the repo
git clone --depth 1 https://github.com/theshadow27/mcp-cli

Made for: Claude Code.

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 documentation-review

README.md
[![agentmods](https://agentmods.dev/badge/commands/theshadow27/mcp-cli/documentation-review.svg)](https://agentmods.dev/commands/theshadow27/mcp-cli/documentation-review)
Your own site
<a href="https://agentmods.dev/commands/theshadow27/mcp-cli/documentation-review"><img src="https://agentmods.dev/badge/commands/theshadow27/mcp-cli/documentation-review.svg" alt="Measured on agentmods" 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 867 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00867
Opus 5 $0.00000 $0.00434
Sonnet 5 $0.00000 $0.00173
Haiku 4.5 $0.00000 $0.00087

Measured 4d ago against content hash c414d6de6cb8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

documentation-review 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 4d 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.

.claude/commands/documentation-review.md · 103 lines

How it starts

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

Documentation Review

Review project documentation for consistency with recent code changes. Docs are part of the product — if a feature was added but not documented, or an old pattern was removed but still referenced, that's a bug.

Input

One or more PR numbers (merged or open) to review against. Parse from: $ARGUMENTS

Example: /documentation-review 123 124 125 126

Workflow

1. Gather Context

For each PR number, fetch the diff and summary:

gh pr view <number> --json title,body,files

Build a list of what changed: new commands, renamed files, changed APIs, removed features, updated patterns.

2. Review Each Document

Check every document below against the changes. For each, ask: "Does this document accurately describe the project as it exists right now?"

Documents to review
Document Why it matters
CLAUDE.md The primary instruction set for every Claude session. Outdated paths, missing commands, or stale patterns here cause repeated mistakes across all sessions.
README.md First thing a new session (or human) reads. Installation, usage examples, and feature lists must reflect reality.
test/CLAUDE.md Test conventions guide. If new test patterns were established or old ones deprecated, this needs updating so future test writers follow current practice.
.claude/commands/*.md Slash commands reference specific file paths, CLI flags, and workflows. A renamed file or new flag can silently break a command's instructions.
.claude/skills/*/SKILL.md Skills orchestrate multi-step workflows. Changed tool names, new pipeline steps, or updated conventions need to flow through here.
CLI help text (in packages/command/src/commands/) The --help output users actually see. New flags, changed defaults, or removed options must be reflected in the help strings.
What good looks like
  • File paths in docs point to files that actually exist
  • Command examples use current flag names and syntax
  • Architecture descriptions match the actual package structure
  • Feature lists include recently added capabilities
  • Removed or renamed items are cleaned up, not left as stale references
  • Code examples compile and run correctly

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

Subscribe to this mod's changes

documentation-review is a command published in the GitHub repository theshadow27/mcp-cli (2 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 867 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-08-31.