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.
Triage a diff: where to look first card 6 of 6

Task, size, then the risky files

builds on: Scope creep and unasked-for changes in a diff, Making a failing test pass by weakening it
Reread the task and compare the diff's size to it. Next check tests, config/CI/dependency files, and error and security paths, and only then the core logic. Where any of these is touched, review deeply and run it. Where none is, a lighter pass is fine.
Terms on this card
diff
The change under review, shown line by line: lines starting with '-' are removed, '+' are added, others are unchanged context.
CI
Continuous integration: an automated system that builds the code and runs checks such as tests on every push or pull request.
the diff
The change under review in unified diff format: '-' lines removed, '+' lines added, unprefixed lines are unchanged context.
dependency
Something your code calls but doesn't own, such as a payment gateway, database, clock or another service.
pass
Python statement that does nothing; used as a body, it makes a function or handler an empty shell.
Learn this step by step on Bytewise
Lesson goal: Review in risk order: reread the task, then check changed or deleted tests, config, CI and dependency files, error paths and security-sensitive code, and compare the diff's size to the task's size. Decide how deep to review based on the risk. · the whole lesson