review-pr

review-pr is a skill for Claude Code from jmlero/claude-toolkit. It costs 36 tokens per session (536 once invoked), scanned A, original, Apache-2.0.

A pull-request review procedure for checking proposed code changes against project standards. A pull request is a request to merge changes into a shared codebase.

In plain words
What is it for?
Use it to gather a pull request's details, diff, and comments, then check its implementation, security controls, error cases, tests, configuration, and commit practices.
Why use it?
It gives reviewers a repeatable checklist for code quality, security, tests, framework conventions, infrastructure, environment variables, and Git history.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the review-pr plugin — 1 skill shipped together

Good fit Use it to gather a pull request's details, diff, and comments, then check its implementation, security controls, error cases, tests, configuration, and commit practices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jmlero/claude-toolkit/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.

Any agent
npx skills add jmlero/claude-toolkit --skill review-pr
Clone the repo
git clone --depth 1 https://github.com/jmlero/claude-toolkit

Made for: Claude Code.

Or install review-pr, the plugin that ships this one along with the rest of its 1 skill.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jmlero/claude-toolkit/review-pr"><img src="https://agentmods.dev/badge/skills/jmlero/claude-toolkit/review-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 536 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.00036 $0.00536
Opus 5 $0.00018 $0.00268
Sonnet 5 $0.00007 $0.00107
Haiku 4.5 $0.00004 $0.00054

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

Security

Grade A, and why

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 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.

plugins/review-pr/skills/review-pr/SKILL.md · 87 lines

What it actually says

Review pull request: $ARGUMENTS

Steps

1. Gather PR Context

# Get PR details
gh pr view $ARGUMENTS

# Get the diff
gh pr diff $ARGUMENTS

# Get PR comments
gh api repos/{owner}/{repo}/pulls/$ARGUMENTS/comments

2. Review Checklist

Code Quality
  • Follows existing patterns in the codebase
  • No code duplication
  • Functions do one thing
  • Meaningful variable/function names
  • No magic numbers or strings
  • No commented-out code
Security (Critical)
  • No secrets or credentials in code
  • Auth required on mutating endpoints
  • Input validated at API boundary
  • No SQL injection risk
  • Error messages don't leak internals
  • No wildcard CORS with credentials
Testing
  • Tests exist for new/changed code
  • Tests cover happy path AND error cases
  • Mocks used for external dependencies
  • Tests are independent and isolated
Framework & Infrastructure

Apply checks relevant to the project's stack (skip what doesn't apply):

  • Follows framework conventions and idioms
  • Proper status codes and error responses
  • Types are explicit (no any, no untyped returns)
  • Infrastructure config not broken by the change
  • Environment variables documented
Git
  • Commits follow conventional format (feat:, fix:, etc.)
  • PR is focused (not mixing unrelated changes)
  • PR description explains the "why"

3. Output Format

## PR Review: #<number>

### Summary
Brief description of what the PR does.

### Verdict: APPROVE / REQUEST_CHANGES / COMMENT

### Findings

#### Must Fix (blocking)
1. [Category] Description - file:line

#### Should Fix (non-blocking)
1. [Category] Description - file:line

#### Nits (optional)
1. Description - file:line

### What's Good
- Positive observations about the PR

Be constructive. Explain WHY something should change, not just what.

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 · 87 lines · 36 tokens per session scan A 3a42b0ca35cc

Subscribe to this mod's changes

review-pr is a skill published in the GitHub repository jmlero/claude-toolkit (2 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 36 tokens to every session and 536 once invoked, about $0.0002 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-31.