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 4 of 6
Rebuilding the date request
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
Map each failure back to its gap.
- It fixed the wrong dates, so the **goal** now names the CSV and the exact format.
- It looked in the wrong place, so the **context** names the file and says the screen is already right. That rules out the wrong fix.
- It renamed things, so the **constraints** limit edits to one file.
- It said “fixed” without proof, so the **check** asks for real output that you can read too.
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.
- context
- Everything the agent can currently see: your messages, the files it has read, command output and what it learned in training.
- constraints
- Limits you set on a task: what must not change, which files are off-limits, what the agent must not add.
- output
- What a program prints or writes when it runs, for example rows in a file or text in the terminal.
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