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.
Describing a task: goal, context, constraints, check
card 1 of 6
“Fix the date bug” and three surprises
builds on: What the agent can and cannot see, The shape of a session: task to review, What agents do well and what they do badly
Your app exports a report as a CSV file. The dates in it come out as `03/04/2024` (4 March), and you want `2024-03-04`. You type:
▸ You: fix the date bug
The agent reads several files. It edits the date code for the *on-screen* report, renames a few things along the way, and replies:
◂ Agent: Fixed the date formatting.
You open the CSV. It still says `03/04/2024`. What went wrong?
Terms on this card
- CSV
- Comma-separated values: a plain text file of table data, one row per line, with columns separated by commas. Spreadsheets can open it.
- 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: Write a task prompt that states the goal, the relevant files or background, the limits (don't touch X, keep the API) and how success will be checked. Explain which missing piece causes which typical failure. ·
the whole lesson