Judge the pull request
The agent reviews; only I judge. This is the reviewer’s seat of the pull request, the one these docs never hand to the agent, and I take it in a fixed order, so that the order holds when attention does not.
The ritual in seven steps
Section titled “The ritual in seven steps”- Evidence before claims. I open the gate outputs, the screenshots and the tests before I read the claim itself, because a claim without evidence is sent back, not read. The habit comes from the best practices: “have Claude show evidence rather than asserting success: the test output, the command it ran and what it returned, or a screenshot of the result” (source: Anthropic: Best practices for Claude Code).
- The manual test steps, run by hand. The agent writes them; I run them in a browser, on the preview, one by one. A green run is not the end: “never assume that code generated by an LLM works until that code has been executed” (source: Simon Willison: Agentic manual testing), and Impeccable says the same of its own output, “a clean report is useful evidence; it does not replace using the result” (source: Impeccable: How it works).
- The diff, read until it can be explained. Google’s reviewers read in an order I keep: “take a broad view of the change” (source: Google: Navigating a CL in review) and ask “does this change even make sense?” (source: Google: Navigating a CL in review), then “look at these major parts first” (source: Google: Navigating a CL in review), then the rest, and “in the general case, look at every line of code that you have been assigned to review” (source: Google: What to look for in a code review). I stop when I can explain every hunk to someone else; a hunk I cannot explain is a question for the agent, not a merge.
- The visual checklist. Both themes, desktop and phone, against a short list from Refactoring UI: hierarchy, “the most effective tool you have for making something feel ‘designed’” (p. 36) (source: Refactoring UI, by Adam Wathan and Steve Schoger); white space “removed, not added” (p. 67) (source: Refactoring UI, by Adam Wathan and Steve Schoger); lines of “between 45 and 75 characters” (p. 114) (source: Refactoring UI, by Adam Wathan and Steve Schoger); text at a contrast ratio of at least 4.5:1, larger text at least 3:1 (p. 162) (source: Refactoring UI, by Adam Wathan and Steve Schoger); meaning never carried by color alone (p. 166) (source: Refactoring UI, by Adam Wathan and Steve Schoger); and the empty state, “a priority, not an afterthought” (p. 235) (source: Refactoring UI, by Adam Wathan and Steve Schoger). Refactoring UI maps each to this site’s design system.
- The spec. Each acceptance criterion against what runs, not against the claim, with Google’s question: “does this CL do what the developer intended?” (source: Google: What to look for in a code review)
mattpocock-skills:code-review’s Spec axis has asked it once already, and its answer is a hypothesis I check, since “sub-agent output is a hypothesis, not evidence” (source: Matt Pocock: code-review). Anything the ticket did not ask for is a new decision, not a bonus. - The verdict. Three outcomes: a green light, defects sent back, or a new plan. The bar is Google’s: “favor approving a CL once it is in a state where it definitely improves the overall code health of the system being worked on, even if the CL isn’t perfect” (source: Google: The standard of code review). “Technical facts and data overrule opinions and personal preferences” (source: Google: The standard of code review), and a preference goes in marked as a nit. Defects go back with the observation that shows them; a ticket whose premise failed gets a new plan, not a patch.
- Then the router and the retro. The merge is a phase boundary, and the decision about the context belongs there, not in the middle of the work:
/ask-matt“recommends and stops” (source: Matt Pocock: ask-matt), naming the next skill and where my decisions sit, and among the five options at the boundary “the first yes wins” (source: Matt Pocock: Phase boundaries). Then/retro, which “changes the environment, not the code” (source: Matt Pocock: retro). Ship and record covers the retro.
Before this run, I gave my green light before each merge of this site. For the run that built most of these pages, I asked for each pull request to merge once its mattpocock-skills:code-review review and CI passed, and I test the finished site before launch; the journal quotes that request.
The routine
Section titled “The routine”- When
- The pull request is open with its evidence, and the gates are green.
- What you type
- Nothing to the agent. Run the manual test steps by hand in the browser, then read the diff until you can explain it.
- What it produces
- The verdict: a green light, defects sent back with the observation that shows them, or a new plan.
- What proves it
- The manual test steps passed in your hands; every acceptance criterion holds against what runs; the verdict and its reasons are written down, on the pull request or in the journal entry.
Sources
Section titled “Sources”- Anthropic: Best practices for Claude Code code.claude.com
- Simon Willison: Agentic manual testing simonwillison.net
- Impeccable: How it works impeccable.style
- Google: Navigating a CL in review google.github.io
- Google: What to look for in a code review google.github.io
- Refactoring UI, by Adam Wathan and Steve Schoger refactoringui.com
- Matt Pocock: code-review aihero.dev
- Google: The standard of code review google.github.io
- Matt Pocock: ask-matt aihero.dev
- Matt Pocock: Phase boundaries github.com
- Matt Pocock: retro aihero.dev