Skip to content
Development
Skill

/pr-review

Team baseline for PR and code review — produces scope, blockers, nits, and strengths. Auto-triggers when you say review this PR, check this diff, review these changes, pre-review before I share, what do you think of this PR, or review the diff on this branch. Defers to any other

From plugin
jig
720 skills3 agents5 hooks
Install
$ npx -y skills add ramboz/jig --skill pr-review --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/pr-review

Context preview

The summary Claude sees to decide when to auto-load this skill.

Team baseline for PR and code review — produces scope, blockers, nits, and strengths. Auto-triggers when you say review this PR, check this diff, review these changes, pre-review before I share, what do you think of this PR, or review the diff on this branch. Defers to any other

SKILL.md

pr-review.SKILL.md
name: pr-review
description: >
  Team baseline for PR and code review — produces scope, blockers, nits,
  and strengths. Auto-triggers when you say review this PR, check this
  diff, review these changes, pre-review before I share, what do you
  think of this PR, or review the diff on this branch. Defers to any
  other installed skill whose description identifies it as handling PR
  review, code review, or diff review — if such a skill is present,
  prefer it over this one (jig's version is a slim baseline). Does not
  defer to the generic built-in `review` skill. Do not use for:
  spec-compliance review of a finished slice (use
  `/jig:independent-review` instead); standalone architecture-doc review
  (use `/jig:arch-review`, or a richer installed arch-review skill, instead); single-line typo fixes
  or trivial whitespace changes (just merge and move on).
user-invocable: true

> Spec 012 introduced this skill as jig's **team baseline** for PR and > code review. It is the first non-stub active jig skill that ships > without a `.py` helper — pr-review is fundamentally a judgment skill, > and the determinism it needs (`git diff`, file-type detection) Claude > can run inline. If any other skill is installed whose description > identifies it as handling PR review, code review, or diff review, the > Claude Code skill router prefers that one over jig's baseline — the > deferral is category-based, not name-specific, so a richer user skill > named anything (`pr-review`, `code-reviewer`, `team-pr`, etc.) wins. > Jig's slim version remains the auto-trigger when no such skill is > installed.

What this skill does

Produces a four-section markdown review of a pull request, a diff, or a branch's accumulated changes:

1. **Scope** — a one-paragraph summary of what the PR is (new feature, bug fix, refactor, dep bump, etc.) and what it touches. 2. **Blockers** — concrete must-fix items. Each blocker has a file path, a line number, and a one-sentence rationale. 3. **Nits** — nice-to-haves and small polish items. Same shape as blockers but lower urgency. 4. **Strengths** — what the change gets right. Keeps tone constructive and surfaces patterns worth repeating.

The review is **breadth over depth**: catch the obvious across any language/stack, leave the deep language-specific antipatterns to a richer user-installed PR/code-review skill (or to a code reviewer with full domain context). If you want multi-persona security/SRE/architecture lenses, jig doesn't ship those — install a heavier skill at the user scope and the router will prefer it.

When to use vs. when to defer

There are three things people often confuse with this skill. Pick the right one:

  • **Any other user-installed PR/code-review skill.** Common location:

`~/.claude/skills/pr-review/` — but the deferral is **category-based, not name-based**, so a skill named anything (`pr-review`, `code-reviewer`, `team-pr`, etc.) whose description claims PR review, code review, or diff review will be preferred. If one is present, **defer to it.** The Claude Code skill router should route to the more specific skill automatically; if you want to be sure, explicitly invoke it. The one exception jig's description carves out is the bundled `review` skill — jig:pr-review does **not** defer to that one (it's the generic fallback below jig's baseline, not above it).

  • **`/jig:independent-review`** — a sibling jig skill for **spec-compliance

review** of a finished slice (does the implementation satisfy the acceptance criteria of `spec.md`?). That's a spec-shape review against a written spec. This skill is a **PR-shape review** against a diff. Reach for `/jig:independent-review` when a slice is in REVIEWED-or-similar state with a spec.md to evaluate against; reach for this skill when there's a PR/diff/branch but no spec to compare against.

  • **`agents/reviewer.md` (the reviewer subagent)** — different invocation

primitive (subagent spawned via Task, not a skill). The subagent runs read-only and produces a structured verdict against a spec. Conceptually in the same neighborhood as `/jig:independent-review` (which builds the prompt the subagent reads), but distinct from this skill's PR-shape review.

Rule of thumb: **spec exists → `/jig:independent-review` or the subagent. Just a diff → this skill (or the richer user one).**

Inputs

Three input modes, ordered by richness:

1. **Full repo context (preferred).** You're inside a Claude Code session with the repo open. Run `git diff main...HEAD` (or the appropriate base) to get the diff. You can cross-reference the rest of the repo to check for duplicated logic, follow renames, examine related files, and verify that new code follows existing patterns. Highest signal.

2. **`land.py prepare --mode pr` output** (the artifact slice 007-01 ships). When `/jig:slice-land` has run in `pr` mode, you get a PR body file and the branch name on disk. Read the PR body for stated intent and the diff for the actual changes. Still has repo context because you're inside the same session.

3. **Pasted diff or uploaded files.** No repo context. You can review shape, but you cannot verify whether similar logic exists elsewhere in the repo or whether the new code follows local conventions. Call out the limitations in the review header.

**Not supported by this baseline**: GitHub-PR-URL-only input (no local repo, no MCP integration). Out of scope per spec 012's "GitHub MCP integration deferred" decision. If the user has only a URL, ask them to either open the repo locally or paste the diff. A richer user-installed `pr-review` skill may handle URL-only input — defer to it if so.

Scope discipline

Before writing any finding, apply scope discipline. A finding must be actionable inside the PR's stated scope. Out-of-scope concerns are noise.

  • **Different repo / system required** (worker, client SDK, infra, upstream spec):

drop entirely or

Read more
Ships withjig

A Claude Code and Codex plugin that scaffolds AI-native development practices into new projects. jig adds a repeatable spec, implementation, review, and memory workflow to AI-assisted software projects.

Get the whole plugin
Stats
6
Stars
0
Forks
Active
Maintenance
Python
Language
MIT
License
9d ago
Last commit
4mo ago
Created

Repo: ramboz/jig

Other skills on jig.

adr-workflow
Skill

adr-workflow

Scaffold, accept, index, and link Architectural Decision Records (ADRs). Use when the user says "write an ADR", "record this decision", "resolve [deferred…

@ramboz@rambozView Skill
analyze
Skill

analyze

Cross-artifact consistency report for jig specs — a non-destructive six-category audit at CRITICAL/HIGH/MEDIUM/LOW severity, covering duplication, ambiguity,…

@ramboz@rambozView Skill
arch-review
Skill

arch-review

Team baseline for architecture, design-doc, and RFC review — produces summary, strengths, concerns, and open questions. Auto-triggers when you say review this…

@ramboz@rambozView Skill
bug-fix
Skill

bug-fix

Drive the teeth-gated lifecycle for reported defects: diagnose root cause, prove it, and prevent regression through REPORTED → DIAGNOSING → ROOT_CAUSED →…

@ramboz@rambozView Skill
clarify
Skill

clarify

Lightweight spec clarification scan for jig projects — a six-category ambiguity audit that asks up to five prioritized questions and appends them to the spec's…

@ramboz@rambozView Skill
code-health
Skill

code-health

Run a static-analysis pass on a project — detect the ecosystem (Python or Node), drive its linter (ruff / eslint, plus advisory pyright/complexity/ prettier…

@ramboz@rambozView Skill