| name | pr-review |
| description | PR review — correctness, security, tests, performance, style. |
Pull Request Review
PR Creation Standards
Apply these rules whenever creating or drafting a pull request:
- Language: all PR text (title, summary, bullet points, test plan) must be written in English.
- No Claude attribution: do not include "🤖 Generated with Claude Code", "Co-Authored-By: Claude", or any other mention of Claude or AI tooling in the PR body, title, or commit messages.
- Authorship: the PR and its commits must reflect only the authenticated git user. Never add Claude as a co-author or contributor.
- Content: PR descriptions should reflect what the human developer is shipping — written as if authored entirely by the team.
Before Reviewing
Read in order:
- PR description — understand the intent and scope
- Linked issue or task — confirm alignment
- Changed files list — get a mental map before reading diffs
Review Checklist
Correctness
Security
Tests
Performance
Code Quality
Documentation
Style & Conventions
Review Comment Format
Write comments that explain the problem and suggest a fix:
[BLOCKING] This query runs inside the loop — will cause N+1.
Move the query outside and use eager loading:
$orders->load('items');
[SUGGESTION] Consider extracting this into a `calculateTax()` method
for readability and testability.
[NITPICK] Variable name `d` is unclear — `deliveryDate` would be better.
Labels:
- BLOCKING — must be fixed before merge
- SUGGESTION — improvement worth doing, not a blocker
- NITPICK — minor style point, take it or leave it
- QUESTION — asking for clarification, not a change request
PR Approval Criteria
Approve when:
- All BLOCKING items are resolved
- No new security vulnerabilities introduced
- Tests pass
- Code is understandable without the author explaining it
Request changes when:
- Any BLOCKING item remains
- Test coverage meaningfully decreased
- Security concern not addressed