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.
Doing a bigger change plan-first, step by step
card 1 of 6
The plan is approved. Now what?
builds on: Reviewing and editing a plan, Sizing and splitting tasks, Commit before every task: checkpoints, Verifying before you accept a change
You want CSV export on your app's reports page. You asked the agent for a plan and fixed two wrong assumptions in it. It now has five steps: build the export rows, format dates, add the download, add a button, and test the whole export end to end.
The tempting next message is `▸ You: Looks good, go ahead.` The agent would then do all five steps in one go. What could go wrong?
Terms on this card
- CSV
- Comma-separated values: a plain text file format for tables, one row per line, columns separated by commas. Spreadsheets open it.
- test
- A small piece of code that runs part of your program and checks the result matches what's expected, reporting pass or fail.
- 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.
- build
- To generate a project's runnable output, for example the files in `dist/`, from its source code. Building again overwrites the old output.
- export
- A command in macOS/Linux terminals that sets an environment variable for that terminal window and the programs started from it.
Lesson goal: Run a multi-step change by approving a plan, saving it to a file, executing one step at a time, and verifying and committing after each step. Re-plan when reality differs from the plan. ·
the whole lesson