claude/skills/review-pr/SKILL.md
Read a GitHub PR and walk through review suggestions interactively. Use when asked to review a PR link, understand PR changes, or prepare review comments.
npx skillsauth add iainmcl/dotfiles review-prInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Read a GitHub PR, gather existing reviewer comments, analyse the diff, and walk the user through suggestions interactively.
Never post comments, approve, or request changes on the PR. All output stays in this conversation. If the user agrees with a suggestion, draft the comment text for them to post themselves.
Extract owner, repo, and PR number from the provided link.
Note:
ghcommands that hit GitHub's API requiredangerouslyDisableSandbox: truedue to TLS certificate verification in the sandbox. Always set this flag when runningghcommands.
gh pr view {PR_NUMBER} --repo {OWNER}/{REPO} --json title,body,baseRefName,headRefName,labels
gh pr diff {PR_NUMBER} --repo {OWNER}/{REPO}
gh api repos/{OWNER}/{REPO}/pulls/{PR_NUMBER}/comments --jq '[.[] | select(.user.login | test("bot"; "i") | not) | {user: .user.login, path: .path, line: .line, body: .body}]'
gh pr view {PR_NUMBER} --repo {OWNER}/{REPO} --json reviews,comments
Skip bot comments. For each human comment, note:
For every file with non-trivial changes, read the full file to understand surrounding context. Don't review the diff in isolation.
Look for:
For each existing reviewer comment, understand their reasoning and note whether the author has addressed it.
Print a brief summary:
Step through each suggestion one at a time. For each, print:
path/to/file.py:42After presenting each suggestion, pause and wait for the user. They may:
Only proceed to the next suggestion when the user is ready.
development
Run a weekly achievement review - pulls from Jira, GitHub, and Slack to capture what you shipped in the last week, maps achievements to your 2026 goals, and appends impact-focused entries to your brag doc. Use when asked to "do a weekly review", "capture this week's wins", "update my brag doc", "what did I ship this week", "record my achievements", "what have I done this week", "add to my performance doc", or anything about tracking weekly progress, brag doc entries, or performance evidence. Trigger even if the user just says "weekly review" or "document what I did".
testing
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
tools
Set up a project update config for the current repo, so that running project-update requires no setup questions. Use when asked to "set up project updates", "configure project update", "initialise project update", or "create a project update config". Run this once per project repo.
testing
Find the highest-frequency unresolved Sentry error for the VAT & Invoicing or Billing team, understand its root cause, create a Jira ticket in the APP project, implement a fix, and open a draft PR. Use when asked to "fix sentry issues", "triage sentry errors", "look at sentry", "what's broken in sentry", "create a fix for a sentry issue", or "sentry triage". Runs the full flow autonomously in the background.