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.
Write a task the agent can finish card 1 of 6

A one-line request, a surprising result

builds on: Why agents fill gaps with plausible guesses, What 'done' means for a change
You typed: *Add pagination to GET /orders.* A few minutes later the agent reported done, tests green. After deploy, the mobile app shows an empty list, because it expected a JSON array and now gets an object. Support also finds some orders appearing twice across pages. Nothing in the diff is obviously broken code. Many of the choices in it just were not yours.
Terms on this card
pagination
Returning a long list in chunks (pages) across several requests instead of all at once.
GET /orders
An HTTP endpoint: a URL path plus method that a client calls to read data, here the list of orders.
JSON
A plain-text data format of objects {...}, arrays [...], strings and numbers, used by most web APIs.
JSON array
A JSON value written as a list in square brackets, e.g. [ {...}, {...} ], as opposed to an object in curly braces.
the diff
The change under review in unified diff format: '-' lines removed, '+' lines added, unprefixed lines are context.
Learn this step by step on Bytewise
Lesson goal: Write tasks that state the goal and the reason for it, the constraints, the non-goals and checkable acceptance criteria. Point out which ambiguities in a vague request would force the agent to guess. · the whole lesson