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.
Let the toolchain check first card 1 of 6

600 lines, and the agent says it's all green

builds on: Silencing the checker: type escapes and suppressions, Verify by running, not by reading claims
You asked the agent to add a refund endpoint. It reports: *"Implemented. `tsc` and lint pass, all tests green."* The diff is 600 lines across 14 files. Where do you start? You could read from line 1. Or you could first let cheap machine checks hunt for whole classes of mistakes, before you spend any of your own attention.
Terms on this card
`tsc`
The TypeScript compiler, often run as a pure type check with `noEmit`.
the agent
The AI coding system doing the work: a chat assistant, IDE agent or terminal agent.
endpoint
A URL plus method (such as GET /items) that a web API answers requests on.
diff
The set of line changes between two versions of the code: removed lines start with '-', added lines with '+'.
green
A test or check that passes.
Learn this step by step on Bytewise
Lesson goal: Lean on strict type checking, linters, race detectors, the full test suite and CI as cheap, impartial checks before human review. Confirm the diff did not loosen their configuration or add suppressions to get them green. · the whole lesson