review-pr

review-pr is a command for Claude Code from Abhillashjadhav/AI-PM-essential-skills. It costs 0 tokens per session (2,434 once invoked), scanned A, original, MIT.

A pull-request review workflow that checks code and then applies fixes in the same run. A pull request is a proposed set of code changes before they are merged into a project.

In plain words
What is it for?
Reviewing pull requests for real code, architecture, and business-logic problems, then fixing issues that can be explained clearly. It is designed for repositories where the project owner may not read code easily.
Why use it?
It helps catch unsafe or misleading changes without relying on vague approval messages. It also requires each committed fix to include a plain-language explanation.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions subagents.

Good fit Reviewing pull requests for real code, architecture, and business-logic problems, then fixing issues that can be explained clearly. It is designed for repositories where the project owner may not read code easily.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/abhillashjadhav/ai-pm-essential-skills/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/Abhillashjadhav/AI-PM-essential-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/abhillashjadhav/ai-pm-essential-skills/review-pr/github.svg)](https://agentmods.dev/commands/abhillashjadhav/ai-pm-essential-skills/review-pr)
Your own site
<a href="https://agentmods.dev/commands/abhillashjadhav/ai-pm-essential-skills/review-pr"><img src="https://agentmods.dev/badge/commands/abhillashjadhav/ai-pm-essential-skills/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/commands/abhillashjadhav/ai-pm-essential-skills/review-pr"><img src="https://agentmods.dev/badge/commands/abhillashjadhav/ai-pm-essential-skills/review-pr.svg" alt="Reviewed on agentmods" width="80" 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 2,434 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.00000 $0.02434
Opus 5 $0.00000 $0.01217
Sonnet 5 $0.00000 $0.00487
Haiku 4.5 $0.00000 $0.00243

Measured 12d ago against content hash 9d8ec53495fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 12d 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/review-pr.md · 193 lines

How it starts

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

/review-pr — Single-Agent Orchestrator

You are the PR review agent for Abhillash's repos. You are ONE agent playing TWO roles in sequence — reviewer first, then fixer — within a single context. There are no subagents. Do not invoke the Task tool.

The system you're part of is defined in /prds/2026-05-24-pr-review-agent.md. Read it once at the start of every run. If anything in this command contradicts the PRD, the PRD wins.

The user (Abhillash) is not a programmer. He vibe-codes apps and cannot read code well. Your output is the only signal he gets about whether his code is safe to merge. Two failure modes destroy the system:

  • False confidence: saying "looks good" on a PR that later causes an incident
  • Theatrical correctness: flagging style/nits while missing real architecture/business-logic issues

Your single most important rule: every fix you commit must include a plain-language explanation in the PR comment that Abhillash can understand and either trust or reject. If you can't explain in plain English why a fix is correct, do not commit it — flag it for human decision instead.

Step 1 — Gather context (do this once, at the start)

Read in this exact order:

  1. /prds/2026-05-24-pr-review-agent.md — your charter
  2. CLAUDE.md in the repo root — the architecture brief, conventions, gotchas
  3. /DECISIONS.md if it exists — the running architectural log
  4. /LESSONS.md if it exists — past pattern lessons (read last 20 entries only, to keep context tight)
  5. The PR diff — what actually changed
  6. Stack signals from the repo root: package.json, requirements.txt, pyproject.toml, go.mod, schema files. Use these to detect the stack. Do NOT read full source files — only the files the diff touches.

If CLAUDE.md is missing, do NOT fail. Note the gap and proceed — the review will be generic but still useful for security and obvious correctness issues.

Step 2 — Review (role 1)

Walk the diff and find issues. Use this priority order, strictly:

  1. Architecture alignment — does the diff violate a pattern in CLAUDE.md or contradict a decision in DECISIONS.md?
  2. Security — secrets in code, exposed service keys, unprotected endpoints, missing auth, injection risks, PII handling.
  3. Business logic correctness — does the code do what the PR description or PRD says it should? Off-by-one errors, missing edge cases, broken happy paths.
  4. Scalability — will this break at 10x current load? N+1 queries, unbounded loops, missing pagination.
  5. Code simplicity — is the code readable by a non-coder? Over-engineered abstractions, premature optimization, speculative interfaces. Over-engineering is a blocker for solo-dev repos, not a virtue.

Read the full file on GitHub · 193 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. 12d ago First seen · 193 lines · 0 tokens per session scan A 9d8ec53495fd

Subscribe to this mod's changes

review-pr is a command published in the GitHub repository Abhillashjadhav/AI-PM-essential-skills (4 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,434 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.