Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Reviews a pull request design-first in an isolated git worktree, then posts line-level comments on the PR and cleans up.
39% 57%+17 ptsof test cases passed
Passed 13 of 23 test cases with the skill, and 9 of 23 without it.
This test ran on v2. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
114 agent runs
2 forksA fork is a copy of this skill that someone made so they could edit it for their own use. The original doesn't change.
Review the pull request specified by $ARGUMENTS (PR number or URL).
A reviewer approves the decision, not the lines. The comments that change outcomes here are design comments: the premise doesn't hold, the fix treats a symptom, a much smaller change would do, the change quietly alters a flow everyone uses, the rollout order loses data, the next call site will bring the bug back. Line-level bugs come second. Style nits come last, capped, and never block.
A review that lists ten nits and misses that the approach is wrong has failed. A review that says "the approach is right, here is what I checked" with zero findings has succeeded.
If $ARGUMENTS is empty or not provided, you MUST stop and ask the user for a PR number. Do NOT proceed without an explicit PR number or URL. Do NOT fall back to the current branch's PR.
Example prompt: "Please provide a PR number or URL. Usage: /review-pr 123"
Run these commands sequentially in a single bash call:
REPO_ROOT=$(git rev-parse --show-toplevel)
PR_NUMBER=<pr number from arguments>
WORKTREE_DIR="${REPO_ROOT}-pr-review-${PR_NUMBER}"
# Fetch PR metadata
gh pr view $PR_NUMBER --json number,title,body,baseRefName,headRefName,headRefOid,additions,deletions,changedFiles,author,closingIssuesReferences
# Fetch latest and create worktree
git fetch origin
HEAD_BRANCH=$(gh pr view $PR_NUMBER --json headRefName -q .headRefName)
# A leftover worktree from an aborted run would sit on an old head — always start from the current one
git worktree remove "$WORKTREE_DIR" --force 2>/dev/null
git worktree add --detach "$WORKTREE_DIR" "origin/${HEAD_BRANCH}"
echo "WORKTREE_DIR=${WORKTREE_DIR}"
Store the WORKTREE_DIR path. You will use it for ALL subsequent operations.
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.