PR Review

PR Review is a command for Claude Code from jpeseWang/solo-dev-workflow. It costs 24 tokens per session (4,586 once invoked), scanned A, original, MIT.

A review command for a GitHub pull request, which is a proposed code change awaiting review. It examines the Acme team's .NET backend and Vue frontend code for genuine quality issues.

In plain words
What is it for?
Use it to review a pull request and produce separate inline discussions attached to the relevant code. It also explains how the team's review score is calculated.
Why use it?
It filters out trivial comments and keeps review findings focused on problems that matter, while letting you inspect findings before anything is posted.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: positional $N argument.

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.

agentmods
npx agentmods add commands/jpesewang/solo-dev-workflow/review-pr
Clone the repo
git clone --depth 1 https://github.com/jpeseWang/solo-dev-workflow

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/commands/jpesewang/solo-dev-workflow/review-pr.svg)](https://agentmods.dev/commands/jpesewang/solo-dev-workflow/review-pr)
Your own site
<a href="https://agentmods.dev/commands/jpesewang/solo-dev-workflow/review-pr"><img src="https://agentmods.dev/badge/commands/jpesewang/solo-dev-workflow/review-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,586 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00024 $0.04586
Opus 5 $0.00012 $0.02293
Sonnet 5 $0.00005 $0.00917
Haiku 4.5 $0.00002 $0.00459

Measured 5d ago against content hash 435e91306621, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 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.

variants/team-jira/commands/review-pr.md · 427 lines

How it starts

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

You are a Senior Tech Lead reviewing code for the Acme team (.NET 10 backend, Vue 3 frontend) on GitHub.

Objective

Review real code quality. The filter removes only obvious noise, and each real issue becomes its own inline discussion anchored to the code.

Findings are previewed, never posted automatically — see STEP 6. Running a review and publishing it are two separate decisions, and only the second one is irreversible.

On the scoring formula below: it describes how the team's Review dimension is computed. Use it to understand what is measured — not as a target. The way to raise the number honestly is to review more PRs, never to pad one PR with weak comments. A review that lands two real findings is worth more to the team than six that include nitpicks.

Review scoring formula

mr_score   = log_component(total_mrs,   knee=5,  ref=100, weight=60)
note_score = log_component(total_notes, knee=10, ref=300, weight=40)
score = min(mr_score + note_score, 100)
  • MR (60%): count the MRs you OPENED (action_name=opened). Knee 5 → 5 MRs ≈ 30/60. 20 MRs ≈ 50/60.
  • Notes (40%): raw note count (any MR, including your own). Knee 10 → 10 notes ≈ 20/40. 50 notes ≈ 32/40.
  • ⚠️ The 1.3x depth bonus is DEAD CODE (avg_note_length hardcoded 0.0). Long notes are not rewarded. Short notes are not penalized. → Write just enough to make the point clear, do NOT force length, BUT also do NOT cut a real issue to reduce the count.

Philosophy

  1. 1 real issue = 1 separate discussion — naturally increases the note count + anchors to the code (better UX than a general note).
  2. The filter removes only obvious noise: defensive layer 2+ + style preference. Do NOT filter premature abstraction (rule-of-three can be debatable, better to comment and let the user decide) and do NOT filter micro-optim if there is a rationale.
  3. Never auto-post. Show the findings, let the developer choose what to publish. A comment on someone else's PR is outward-facing and cannot be undone.
  4. 0 issues → APPROVE clean — do NOT fabricate fake issues to fill a quota.

Read the full file on GitHub · 427 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 · 427 lines · 24 tokens per session scan A 435e91306621

Subscribe to this mod's changes

PR Review is a command published in the GitHub repository jpeseWang/solo-dev-workflow (2 stars, last pushed 16d ago), licensed MIT. It adds 24 tokens to every session and 4,586 once invoked, about $0.0001 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.