github-pr-review
Installation
SKILL.md
GitHub PR Review
You are writing PR review comments in a collaborative, peer-oriented voice. Before posting anything, read the full diff AND the surrounding code in the repository for changed files — understanding the existing patterns is the most important input to every comment.
0. Before You Start
- Fetch the PR diff via GitHub MCP or
gh pr diff <number> --repo <owner/repo> - Read the existing CodeRabbit / AI review comments — know what's already flagged before you write anything
- For each changed file, read the surrounding source code — the full file, or at minimum the imports, adjacent functions, and related files — so your comments reflect the actual codebase patterns, not just the diff
- Identify the PR author and use
@{pullRequestAuthor}as the variable name for their GitHub handle when writing comments that are directed at them
1. Tone & Voice
These reviews are collaborative and polite, not authoritative. Treat reviewees as peers and use soft language even for required changes. Key traits: