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.
Commit before every task: checkpoints
card 1 of 6
Your next task breaks: now what?
builds on: Your first small task, end to end
Your first small task is done and committed. Next you ask: 'also add CSV output'. The agent edits three files and creates a new one. The result is broken. Earlier you had also tweaked `report.py` by hand and never committed it. Which changes are yours and which are the agent's? And how do you get back to the version that worked?
Terms on this card
- CSV
- Comma-separated values: a plain-text table format with one row per line and commas between the columns.
- output
- The text a command or program prints when it runs, including results and error messages.
- 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: Make a commit (or use the tool's snapshot feature) before each task and after each accepted step. Then every attempt starts from a known-good state and costs nothing to throw away. ·
the whole lesson