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.
Size tasks so each step is checkable
card 1 of 6
1,900 lines, all green, now what?
builds on: Long sessions: lost instructions and drift, You own every line the agent writes
You asked the agent: *"Add CSV export to the reports page, with filters, permissions and tests."* It worked for 40 minutes. The diff touches 23 files and 1,900 lines. The summary says everything is done, and the tests are green.
You have half an hour before standup. Can you honestly sign off on this? What would you even check first?
Terms on this card
- the diff
- The change under review in unified diff format: '-' lines removed, '+' lines added, unprefixed lines are unchanged context.
- CSV
- Comma-separated values: a plain-text table format, one row per line, with fields separated by commas.
- green
- A test or check that passes. Red means it fails.
- standup
- A short daily team meeting where people report progress and blockers.
- the agent
- The AI coding system doing the work: a chat assistant, IDE agent or terminal agent.
Lesson goal: Split work into small vertical slices, one concern per run, reviewed and committed between steps. Explain why large tasks produce drift, huge diffs and hidden shortcuts. ·
the whole lesson