prose-review-pr

prose-review-pr is a command for Claude Code from ihudak/ihudak-claude-plugins. It costs 74 tokens per session (1,953 once invoked), scanned A, original, MIT.

A command that reviews the Markdown documentation changed by a pull request or branch against prose style rules. A pull request is a proposed code change for review; Markdown is a plain-text format often used for documentation.

In plain words
What is it for?
Use it to check documentation in a pull request or branch and produce a report with the affected file, line, and severity.
Why use it?
It finds writing and style violations in changed documentation before the changes are merged.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the prose-style plugin — 1 skill, 3 commands, 2 agents shipped together

Good fit Use it to check documentation in a pull request or branch and produce a report with the affected file, line, and severity.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ihudak/ihudak-claude-plugins/prose-review-pr
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/ihudak/ihudak-claude-plugins

Made for: Claude Code.

Or install prose-style, the plugin that ships this one along with the rest of its 1 skill, 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 prose-review-pr

README.md
[![agentmods](https://agentmods.dev/badge/commands/ihudak/ihudak-claude-plugins/prose-review-pr/github.svg)](https://agentmods.dev/commands/ihudak/ihudak-claude-plugins/prose-review-pr)
Your own site
<a href="https://agentmods.dev/commands/ihudak/ihudak-claude-plugins/prose-review-pr"><img src="https://agentmods.dev/badge/commands/ihudak/ihudak-claude-plugins/prose-review-pr/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 prose-review-pr

Your own site · 80×15
<a href="https://agentmods.dev/commands/ihudak/ihudak-claude-plugins/prose-review-pr"><img src="https://agentmods.dev/badge/commands/ihudak/ihudak-claude-plugins/prose-review-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 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,953 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.00074 $0.01953
Opus 5 $0.00037 $0.00977
Sonnet 5 $0.00015 $0.00391
Haiku 4.5 $0.00007 $0.00195

Measured 5d ago against content hash 144ccf6152cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

prose-review-pr 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 5d 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/prose-style/commands/prose-review-pr.md · 215 lines

How it starts

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

Review documentation changes from a pull request

Reviews the markdown files changed in a pull request against the active prose style rules — the plugin's vendor-neutral baseline, plus your organization's overlay when one is configured. Outputs a structured violation report.

Arguments

The command receives its input via $ARGUMENTS. Accepted formats:

Format Example Behaviour
PR number 9089 Finds merge commit or remote branch for that PR
Branch name feat/improve-install-guide Diffs the branch against main
--repo <path> --repo /workspace/product-docs Override the repo path (default: current working directory)
--doc-type <type> --doc-type product-docs Passed to prose-style-checker for severity calibration (default: product-docs)
--rules <path> --rules ~/style/rules Override overlay discovery; passed to prose-style-checker as rules_path

Arguments can be combined: 9089 --repo /workspace/product-docs.

If no arguments are provided, ask the user for a PR number or branch name.

Procedure

1. Parse arguments

Extract from $ARGUMENTS:

  • target: the PR number (all digits) or branch name (anything else that is not a flag).
  • repo_path: value after --repo, or the current working directory if absent.
  • doc_type: value after --doc-type, or product-docs if absent.
  • rules_path: value after --rules, or absent.

If no target is found, ask the user: "Please provide a PR number or source branch name."

2. Resolve changed files

Run every git command with git -C <repo_path>.

2a. If target is a PR number
# Look for the merge commit in ALL branches/tags
git -C <repo_path> log --all --oneline --grep="Pull request #<NUMBER>:" | head -5

Repositories that use GitHub's default merge subject line record it differently — if the search above finds nothing, retry with --grep="(#<NUMBER>)" before falling through to the branch search.

  • Merge commit found (PR is merged):
    • Extract the commit SHA.
    • Get the diff: git -C <repo_path> diff <SHA>^..<SHA> --name-only -- '*.md'
    • This gives the list of changed markdown files.

Read the full file on GitHub · 215 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. 5d ago First seen · 215 lines · 74 tokens per session scan A 144ccf6152cb

Subscribe to this mod's changes

prose-review-pr is a command published in the GitHub repository ihudak/ihudak-claude-plugins (2 stars, last pushed today), licensed MIT. It adds 74 tokens to every session and 1,953 once invoked, about $0.0004 per session on Opus 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-09-05.