80-20-review
80/20 Review
Core Principles
-
Review at checkpoints, not continuously — Constant review interrupts flow. Schedule reviews at natural breakpoints: post-implementation, pre-PR, post-integration, and post-deploy. Each checkpoint has a different focus.
-
Focus on data access, security, concurrency, integration — These are the 20% of code areas that cause 80% of production incidents. A missing
CancellationTokenis more dangerous than a misnamed variable. Review depth should match risk. -
Blast radius determines depth — A utility function used in one place gets a glance. A middleware change that affects every request gets a thorough review. Score changes by blast radius and invest review time proportionally.
-
Automate the trivial — Formatting, import ordering, naming conventions, and basic anti-patterns should be caught by tools (formatters, analyzers, hooks), not humans. Save human attention for things tools can't catch: logic errors, design flaws, and missing edge cases.
Patterns
Checkpoint Schedule
Review at these natural breakpoints, each with a specific focus: