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 6 of 6
Remember
builds on: Running and trying the result yourself, Spotting bad shortcuts in a change, What you stay responsible for
Before every commit: check the summary against the diff, run it yourself, scan for shortcuts, and make sure you could explain it. Scale the depth with risk. A typo needs a glance at the diff. Deleting data, money or logins need every line, extra edge cases and a second reviewer.
Terms on this card
- diff
- A listing of exactly which lines changed in which files. Removed lines are marked '-' and added lines '+'.
- commit
- A saved snapshot of your project in git. Committing a change means you accept it into the project's history.
- summary
- The message the agent writes at the end saying what it did. It is the agent's own claim, not a check.
- edge cases
- Unusual or extreme inputs, like a leap day, an empty list or a negative number, where code often breaks.
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