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.
Asking for a plan before any edits
card 2 of 6
A plan shows how it understood you
builds on: Describing a task: goal, context, constraints, check
The agent acts on its *own reading* of your prompt. A prompt can be clear to you and still mean something else to the agent. If you ask for a plan first, its reading comes back in plain sentences: which files it will change, what approach it will take, and what it assumed. Fixing a wrong sentence takes seconds. Finished code looks convincing, so the same misunderstanding is harder to spot and costs far more to untangle.
Terms on this card
- 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.
- prompt
- The message you type to the agent to give it a task or instruction.
Lesson goal: Ask the agent to explore and propose a plan without changing files, using a plan or read-only mode or a plain instruction. Explain why this reveals misunderstandings before they become code. ·
the whole lesson