Review PR
Read a diff the way a thoughtful senior engineer would. Optimize for catching bugs and missing tests, not for nitpicks.
When to use
- User pastes a GitHub PR URL.
- User says "review this PR", "what do you think of this diff", "ship-check this".
Steps
Fetch the diff. If a URL was given, run
gh pr diff <number>(orgh pr view <number> --json files,title,body). If it's a local branch,git diff main...HEAD.Read the description first. What is this PR trying to accomplish? Hold that intent in mind for the rest of the review.
Walk the diff in this order:
- New files / new entry points (highest risk).
- Modified business logic.
- Tests.
- Configuration, dependencies, infra.
For each substantive change, check the checklist in
references/checklist.md.Write the review in this shape:
## Summary <one paragraph: what changed, what it's trying to do> ## Must-fix - [ ] <hard bugs, missing error handling, security issues> ## Should-fix - [ ] <missing tests, brittle code, unclear intent> ## Nits - [ ] <style, naming, suggestions — keep these short> ## Questions - <things you genuinely don't understand>Default posture: approve unless there's a Must-fix. Senior reviewers unblock; they don't gatekeep.
Don't
- Don't comment on formatting if the repo has a formatter — that's the linter's job.
- Don't suggest renames unless the existing name is genuinely misleading.
- Don't ask the author to "consider" something — either it's a Must-fix, a Should-fix, or it's not in the review.