Swizec Teller - a geek with a hatswizec.com

Scaling Fast Book

What happens when your startup hits hypergrowth?

Scaling Fast cover
Learn more

Senior Mindset Book

Get promoted, earn a bigger salary, work for top companies

    Just fix their PR

    You know what's better than a code review comment? A fix.

    Lately we've been dealing with an absolute onslaught of pull requests. Feels like half my days go to reviewing code, half to management, and half to writing code. Yes that's too many halfs.

    See I wasn't even exaggerating (thought I was). 53% of my contributions are code review 🫠

    Part of this is because AI now writes 97% of my code. I review that and like to leave the bot comments for things to fix. Feels natural and I don't have to learn a new workflow. Oh a human wrote this code? Here's a comment, please fix. Oh a bot wrote this code? Here's a comment, please fix.

    And that gave me an idea: Can I ask the bot to fix other people's code? Yes!

    It is wonderful. Here's how it works.

    Why code review comments

    There are 2 reasons you'd leave a code review comment:

    1. You found a bug or an old sin the engineer doesn't know about
    2. You spot a learning opportunity

    Never nitpick about superficial code styles or variable names (unless you are legitimately confused). Leave that to the linters and auto-formatters.

    Try to always approve with comment. Don't block unless it's critical.

    When you find a bug

    Code reviews are one way to use more brains from your team. All bugs are shallow with many eyes looking or whatever Torvalds said. He was right.

    The more people look, the more they'll find. You write some code and think it's great. You look at the code with fresh eyes and go "Oh wait didn't Beth from accounting say something about this that one time in a meeting?".

    Yes she did. Bob remembers and leaves you a comment. Your code breaks an entire workflow and now Beth can't do her job! Bad.

    You're annoyed by the comment, a little upset you didn't remember, and spend a few hours fixing the bug. Code will ship the day after tomorrow.

    But what if Bob left the same comment and started with @cursor ...?

    You'd still see the comment, think "Ah fuck I didn't even think about that", except now it's already fixed 😍. While you were off helping others with your code reviews, the bot implemented Bob's feedback and now all you have to do is to say LGTM and merge. Code ships today.

    Works for small fixes you'd trust a clanker to do. May require the code owner to re-verify their code works.

    When you spot a learning opportunity

    The other reason we have code reviews is for knowledge sharing.

    You want to encourage good system design practices and didn't talk enough beforehand. Code review lets you talk about good abstractions and API design.

    I like to do this in people's pull requests because it makes the lessons less abstract. System design is a tacit skill you can only learn by doing. We can talk for hours in the abstract and it won't do squat compared to "Hey this function you wrote would be clearer if you X, Y, Z because of principles A, B, C".

    Try first, get feedback, try again. Best way to learn.

    It's the only way to train your expert intuition. Reps and feedback. One might argue this is the core job of a software engineering organization – building the next generation of experts.

    Here keeping it slow is a feature. You want engineers to struggle through fixing the issue and you take the hit to shipping velocity on purpose.

    Cheers,
    ~Swizec

    PS: best way to make code review faster is to shift left and talk architecture before you write code. Do the system design together as a group. Another is to make it quicker to verify the code after changes.

    Published on May 13th, 2026 in Teamwork, Software Engineering, Mindset

    Did you enjoy this article?

    Continue reading about Just fix their PR

    Semantically similar articles hand-picked by GPT-4

    Senior Mindset Book

    Get promoted, earn a bigger salary, work for top companies

    Learn more

    Have a burning question that you think I can answer? Hit me up on twitter and I'll do my best.

    Who am I and who do I help? I'm Swizec Teller and I turn coders into engineers with "Raw and honest from the heart!" writing. No bullshit. Real insights into the career and skills of a modern software engineer.

    Want to become a true senior engineer? Take ownership, have autonomy, and be a force multiplier on your team. The Senior Engineer Mindset ebook can help 👉 swizec.com/senior-mindset. These are the shifts in mindset that unlocked my career.

    Curious about Serverless and the modern backend? Check out Serverless Handbook, for frontend engineers 👉 ServerlessHandbook.dev

    Want to Stop copy pasting D3 examples and create data visualizations of your own? Learn how to build scalable dataviz React components your whole team can understand with React for Data Visualization

    Want to get my best emails on JavaScript, React, Serverless, Fullstack Web, or Indie Hacking? Check out swizec.com/collections

    Did someone amazing share this letter with you? Wonderful! You can sign up for my weekly letters for software engineers on their path to greatness, here: swizec.com/blog

    Want to brush up on your modern JavaScript syntax? Check out my interactive cheatsheet: es6cheatsheet.com

    By the way, just in case no one has told you it yet today: I love and appreciate you for who you are ❤️

    Created by Swizec with ❤️