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.
Sizing and splitting tasks
card 4 of 6
Splitting the accounts request
builds on: Describing a task: goal, context, constraints, check, Git commits as snapshots you can return to
Same goal, four steps:
1. **Sign-up saves a user.** Check: sign up, restart the app, try the same email again and get an error.
2. **Login and logout.** Check: log in and see your email at the top; log out and it's gone; a wrong password is refused.
3. **Favourites per user.** Check: two users see different favourites.
4. **Password reset**, later. Check: the reset link sets a new password, and the old one stops working.
Each step is a small set of changes you can read. You commit after each check passes.
Terms on this card
- commit
- A saved snapshot of your whole project in git, with a message. You can return to it later.
- log
- Lines of text a program prints while it runs, describing what it is doing or what went wrong.
Lesson goal: Judge whether a task is small enough to review in one sitting. Split a large request into steps that each end in a checkable, committable state. ·
the whole lesson