Skip to main content
The Problem: As individual productivity increases (3x–10x), the volume of Pull Requests multiplies, creating a bottleneck for human reviewers.

The Review Bottleneck

Before AI Workflow

  • Engineer writes code: 8 hours
  • Human reviews: 2 hours per reviewer
  • Result: Sustainable workload

After AI Workflow

  • Engineer writes code with AI: 1 hour (8x faster)
  • Can now do 8 PRs in the same time
  • Human reviewers: Still 2 hours per PR
  • Result: 16 hours of review work vs 8 hours before
The bottleneck shifts from writing to reviewing.

The Solution: AI as First-Line Reviewer

Shift the AI’s role from just a “coder” to a “reviewer” to act as an automated first line of defense.

The Two-Tier Review System

Tier 1: AI Review (Automated)
  • Style and formatting
  • Common patterns and anti-patterns
  • Missing tests or documentation
  • Basic security checks
  • Convention adherence
Tier 2: Human Review (Strategic)
  • Architectural alignment
  • Domain expertise
  • Invisible constraints
  • Long-term maintainability
  • Taste and judgment
Result: Humans focus on what they’re uniquely good at.

The “Living” Rulebook: REVIEW_RULES.md

Teams must codify tribal knowledge into a REVIEW_RULES.md file in the repository root.

Why This Matters

Before: Tribal knowledge exists only in reviewers’ heads
  • New team members don’t know the rules
  • Inconsistent reviews across reviewers
  • AI has no access to team conventions
After: Rules are explicit and enforceable
  • AI applies rules consistently
  • New team members can read and learn
  • Rules evolve with the team

REVIEW_RULES.md Template

Enforcing the Rules

Ask the AI to review against these rules:

Agentic Review Workflows: REVIEW_PROCESS.md

Define a step-by-step agentic routine for the AI to follow during reviews.

REVIEW_PROCESS.md Template

Implementing the Workflow

Create a review automation:

Issue Triaging: P0 to P2

Use severity levels to prioritize review findings:

P0 (Critical) - Must Fix Before Merge

  • Security vulnerabilities
  • Data integrity risks
  • Breaking changes without migration path
  • Critical bugs in production code

P1 (Important) - Should Fix Before Merge

  • Architectural violations
  • Performance regressions
  • Missing error handling
  • Incomplete test coverage

P2 (Minor) - Can Fix Later

  • Style inconsistencies
  • Minor documentation gaps
  • Optimization opportunities
  • Code clarity improvements

Review Decision Matrix

The Human Review Layer

After AI review, humans focus on:

What AI Can’t Judge

  • Is this the right solution to the problem?
  • Does this align with our product vision?
  • Will the team understand this in 6 months?
  • Are there business constraints we’re missing?
  • Does this create the right abstractions?

Example Human Review Prompt


Key Principle: Codify tribal knowledge, automate enforcement, free humans for strategic review. The “tedious nits” are AI’s domain.