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 1 of 6
The agent says "Done!" Is it?
You asked the agent to add rate limiting to the login endpoint. A few minutes later it replies: *"Done! Rate limiting is implemented and all tests pass."* The message sounds confident and the CI badge is green.
Can you merge? What would you need to know first, and how much of that does this message actually tell you?
Terms on this card
- rate limiting
- Capping how many requests a client may make in a time window, e.g. at most 5 login attempts per minute from one address.
- CI badge
- An indicator showing whether the latest automated build and test run (continuous integration) passed or failed.
- CI
- Continuous integration: a server that automatically builds and tests every pushed change.
- tell
- An observable sign in a diff, transcript or summary that suggests a shortcut or an error.
- 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