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 3 of 6
Checklist before you read the logic
builds on: Silencing the checker: type escapes and suppressions, Verify by running, not by reading claims
1. `git diff --stat main`: was any checker or CI config touched? Look for `tsconfig.json`, `pyproject.toml`, `.eslintrc*` / `eslint.config.*`, `.golangci.yml`, `Cargo.toml`, CI workflow files and test config. Any change there needs a reason tied to the task.
2. Grep the added lines for suppressions: `ignore`, `disable`, `nolint`, `noqa`, `allow`, `expect-error`, `SuppressWarnings`.
3. Now run the full set, yourself or in CI: strict type check, linter, the whole test suite, and `go test -race` for Go code that runs goroutines.
4. Compare the test count with main.
Only then review by hand what the tools can't judge.
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