Start a fresh conversation. Replace the highlighted placeholders.
Use review-pr to review [PR URL or number] and report only fix-required issues in the changed code, prioritized by severity with file references and a final recommendation; do not submit review comments.
Required inputs
[PR URL or number]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: review-prdescription: This skill should be used when user asks to "review a PR", "review pull request", "review this pr", "code review this PR", "check PR #N", provides a GitHub PR URL, or explicitly invokes "review-pr".
Review PR
Review a pull request for bugs, regressions, missing tests, and risky changes.
When explicitly invoked with extra text, treat that text as the PR number or URL. If no PR
reference is provided, infer it from the current branch.
Process
Preferred execution
If subagents are available, use github-dev:pr-reviewer and pass the PR reference.
Otherwise follow the manual steps below.
Parse PR reference
If a PR number or URL is provided, extract owner, repo, and PR number.
If not, auto-detect the PR from the current branch with gh pr view --json number,headRefName.
Fetch PR data
Use gh pr diff <number> for the full diff.
Use gh pr view <number> --json files for the changed file list.
Skip generated or vendored files such as .lock, .min.js, .min.css, dist/, build/, vendor/, node_modules/, _pb2.py, and images.
Review focus
Only report issues that require fixes.
Only review PR changes, never pre-existing issues in unchanged code.