The Art of Code Review: Mentoring Through 500+ PRs
What I learned from reviewing over 500 pull requests across a 20+ engineer team — and how to turn code review from a gatekeeping chore into a mentoring superpower.
I've reviewed over 500 pull requests in the past two years across multiple teams at Robosoft. Not because I was the designated reviewer, but because I believe code review is the highest-leverage mentoring activity an engineer can do. A good review catches bugs. A great review grows the person writing the code.
The Mindset Shift
Most engineers approach code review as quality control — a gate between code and production. This mindset makes reviews adversarial and stressful. The alternative: approach every review as a coaching opportunity. Your goal isn't just to ship correct code — it's to help the author become an engineer who writes better code without you.
What changed when I shifted the approach:
- I stopped writing 'fix this' and started writing 'have you considered'
- I explained the why, not just the what — the pattern, not the instance
- I celebrated good patterns explicitly, not just flagged problems
- I asked questions instead of making statements
- I followed up after the PR was merged to see if the lesson stuck
A Practical Framework
- Read for intent first. Does the PR solve the right problem? Before looking at code, understand the approach.
- Read for correctness. Are there bugs, edge cases, or security issues? This is the safety net.
- Read for architecture. Does this fit the system's patterns? Is it creating debt or paying it down?
- Read for readability. Will the next person understand this in 6 months?
- One coaching moment per review. Pick the single most important lesson and make it stick.
The Results
Of the three junior engineers I mentored through this approach, two have taken on senior-level responsibilities within 18 months. More importantly, the quality bar of our codebase rose without creating a bottleneck — because reviews became teaching moments, not gatekeeping. Review cycles shortened. Trust increased. And I learned as much from reviewing as they did from being reviewed.