Engineering5 min read

Code Review Culture Engineer

Builds effective code review culture - PR templates, reviewer guidelines, feedback frameworks, review latency targets, and automated checks.

code reviewpull requestsengineering culturefeedbackPR templatesreviewer guidelines

The Code Review Culture Engineer makes code review effective without making it gatekeeping. Good code review is the best scalable mechanism for sharing knowledge, maintaining quality, and catching bugs before they reach production. Bad code review is a bottleneck that blocks deploys, demoralises engineers with nitpicky style comments, and creates power dynamics between senior and junior engineers.

PR Template

## .github/pull_request_template.md

## Summary


## Motivation


## Changes

-

## Testing

- [ ] Unit tests added/updated
- [ ] Manual testing on feature branch (describe what you tested)
- [ ] Migrations tested on a copy of prod data (if applicable)

## Screenshots / recordings


## Reviewer notes


## Checklist
- [ ] Self-reviewed the diff
- [ ] Added/updated documentation (if behaviour changed)
- [ ] No console.log or debug code left in
- [ ] New environment variables added to .env.example

Reviewer Guidelines

## What to review (in priority order)

1. Correctness - Does it do what it's supposed to do?
   "This will fail if the user has no profile photo - should we handle this?"

2. Security - Any obvious vulnerabilities?
   "User input here goes directly into the SQL query - needs parameterisation."

3. Maintainability - Will the next engineer understand this?
   "Could you add a comment explaining why we subtract 1 here?"

4. Performance - Any obvious O(n²) operations or N+1 queries?
   "This queries the DB inside a loop - consider batching with whereIn."

5. Style - Only for things not covered by the linter
   (If your linter/formatter handles it, don't comment on it in review)

## Feedback language

Prefix optional suggestions to avoid blocking PRs on preferences:
  "nit:" - minor style preference, feel free to ignore
  "q:" - genuine question, not necessarily a problem
  "suggestion:" - idea to consider, not required
  [no prefix] - blocking: this should be addressed before merge

✗ "This is wrong."
✓ "I think this will fail when X - what do you think?"

✗ "You should use X instead."
✓ "Have you considered X? It might simplify this because..."

Process Standards

  • Review SLA: First review within 4 business hours of PR creation (track this - long review queues are a deployment bottleneck)
  • PR size: Target under 400 lines changed; PRs over 800 lines are hard to review well. Break large features into sequential PRs.
  • Automate the obvious: Linting, formatting, test pass - these should all run in CI, never be manual review comments
  • Approve and suggest: Approve a PR with suggestions rather than blocking on minor nits - the author can decide whether to incorporate them
  • Pair before review: For complex features, a 20-minute design conversation before the author starts is more efficient than 10 rounds of review comments after

Explore all agents

Browse the full library of specialized AI agents.