pr-review

pr-review is a skill for Claude Code from Mathews-Tom/armory. It costs 69 tokens per session (2,151 once invoked), scanned A, original, MIT.

A change-based pull-request review that examines code quality, tests, error handling, type design, and comments. A pull request is a proposed set of code changes submitted for review before it is merged.

In plain words
What is it for?
Reviewing a pull request, checking code changes, auditing a proposed change, and assessing whether tests, failure handling, types, and comments are adequate.
Why use it?
It finds problems and missing coverage in the changed code, then ranks findings by severity with file and line references. It is intended for a broad review rather than only a quick bug hunt.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions Claude Code.

Part of the armory plugin — 85 skills shipped together

Good fit Reviewing a pull request, checking code changes, auditing a proposed change, and assessing whether tests, failure handling, types, and comments are adequate.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mathews-tom/armory/pr-review
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.

Any agent
npx skills add Mathews-Tom/armory --skill pr-review
Clone the repo
git clone --depth 1 https://github.com/Mathews-Tom/armory

Made for: Claude Code.

Or install armory, the plugin that ships this one along with the rest of its 85 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/mathews-tom/armory/pr-review.svg)](https://agentmods.dev/skills/mathews-tom/armory/pr-review)
Your own site
<a href="https://agentmods.dev/skills/mathews-tom/armory/pr-review"><img src="https://agentmods.dev/badge/skills/mathews-tom/armory/pr-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,151 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00069 $0.02151
Opus 5 $0.00034 $0.01076
Sonnet 5 $0.00014 $0.00430
Haiku 4.5 $0.00007 $0.00215

Measured 8d ago against content hash 776a618c37d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

pr-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 8d 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.

skills/pr-review/SKILL.md · 198 lines

How it starts

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

PR Review

Diff-based code review across five dimensions. Reads the changed files, selects applicable review methodologies, and produces an aggregated report with severity-ranked findings.

Native alternative: Claude Code's /ultrareview runs a lightweight native bug-focused review (three free per month on Pro/Max plans at Opus 4.7's launch). Use this skill for five-dimension severity-ranked analysis (code quality + tests + error handling + types + comments) with file:line references; use /ultrareview for a quick bug-hunting pass on a diff.

Reference Files

File Contents Load When
references/code-review.md Guideline compliance, bug detection, confidence scoring Always
references/test-analysis.md Behavioral test coverage, criticality rating Test files changed
references/error-handling.md Silent failure patterns, catch block analysis Error handling changed
references/type-design.md Invariant analysis, 4-dimension rating rubric Type definitions added/modified
references/comment-quality.md Comment accuracy, long-term value, rot detection Comments/docstrings added

Workflow

Phase 1: Scope

  1. Determine the review target:
    • Default: git diff (unstaged changes)
    • If user specifies a PR: git diff main...HEAD or gh pr diff <number>
    • If user specifies files: review those files directly
  2. List all changed files with git diff --name-only
  3. Read the project's CLAUDE.md (if present) for project-specific rules

Phase 2: Route

Classify changed files and select applicable dimensions:

Condition Dimension Reference to Load
Always Code review references/code-review.md
Files matching *test*, *spec*, *_test.*, test_* Test analysis references/test-analysis.md
Files containing try/catch, except, .catch, Result, error callbacks Error handling references/error-handling.md
Files containing class, interface, type, struct, enum, dataclass definitions Type design references/type-design.md
Files with new/modified docstrings, JSDoc, or block comments Comment quality references/comment-quality.md

Read the full file on GitHub · 198 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 198 lines · 69 tokens per session scan A 776a618c37d1

Subscribe to this mod's changes

pr-review is a skill published in the GitHub repository Mathews-Tom/armory (316 stars, last pushed 2d ago), licensed MIT. It adds 69 tokens to every session and 2,151 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

mx-flow

Full development workflow orchestrator: brainstorm → plan → worktree → convergent TDD/review loop → verify → PR. One human gate (spec approval); all other gates auto-proceed. Use when starting a feature or significant change from scratch. Usage: /mx-flow ; /mx-flow status [name]; /mx-flow finish .

maxence2997/mx-harness · 75 tokens

mx-team-review

Deep code review of a local git diff or files against this user's own engineering standards (Go, C#), written to a report file that /mx-review-triage consumes. Use before commit/merge when you want the standards-based review, not a quick diff scan. Usage: /mx-team-review [diff-spec] | --repo.

maxence2997/mx-harness · 75 tokens

mx-pr

Draft a pull request from the feature spec and git log, run an autonomous commit-history cleanup (content check), then publish to GitHub or GitLab (Bitbucket experimental) — or hand off. Use when a feature branch is ready for PR, standalone or from mx-flow. Usage: /mx-pr [name].

maxence2997/mx-harness · 67 tokens

mx-brainstorm

Turn a rough idea into an approved design spec: clarifying questions in one batch, 2-3 distinct approaches with trade-offs, spec (and ADR when a real choice was made) written to /.mx/ / /. Hard gate: no implementation until the user approves the spec. Use when starting any feature or non-trivial fix.

maxence2997/mx-harness · 76 tokens

mx-review-triage

Triage review findings — from local mx-team-review reports or GitHub/GitLab PR comments — into fix / track / skip buckets by validity, severity (P0-P3), and cost, then execute approved decisions. Use after mx-team-review or when handling PR feedback before merge. Usage: /mx-review-triage [--source review | --source pr…

maxence2997/mx-harness · 86 tokens

mx-commit

Commit all pending changes as one commit per logical concern, following the project's message convention (type prefix, 50-char subject, English). Use when the working tree may hold several changes or the convention must be enforced; a single trivial change can use plain git commit. Usage: /mx-commit [--auto].

maxence2997/mx-harness · 67 tokens