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.
Give the context it can't find card 4 of 6

The same task, with the gaps closed

builds on: What the agent cannot see
Task: "Add CSV export in `app/reports/orders.py`, structured like `app/reports/invoices.py`. Parse dates with `parse_day` from `app/utils/dates.py`." Project instruction file, written once: "HTTP goes through `app/http.py` (httpx, shared timeouts and retries). Versions: see `poetry.lock`. Before saying done, run `make check` (lint, types, all tests)." Now the export, the parser and the check match yours. Every later task inherits the rules for free.
Terms on this card
project instruction file
A file in the repo that the agent loads into its context at the start of every task, holding durable rules, commands and conventions.
poetry.lock
The lockfile of Poetry, a Python dependency manager; it lists the exact installed version of every package.
CSV
Comma-separated values: a plain-text table format, one row per line, with fields separated by commas.
httpx
A Python HTTP client library, an alternative to the older `requests` library.
lint
Running a static checker that flags style problems and likely bugs without executing the code.
Learn this step by step on Bytewise
Lesson goal: Point the agent at the relevant files, existing helpers, examples to imitate, conventions, library versions and the commands for building and testing, and keep durable rules in a project instruction file. Explain which blind spot each piece of context closes. · the whole lesson