pr-review
Review a pull request as the approver, checking its claims against the diff with independent refutation and reproduction.
Skill by Haruki1090
Chalk Labs
Need help deploying pr-review?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/haruki1090-pr-review
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/pr-review
What's inside
- Skill name
pr-review- Description
- Review a pull request as the approver, checking its claims against the diff with independent refutation and reproduction. Use when asked to "review this PR" or "is this safe to approve"; a bare GitHub PR URL is a review request unless context says otherwise.
- License
- MIT
- Instructions
- 344 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- SKILL.md
- bench-format.md · references/
- report-template.md · references/
- pr-drift.sh · scripts/
SKILL.md (first lines)
# PR review v1.1 ## The problem this playbook is for A large PR cannot be read top to bottom. Even when it can, you cannot weight what matters. And **the PR body is only a projection of what the author believes, and it goes stale before the diff does.** So this playbook is not built around an order for reading the diff. It is built around **leaving a record of what you decided not to look at.** ## Principles 1. **A finding you cannot refute is not a finding.** If you cannot name a concrete input or state → a wrong output or a loss, it does not become a finding. "Hard to read" and "this would be nicer" are outside this playbook. 2. **The body is a hypothesis. The diff is fact.** Never source a claim from the body. 3. **Split the role that finds from the role that confirms.** Tell the verifying role to *refute*, not to support. 4. **Precision over recall, by default.** A review carrying 40 nits stops being read. Raise the depth deliberately. 5. **Never wave through what you did not look at.** It is the gatekeeper's one real offence. 6. **The reviewer does not edit the code under review.** Fixing it is the author's job. ## What you do not call while this playbook is running Review is neither creative work nor implementation, so **do not call the following even when their trigger conditions appear to match**. Calling them turns the review into a different task. | Do not call | Why | |---|---| | `plumb:graph` | A large PR looks like its territory (dependencies, parallel work, several sources of truth, verification), but it is a **pre-work design** skill. It converts the review into a design task | | `/simplify` | "Clean this up" lands on it. It is quality-only and it applies fixes. Against principle 6 | | plumb's `playbooks/shaping-the-work.md` | A design conversation starts. Review is not creative work | | plumb's `playbooks/being-reviewed.md` | The **author's** playbook. Wearing both hats on one PR leaves a record of you judging your own diff. It is what the author reads after you return, not what you read | | `/code-review --fix` / `--comment` | `--fix` is against principle 6. `--comment` sends findings that never passed stage 5's verdict straight to the author, cut loose from the approval decision (returning is concentrated in the one place that is stage 6) | These, on the other hand, you **do pull in**. - **principle-gate-claims-on-evidence** — it feeds directly into the CONFIRMED verdict in stage 5 - plumb's `playbooks/worktree-setup.md` — isolation for stage 3's reproduction tests - plumb's `playbooks/fan-out.md` — stage 3's parallel execution ## Steps ### 0. Pin the revision Start here when all you were handed is a PR URL. 1. Split the URL into `owner/repo` and the PR number 2. Clone the repo if it is not local; otherwise `git fetch origin pull/<n>/head:pr<n>` 3. Detect drift and branch protection ```bash plumb-pr-drift <owner/repo> <PR number> ``` - Record the SHA under review. **Everything below is done against that SHA.** - Read the protection warnings it prints. If `dismiss_stale_reviews_on_push` is false, a push after your approval turns the approval into a blank cheque. Decide whether to approve with that fact included. - On a long-lived PR you are reviewing for the second time or later, re-run everything below against the diff from the SHA you read last time. **Run stage 0 again immediately before you build what you return.** (a failure taken in real use) The PR moves while you review it. Measured: 13 commits landed during a two-hour review, and: - **5 of 9 findings had their anchor line shift** (GitHub draws the draft against the current diff, so an inline comment tied to an old SHA points at a different line) - 3 findings were spent because **the document they targeted was deleted outright** - 1 **changed shape when a fix landed** - and those 13 commits had brought in **2 new BLOCK candidates** Pinned at the start is not enough. **Take it again just before you submit, and if it moved, review the difference before you return.** **If the PR keeps moving, tell the author that fact itself.** Chasing a moving target keeps the review permanently out of date. Treat it as a structural problem with the PR, the same as size or body drift. - **Dump the diff to a file** (stage 1 uses it): `git diff <base>...<head> > <scratch>/pr<n>.diff` **Reading the tree, in every stage below.** Three or more greps over the same tree become one sweep script; its output goes to a file, and what comes back is the pointer plus the deciding lines (`playbooks/batching-chatty-tools.md`). Measured on 2026-09-03: two reviews of the same PR at the same depth cost 37 and 62 requests, every one a shell call, with the bytes returned flat (138KB and 141KB) - the request count was the whole difference. ### 1. Bidirectional inventory Build **two independent** sets of claims. **(a) From the body** — pull out of the PR body and the commit messages only the claims whose truth can be decided. Do not verify them here. **(b) From the diff** — hand the `plumb:pr-diff-reader` agent **only the diff file you dumped in stage 0**. It is an explorer-shaped role: when `plumb-config role.explorer.model` resolves, pass that as its `model`; unset, it inherits the main session's. That agent holds nothing but `Read` / `Grep` / `Glob`, so **it cannot fetch the body**. Tool permissions enforce this, not a polite instruction. The six bundled agents live in `agents/`: `pr-diff-reader`, `pr-invariant`, `pr-cutover`, `pr-repro`, `pr-refuter`, `pr-blindspot`. Launch each by its plugin-qualified name (`plumb:pr-refuter` and so on). An installed plugin does not register the bare name, and it can resolve to an unrelated personal agent. Then **take the set difference.** | Gap | What it means | Severity | |---|---|---| | In the body, not in the diff | Unimplemented, or claimed and then taken back. It misleads the approver | Medium | | **In the diff, not in the body** | **An undeclared change** | **Always high** | `plumb-pr-drift`'s "commits after the body was last edited" is a mechanical lower bound on the second one. Zero does not clear you (the body can have been incomplete from the start), but non-zero means something is there for certain. ### 2. Weighting, and the cut Sort every claim by ⟨irreversibility⟩ × ⟨money or data lost⟩ and draw the line at your time budget. **Write out, right there, the list of what fell below the line.** Stage 6 returns it. The quality of a review is decided less by what you looked at than by what you decided not to look at. Irreversibility, high to low: production DB migration / a charge or invoice becoming final / state changed
From Haruki1090/plumb, MIT.
More from Haruki1090/plumb
- 0.570score
plumb
Haruki1090
Route complex engineering work to plumb playbooks and principles.
SkillAFreshness: AClaude Code +9 - 0.570score
graph
Haruki1090
Design dependencies, shared resources, and verification for complex multi-step engineering work; use when an execution graph or parallel plan is needed.
SkillAFreshness: AClaude Code +9 - 0.570score
lead
Haruki1090
Coordinates a queue of pull requests or issues end to end.
SkillAFreshness: AClaude Code +9 - 0.567score
setup
Haruki1090
Codex only: not for Claude Code.
SkillAFreshness: AClaude Code +9 - 0.565score
doctor
Haruki1090
Check plumb installation and routing health.
SkillAFreshness: AClaude Code +9 - 0.561score
interrogate
Haruki1090
Add a different model family to the refutation stage of a PR review when that independent perspective is requested or warranted.
SkillAFreshness: AClaude Code +9 - 0.559score
decision-brief
Haruki1090
Compare meaningful alternatives when a user decision changes what will be built, using concrete evidence and clear tradeoffs.
SkillAFreshness: AClaude Code +9 - 0.556score
plumb-codex
Haruki1090
Codex only: not for Claude Code.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 28, 2026 (1 month ago)
- Last release
- Oct 2, 2026 (28 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Haruki1090/plumb
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Haruki1090
- 0.570score
plumb
Haruki1090
Route complex engineering work to plumb playbooks and principles.
SkillAFreshness: AClaude Code +9 - 0.570score
graph
Haruki1090
Design dependencies, shared resources, and verification for complex multi-step engineering work; use when an execution graph or parallel plan is needed.
SkillAFreshness: AClaude Code +9 - 0.570score
lead
Haruki1090
Coordinates a queue of pull requests or issues end to end.
SkillAFreshness: AClaude Code +9 - 0.567score
setup
Haruki1090
Codex only: not for Claude Code.
SkillAFreshness: AClaude Code +9 - 0.565score
doctor
Haruki1090
Check plumb installation and routing health.
SkillAFreshness: AClaude Code +9 - 0.561score
interrogate
Haruki1090
Add a different model family to the refutation stage of a PR review when that independent perspective is requested or warranted.
SkillAFreshness: AClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get pr-review running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
pr-review skill. Agent Mart. https://agentmart.dev/skills/haruki1090-pr-review (last updated 2026-10-24)