mcpField
S
start-pr-review

start-pr-review

github.com/koruworksTesting & quality012 installsUpdated 1d ago
Repository

About start-pr-review

Start a pull-request review is a skill for reviewing changes from the reviewer’s perspective. It grounds findings in the spec and project standards, records decisions on the PR, and leaves fixes to a separate workflow.

Key features

  1. 01Establishes the review scope
  2. 02Checks project principles and practices
  3. 03Surveys PR history and changes
  4. 04Reports cited findings by severity
  5. 05Records decisions in the PR
  6. 06Defers fixes to a separate skill

Use cases

  1. 01Reviewing a change against its spec
  2. 02Identifying scope creep or complexity
  3. 03Recording review decisions for authors

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/koruworks/skills --skill start-pr-review

After installing, type/start-pr-reviewin Claude Code to confirm it loaded.

Details

From the project README

Start a pull-request review

Someone else wrote this change, and the user is about to judge it with you. Your seat is the reviewer's: you find, cite and recommend; the user decides what blocks, and the author learns why. Everything you find and everything that changes during the session is recorded where the author will read it — the PR — so that end-pr-review can close the session with a summary written from the record, not from memory.

Before reading the diff

  1. Ask for the spec. A change is reviewed against what it was supposed to do. Ask which document it was written from — a PLAN.final.md, a TECHNICAL.final.md, an issue, a conversation — and read it. If there is none, say so: the review is then against the PR description alone, which makes "does it do what was asked" a weaker question, and the user should know that before the findings arrive.
  2. Read the project's stated principles and best practices — a PRINCIPLES.md (docs/PRINCIPLES.md is the usual place), AGENTS.md, CONTRIBUTING.md, the area docs for the code the PR touches — and docs/acceptances/ATTENTION.md, if the project has them. They are the review standard: every finding cites one of them, the spec, or the code.
  3. Survey the PR: its description, git log --oneline <main>..<branch>, git diff --stat <main>...<branch>, and whether the branch is behind the main integration branch. Commit messages should make the intent of each change clear; where they do not, that is itself a finding.

The review

Read the hunks that matter, then ask three questions of the whole and of each part:

  • Does it do what the spec says — no more, no less? Scope that crept in without a decision, and requirements that are missing, are both findings. A product decision the author took quietly is one for the user, not for the reviewer to wave through.
  • Is any of it unnecessary complexity? A parallel mechanism beside one that exists, a second copy of something, a generic bucket, an abstraction with one caller, configuration nobody asked for, a dependency where the code already had the capability. Simplicity over complexity is the rule; the burden is on the complexity to justify itself.
  • Does any of it smell? Long functions and large files that grew rather than split; duplicated state; mixed concerns; names that describe the mechanism rather than the intent; swallowed errors; dead code; and the classic bug sources merge-branch lists — timestamp comparisons, blocking I/O on a thread that answers a person, byte-based text handling, unlocalized strings. Tests proportionate to the change, or their absence.

Report findings first, ordered by severity, each with the file and line, the citation, and what you recommend. The user decides which block, which become follow-up work, and which are dismissed — one decision per question, in plain terms, your recommendation first. Never fix anything before that conversation: a reviewer who rewrites the change has stopped reviewing it.

Recording and changing

  • The record is the PR. Post each settled finding as a review comment on the line it concerns, with the decision, when you can (gh or the project's equivalent). When you cannot post from here, keep the same record in one message the user can post, and say so.
  • When the user asks you to fix a finding, do it with fix-bug, as its own commit on the PR branch with a message that says why, via commit-changes. Never rewrite or force-push over the author's commits, and do not push unless asked. The author must be able to read, commit by commit, what changed in their work and why.

Once the findings are settled

When every blocking finding is fixed or consciously accepted, start the acceptance test with start-acceptance: the PR's branch is the feature, and the spec is the scope. The review is not over until a person has tried the change; the session closes with end-pr-review.

Comments

Markdown supported