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 6 of 6

Tools first, then check the tools

builds on: Silencing the checker: type escapes and suppressions, Verify by running, not by reading claims
First confirm the diff didn't touch checker settings, CI steps or test selection, and added no suppressions. Then let the type checker, linter, full test suite and race detector run before you read the logic. Green only counts if the strictness, the rules and the set of tests are the same as on main.
Terms on this card
CI
Continuous integration: a server that automatically runs the build, checks and tests on every push or pull request.
linter
A tool that flags suspicious or disallowed code patterns beyond what the compiler rejects, e.g. ESLint, golangci-lint, clippy.
race detector
A runtime tool, e.g. Go's `-race` flag, that reports when goroutines access the same memory without synchronisation, at least one of them writing. It only sees the code paths the tests actually run.
the diff
The change under review in unified diff format: '-' lines removed, '+' lines added, unprefixed lines are unchanged context.
diff
The set of line changes between two versions of the code: removed lines start with '-', added lines with '+'.
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