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 6 of 6
Done is a property of the change
"Done" describes the change, not the moment the agent stopped. Before you merge, check all six:
- it does what was asked
- there is evidence that could have failed
- nothing else broke
- it fits the codebase
- it is small enough to review
- nothing is hidden or left unstated
Terms on this card
- 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