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 6 of 6
Clean before, commit after
builds on: Your first small task, end to end
Check for a clean `git status` before every task, and commit after every step you accept. Then each attempt starts from a known-good state, `git status` and `git diff` show only that attempt, and throwing it away costs nothing.
Terms on this card
- commit
- A saved snapshot of your project's files in git, with a message. You can return to it later.
- git status
- Terminal command that lists which files changed, and which files are new, since the last commit.
- git diff
- Terminal command that shows the exact lines changed in tracked files since the last commit. Removed lines start with '-', added lines with '+'.
- known-good state
- A saved version of your project that you have checked works the way you want.
- diff
- A listing of the differences between two versions of files, line by line.
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