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.
Invented APIs, flags, config keys and packages card 3 of 6

Check each unfamiliar name where it lives

builds on: Training cutoff and API drift
**Tells:** a name you know from another library or tool, an option passed in a free-form object, kwargs or config file, or a call on a path no test runs. **Cheap checks against the installed version:** - Method or import: the project's own build or type check, so its pinned versions apply: `cargo check`, `go build`, `tsc --noEmit`, `mypy`, the Maven build for Java. In Python, import and call it. - CLI flag: `tool --help`. - Config key: that version's docs or schema. - Package: the registry (`npm view`, pypi.org, crates.io, pkg.go.dev), before installing. Someone else may already have registered an invented name, and installing it can run their code.
Terms on this card
kwargs
Python keyword arguments, passed as name=value. A function taking **kwargs accepts any name, so a misspelled or invented option may be silently ignored.
tsc --noEmit
Runs the TypeScript compiler to type-check the project without writing output files.
mypy
A static type checker for Python. It reports calls to names that don't exist, for packages that ship type information or have type stubs installed.
cargo check
Rust command that compiles the code just far enough to report errors, without producing a binary.
npm view
An npm command that looks up a package in the npm registry and shows its details and versions, without installing it.
Learn this step by step on Bytewise
Lesson goal: Recognise idiomatic-looking calls to methods, CLI flags, config options or packages that do not exist or belong to a different version: removed APIs, old import paths, options the installed version lacks. Check cheaply that each one exists, using the compiler, the docs, `--help` or the registry. · the whole lesson