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 5 of 6
A request built from evidence
builds on: What the agent can and cannot see, Reading an error message and stack trace
Command, pasted error, location, example, and a limit on what to touch. Your own interpretation is one short line, labelled as a suspicion. (The last error line is wrapped here to fit your screen. In a real message, paste it unchanged.)
▸ You: `python import.py data.csv` fails.
Output, copied as-is:
Traceback (most recent call last):
File "import.py", line 12, in <module>
rows = parse(csv_path)
File "src/loader.py", line 42, in parse
amount = float(row["amount"])
ValueError: could not convert string to float:
'1,250.00'
I suspect `parse()` in `src/loader.py`.
Example: '1,250.00' should become 1250.0.
Only change that file.
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