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.
100
Quality
100%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
Review a GitHub pull request, verify CI status, and merge + tag a release if appropriate.
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>Carefully review the diff. Pay attention to:
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:
gh pr merge <number> --squash --delete-branchgh release list --limit 1gh release create <tag> --title "<tag>" --generate-notesUse --generate-notes to auto-generate release notes from the merged PR.
355d067
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.