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.
Workflow: understanding unfamiliar code
card 2 of 6
It learns the repo the same way you would
builds on: How a code project is laid out, Giving the right context: files, errors, examples, Confidently wrong: plausible is not correct
The agent doesn't know this repo in advance. It learns it by searching and opening files, which shows up as its ⚙ Read lines. A broad question gets a broad answer, often stitched together from the README, folder names and what similar projects usually do. A narrow question pushes it to open the real code, though it can still guess. A claim with a `file:line` reference can be checked in seconds.
Terms on this card
- repo
- Short for repository: a project folder whose history is tracked by git, holding all its code and files.
- README
- A text file at the top of a project that describes what it is and how to use or run it.
- file:line
- A reference to a precise spot in the code, e.g. `src/routes/auth.py:42` means line 42 of that file.
- 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: Use the agent as a guide to a new repo. Ask where things live, how a request flows through the code, and what a function is for. Ask for file and line references, check claims against the code, and write your own short map. ·
the whole lesson