Technical debt and code review · Starting Up

How should code review work in a small engineering team?

Checked 24 November 2026

Every change goes through a small pull request that one teammate reviews within one business day, approving once it leaves the code better, even if not perfect. Let CI check formatting and tests, and protect the main branch so nothing merges without a review.

By case

  • If you are two engineers

    Review every one of each other's changes.

    Both people then know every part of the code, so neither is a single point of failure.

  • If you are a solo founder

    Turn on an AI reviewer and CI, and reread your own diff the next morning before merging.

    A second pass catches what you could not see while writing it.

    GitHub Copilot: Free; Pro $10, Pro+ $39 and Max $100 a month, each with AI credits included, read from github.com on 10 November 2026

  • If pull requests wait days for review

    Agree a response time and a size limit as a team rule.

    Google's guide finds most complaints about review go away once reviews are fast.

  • If production is down and the fix is ready

    Merge the fix, then review it properly straight after.

    Google's guide treats an emergency as the one time to merge before review is complete.

The steps5 steps

  1. Protect the main branch: require a pull request, one approval and passing status checks.

    Fee: Free on public repositories; GitHub Team is $4 a user a month for private ones. The official page on docs.github.com

  2. Add a CODEOWNERS file so the right person is asked to review each area.

    The official page on docs.github.com

  3. Run the formatter, linter and tests in CI on every pull request.

    The official page on martinfowler.com

  4. Write small pull requests with a description of what changed and why.

    The official page on google.github.io

  5. Reply to every review request within one business day, and approve once the change improves the code.

    The official page on google.github.io

The figuresEach with where it was read

What goes wrong

  • Spending review comments on style a formatter could fix.

  • Holding a change back for perfection when it already improves the code.

  • Merging huge pull requests that nobody can read properly, so the review is a formality.

  • Letting only the founder review, so every change queues behind one person.

Go deeper8 sources

  • The Standard of Code Review

    Google · Google Engineering Practices · Article · 10 min read

    Founders often swing between rubber stamping and nitpicking every line, and this sets a sane bar: approve once the change improves the codebase, not once it is perfect. That principle keeps review from becoming the ceremony that kills your speed. Read it to agree with your first hire on what review is actually for.

  • Small CLs

    Google · Google Engineering Practices · Article · 10 min read

    The most practical single lever for making code review fast and painless is keeping each change small, and Google's guide explains exactly why and how. Small reviewable changes are what let review stay light instead of becoming a bottleneck that tempts you to skip it. This is the habit to set on day one with your first engineer.

  • Continuous Integration

    Martin Fowler · martinfowler.com · Article · 30 min read

    Once a second person is committing, the first real risk is two branches drifting apart, and this essay explains the one habit that prevents it: integrate to a shared main every day with automated checks. It is arguably the single highest value practice to adopt at the first hire. Read it to understand why short lived branches and a green build matter more than elaborate approval flows.

  • Speed of Code Reviews (Google Engineering Practices)

    Google · google.github.io · Article

    Google's own guide on why review speed matters more than almost anything else in the process.

  • How to do a code review (Google Engineering Practices)

    Google · google.github.io · Article

    The front page of Google's public code review guides, for reviewers and for authors.

  • About protected branches (GitHub Docs)

    GitHub · docs.github.com · Official

    GitHub's documentation for making approval and passing checks a rule before anything merges.

  • About code owners (GitHub Docs)

    GitHub · docs.github.com · Official

    How a CODEOWNERS file asks the right person to review each part of the code.

All 8 sources
  • GitHub pricing

    GitHub · github.com · Tool

    GitHub's plans, and what each includes in Actions minutes and review features.