PR Review
Overview
Systematic, evidence-based pull request review with anti-sycophancy principles. Critique-first ordering ensures critical issues are identified before any positive observations.
Core principle: Review what changed, not what it's called. Labels lie. Tests verify author's assumptions—review catches flawed assumptions.
Violating the letter of this process is violating the spirit of code review.
Table of Contents
- When to Use
- The Iron Law
- Quick Reference
- Review Efficiency Framework
- Change-Type Quick Guides
- Review Process
- Review Dimensions
- Security Quick Scan
- Accessibility Quick Scan
- Devil's Advocate Analysis
- Impact Radius Analysis
- Refactoring Verification
- Anti-Sycophancy Guide
- Constructive Feedback Patterns
- Output Format
- Common Rationalizations
- Red Flags - STOP
- When Stuck
- Verification Checklist
- Knowledge Sharing
- Review Metrics
- Specialist Escalation
When to Use
Always use for:
- New feature PRs
- Bug fix PRs
- Refactoring PRs
- Security-related changes
- API changes
- Database schema changes
Lighter review acceptable for:
- Documentation-only changes
- Configuration tweaks (still check security)
- Dependency updates (still check security + breaking changes)
Never skip:
- Security Quick Scan (4 critical items, ~2 min)
The Iron Law
NO APPROVAL WITHOUT COMPLETING ALL CRITICAL DIMENSIONS
Security, Correctness, and Test Coverage must ALWAYS be reviewed. No exceptions.
- Urgency doesn't reduce risk. Hotfix = MORE likely to introduce bugs.
- Trust is not a checklist substitute. Everyone makes mistakes.
- Tests passing ≠ logic correct. Tests verify author assumptions.
Quick Reference
Severity source: The
Critical/High/Medium/Lowlevels used below are the Code Review Severity scale defined in