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.
Giving the right context: files, errors, examples
card 2 of 6
Your description is a guess about a guess
builds on: What the agent can and cannot see, Reading an error message and stack trace
The agent has only your words. It must guess which file, which error and what "wrong" means. It reads files it *thinks* are relevant and may "fix" something unrelated.
A description is your interpretation, and it loses detail. Here it is even inaccurate: nothing "came out wrong", the program crashed. The raw error holds the exact value, file and line, often including the clue you did not notice. An example of the result you want can't be misread. Evidence beats prose because the agent can act on it directly.
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.
Lesson goal: Point the agent at specific files, paste the exact error output, and give an example of the desired result instead of describing it vaguely. Explain why precise evidence beats a long description. ·
the whole lesson