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.
Reviewing the diff the agent made card 6 of 6

Keep the diff, not the summary

builds on: git status and reading a diff, Reading the agent's summary skeptically
What ends up in your project is the diff, not the summary. Check three things: - Every file belongs to the task, including new files that only `git status` shows. - Every `-` line was meant to go. - Every `+` line does exactly what you asked. After each fix, read the diff again.
Terms on this card
diff
A listing of exactly which lines were removed (-) and added (+) between two versions of files.
git status
Command that lists which files have changed since your last commit, which files are new (untracked) and which changes are staged.
summary
The message the agent writes at the end saying what it did. It is the agent's own claim, not a check.
git
A tool that records versions of a project's files over time. Its data lives in the hidden `.git` folder.
`git status`
Shows which branch you are on and which files have changes that are not yet committed.
Learn this step by step on Bytewise
Lesson goal: Read the full diff of a change with `git diff` or an editor view. Check that every changed file belongs to the task, that nothing unrelated was deleted, and that the logic matches what was asked. · the whole lesson