Reviewing Pull Requests
Making It Faster was the last task where you direct the change. In a PR review task, someone else has already made it, and your job is to judge it, say what's wrong and often fix it. It uses the same reading habits as Reviewing the AI's Diff, with two differences: the author is a teammate you have to persuade, and the AI is now your assistant in reviewing rather than the thing under review.
Formats vary. Anthropic has used an online VS Code next to a GitHub-like site with several PRs to review and improve, with Claude Code allowed. Other rounds hand you one PR and ask for written comments, or ask you to take over a half-finished PR and get it mergeable.
Read the PR in Order
Read each PR in a fixed order: the description, the tests, the diff, then run it. The order matters because each step tells you what to look for in the next. A PR that claims to "fix duplicate invites" sets the question you hold while reading the code: does it, and does it break anything else?
Start with the description and the linked ticket, and say in one sentence what the PR is meant to do. If you can't, that's your first comment. Then read the tests, since they show what the author thought the edge cases were, and the gaps are where the bugs usually are. Then the diff, file by file, starting with the core logic rather than whichever file is listed first. Finally, check out the branch and run the tests, because a PR that doesn't pass its own suite changes the whole review.
With several PRs and limited time, triage first. Spend about 2 minutes skimming all of them, note their size and risk, and review in order of risk rather than in the order listed. A small change to authentication deserves more time than a large change to a log message. Say the plan: "Four PRs. The invite one touches permissions, so I'll start there."