Review and merge GitHub pull requests for Spatie packages. Use when asked to review a PR, review a pull request, merge a PR, or when given a GitHub PR URL to review. Also triggers on 'review this PR,' 'check this pull request,' 'merge this,' or '/review-pr'. Uses gh CLI for all GitHub operations.
75
93%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Review a GitHub pull request, verify CI status, merge it, and thank the author. Only tag a release when explicitly asked.
Use gh CLI to get the PR diff, description, and CI status:
gh pr view <number> --json title,body,additions,deletions,files,reviews,statusCheckRollup,headRefName,baseRefName
gh pr diff <number>Run the shared review lanes against this PR, in report-only mode. Read the lane definitions from:
~/.claude/skills/review-code/references/lanes.mdRun every applicable lane against the PR, following the "Running the lanes" section for whichever harness you are. Give each lane the diff from step 1 as its target.
Report only. Never apply fixes to someone else's PR, even for findings that would be auto-applied in /review-code. The output of this step is a verdict, not an edit.
On top of the lane findings, judge:
If there are issues, post a review comment via gh pr review <number> --request-changes --body "..." and stop.
All CI checks must be green before merging. Verify via the statusCheckRollup field from step 1. If CI is failing or pending, inform the user and stop.
If the review looks good and CI is green, merge the PR:
gh pr merge <number> --squash --delete-branchAfter merging, thank the author of the work in the conversation this change came from. Post the thanks on whichever of these the change originated from, in this order of preference:
Find the author of that conversation, not necessarily the PR author. They are often different people: someone reports an issue, someone else fixes it. Thank both when they differ.
gh issue comment <number> --body "..."
gh pr comment <number> --body "..."Keep it short, warm, and specific about what they contributed. Never mention Claude Code.
Never tag a release unless I explicitly ask for one in this conversation. Merging is not a request to release. Finishing a review is not a request to release. Say the PR is merged and stop there.
When I do ask, determine the version bump by checking the latest tag:
gh release list --limit 1gh release create <tag> --title "<tag>" --generate-notesUse --generate-notes to auto-generate release notes from the merged PR.
09219e0
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.