Go from never having used a coding agent to working productively and safely with one. The learner should understand what an agent is and how it differs from a chat assistant. They should choose a tool, set up a protected first project, describe tasks the agent can do well, and follow and verify its work. They should recover from bad changes, manage context, and plan bigger changes. They should also use tests as the definition of done and run everyday workflows (bug fixes, features, writing tests, codebase exploration, scripts, small tools, refactors). Throughout, they should keep secrets and systems safe and keep their own understanding growing instead of outsourcing it.
Verifying before you accept a change
card 1 of 6
The agent says it's done. Now what?
builds on: Running and trying the result yourself, Spotting bad shortcuts in a change, What you stay responsible for
You asked the agent to add a CSV export to your sales script. It replies:
◂ Agent: Added `--csv` export in `src/cli.py` and `src/export.py`. Tests pass.
You're about to type `git commit`. You've learned several separate checks. Which ones do you run, in what order? And does a one-word typo fix deserve the same effort as this?
Terms on this card
- CSV
- Comma-separated values: a plain-text table format where each line is a row and commas separate the columns. Spreadsheets can open it.
- commit
- A saved snapshot of your project in git. Committing a change means you accept it into the project's history.
- tests
- Small programs that run your code with known inputs and check the outputs, reporting pass or fail.
- script
- A small program, usually one file, that you run to do a task, like `report.py`.
- agent
- An AI tool that doesn't just chat. It reads your project's files, edits them and runs commands to carry out a task you give it.
Lesson goal: Apply a fixed acceptance routine before committing: check the summary against the diff, run it yourself, scan for shortcuts, and make sure you could explain it. Scale how deep you look with the risk of the change. ·
the whole lesson