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.
Spotting bad shortcuts in a change card 2 of 6

Hiding a problem looks like fixing it

builds on: Reviewing the diff the agent made
The agent works toward a visible goal: the error is gone, the command runs. Hiding the problem meets that goal just as well as solving it, and is often easier. The result works for the one case it tried and quietly fails elsewhere. These shortcuts sit in the right file, are small, and read plausibly. That is why a diff can pass the 'right files, right scope' check and still be wrong.
Terms on this card
diff
A line-by-line listing of changes between two versions of files. Lines starting with '-' were removed and lines starting with '+' were added.
pass
A Python statement that does nothing. It fills a spot where code is required but no work is done.
command
A line of text that tells the computer to run a program, typed in a terminal, for example `python src/cart.py`.
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.
Learn this step by step on Bytewise
Lesson goal: Recognise typical shortcuts: hardcoded values, swallowed errors (empty catch blocks), disabled checks or linters, special cases for one input, and 'TODO' stubs presented as finished work. · the whole lesson