pr-review

pr-review is a skill for Claude Code from poshan0126/dotclaude. It costs 35 tokens per session (1,754 once invoked), scanned A, original, MIT.

A code-review workflow that sends changes to specialist reviewers for code quality, security, performance, silent failures, test quality, and documentation, then combines their findings.

In plain words
What is it for?
Use it to review a pull request, staged code, or specific files; add verbose for a fuller report.
Why use it?
It provides several focused checks for a pull request, staged changes, or selected files instead of relying on one general review.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to review a pull request, staged code, or specific files; add verbose for a fuller report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/poshan0126/dotclaude/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 poshan0126/dotclaude --skill pr-review
Clone the repo
git clone --depth 1 https://github.com/poshan0126/dotclaude

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/poshan0126/dotclaude/pr-review"><img src="https://agentmods.dev/badge/skills/poshan0126/dotclaude/pr-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,754 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.00035 $0.01754
Opus 5 $0.00017 $0.00877
Sonnet 5 $0.00007 $0.00351
Haiku 4.5 $0.00003 $0.00175

Measured 9d ago against content hash 851b44527c3e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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 · 168 lines

How it starts

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

Review code changes by delegating to specialist agents in parallel and synthesizing a unified report. Works with PRs, staged changes, or specific files.

Verbosity

Check $ARGUMENTS for the word verbose. Strip it from the argument string before parsing the rest.

  • Default: terse output. Each finding is one line (file:line: issue (fix: hint)). Synthesis report stays compact.
  • verbose: full breakdown. Each finding gets the multi-field block (Severity, Confidence, etc.). Synthesis report uses the full template.

When dispatching reviewers in Step 3, include the word verbose in each Task call's prompt only if the user asked for it. Otherwise omit; the reviewers default to terse.

Step 1: Determine Scope

Parse $ARGUMENTS to determine what to review:

  • PR number (e.g., 123 or #123): fetch with gh pr view $ARGUMENTS. This is the full PR review path (includes PR quality checks in Step 2).
  • No argument: try gh pr view to detect a PR for the current branch. If a PR exists, use it. If not, fall back to git diff --cached (staged), then git diff (unstaged).
  • staged: review git diff --cached. If nothing staged, fall back to git diff.
  • File path: review that specific file's current state.

If there are no changes to review, say so and stop.

Step 2: PR Quality Check (PR path only)

Skip this step if reviewing staged changes or a file. Jump to Step 3.

When reviewing a PR, fetch and check:

  • PR title, description/body, author, base branch, head branch
  • gh pr diff $NUMBER for the full diff
  • gh pr checks $NUMBER for CI status
  • gh api repos/{owner}/{repo}/pulls/$NUMBER/comments for review comments

Review the PR itself before the code:

  • Title: descriptive and under 72 chars?
  • Description: explains the why? Includes a test plan? Flag if empty or template-only.
  • Size: count changed files and lines. Flag if >500 lines changed (suggest splitting).
  • Base branch: targeting the right branch?
  • CI status: passing, failing, or pending? If failing, note which checks. Fix CI first.
  • Unresolved comments: list open review threads with file:line and comment text.

Read the full file on GitHub · 168 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. 9d ago First seen · 168 lines · 35 tokens per session scan A 851b44527c3e

Subscribe to this mod's changes

pr-review is a skill published in the GitHub repository poshan0126/dotclaude (860 stars, last pushed 12d ago), licensed MIT. It adds 35 tokens to every session and 1,754 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-30.