review-github-pr
Installation
SKILL.md
Read-only: Do not modify any files. Your job is to review, report, and submit feedback on GitHub. Do not to make local changes.
Before proceeding, verify prerequisites:
- Run
gh auth statusto confirm GitHub CLI is authenticated. If not, stop and tell the user to rungh auth login. - Confirm you have a PR or diff to review. If unclear, ask the user what to review before proceeding.
Instructions
Review a GitHub pull request, generate prioritized inline comments, and submit them as a batch review.
Use when: reviewing, evaluating, critiquing, auditing, or assessing a GitHub PR. Triggers on requests like "review this PR", "review PR #123", or when given a PR URL to review.
All GitHub interactions must use the gh CLI tool. Do not use curl, direct API URLs, or web fetching. Always use gh pr, gh api, or other gh subcommands.
1. Fetch the PR diff
Use gh CLI to get the full diff and PR metadata: