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.
What 'done' means for a change
card 4 of 6
Read the report against the six
Take the agent's report one question at a time.
- *Asked?* It says yes.
- *Evidence?* "All tests pass". Which tests? Does any of them check the lockout?
- *Breaks nothing?* Did it run the full suite, or one file?
- *Fits? Reviewable?* It says nothing about what changed or where.
- *Hides nothing?* It names nothing it skipped or couldn't check.
The report is all claims and no specifics. That is a reason to open the diff, not to merge.
Terms on this card
- diff
- The set of line changes between two versions of the code: removed lines start with '-', added lines with '+'.
- full suite
- All of the project's automated tests, not just the ones near the changed code.
- lockout
- Blocking further login attempts for an account or address after too many tries.
- the diff
- The change under review in unified diff format: '-' lines removed, '+' lines added, unprefixed lines are unchanged context.
- the agent
- The AI coding system doing the work: a chat assistant, IDE agent or terminal agent.
Lesson goal: State the criteria for a finished change: it does what was asked, there is evidence it works, it breaks nothing else, it fits the codebase's conventions, it is small enough to review and it hides nothing. Contrast this with 'the agent stopped and said it's done'. ·
the whole lesson