Work effectively with AI coding agents. Understand them as language models running in a tool loop with limited context, which is why they guess, game the visible signal and report confidently. Recognise the shortcut and correctness tells in their code across Python, TypeScript/JavaScript, Rust, Java and Go, and know the damage each one does later. Verify changes instead of trusting them, review diffs fast for quality and security, judge when work is truly finished, and choose, design and steer tasks so agents can finish them well.
You own every line the agent writes
card 3 of 6
The reviewer's stance, as a checklist
Review it like a PR from a very fast contributor who leaves right after:
1. **Read the diff, not the summary.** The summary is a claim about the diff.
2. **Rank evidence:** output of a command you ran > tool output shown in the transcript > the agent's statement.
3. **Explain every changed line.** If you can't, don't approve.
4. **Too big to read well?** Ask for smaller pieces.
5. Approve only what you'd defend if it broke.
Terms on this card
- Approve
- The code-review action saying you accept the pull request for merging; your name goes on the decision.
- PR
- Pull request: a proposed change submitted for review before it is merged into the main branch.
- transcript
- The record of an agent session: your messages, its replies, the commands it ran and their output.
- tool output
- What a command or action the agent ran actually returned, such as test results, as recorded in the transcript.
- the diff
- The change under review in unified diff format: '-' lines removed, '+' lines added, unprefixed lines are unchanged context.
Lesson goal: Adopt the stance of reviewing a pull request from a very fast contributor who is not accountable for the result: you sign off, so you answer for it. Explain why generating code is now cheap while review has become the bottleneck, and why evidence must outrank claims. ·
the whole lesson