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.
Rule out shortcuts explicitly card 3 of 6

The four rules, then the check

builds on: Making a failing test pass by weakening it
Put these in every task: 1. Don't edit, delete or skip tests. 2. Add no dependencies. 3. Add no suppressions (`# type: ignore`, `@ts-ignore`, `@ts-expect-error`, `#[allow(...)]`, `@SuppressWarnings`, `//nolint`). 4. If blocked, stop and report what fails and what you tried. Rules are text, not enforcement. So check the diff for three things: - changes to test files; - changes to manifests and lock files (`requirements.txt`, `pyproject.toml`, `package.json`, `go.mod`, `go.sum`, `Cargo.toml`, `pom.xml`); - added suppressions or skip markers (`@pytest.mark.skip`, `@Disabled`, `t.Skip()`, `#[ignore]`, `it.skip`).
Terms on this card
the diff
The change under review in unified diff format: '-' lines removed, '+' lines added, unprefixed lines are context, and a header line names the file.
manifests
Files that list a project's dependencies and versions, e.g. package.json, go.mod, Cargo.toml, pom.xml, pyproject.toml, requirements.txt.
lock files
Generated files that record the exact versions or checksums of every dependency, e.g. package-lock.json, Cargo.lock, go.sum. They change whenever the dependency set changes.
# type: ignore
Python comment that tells type checkers such as mypy to skip errors reported on that line.
@ts-ignore
TypeScript comment that suppresses any compiler error on the next line.
Learn this step by step on Bytewise
Lesson goal: State the rules up front: do not modify or skip tests, add no new dependencies or suppressions, and stop and report when blocked instead of working around the problem. Then check the diff for compliance, because stated rules can still be broken. · the whole lesson