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.
Commit before every task: checkpoints card 5 of 6

One task, wrapped in checkpoints

builds on: Your first small task, end to end
Clean start, one step, run it, read the diff, commit. The agent edited `report.py` and created a new file, `csv_out.py`. The added lines check whether `--csv` was typed after the script name. If it was, they write CSV instead of the table. `git diff` shows only that edit: files git has never saved don't appear in it. `git status` lists both files, so check it and add the new file to the commit too.
$ git status
nothing to commit, working tree clean
▸ You: add a --csv option to report.py
⚙ Edit: report.py
⚙ Create: csv_out.py
$ python report.py --csv
name,total
alice,42
$ git diff
--- a/report.py
+++ b/report.py
@@ -12,2 +12,6 @@ def main():
     rows = load_rows()
+    if "--csv" in sys.argv:
+        from csv_out import write_csv
+        write_csv(rows)
+        return
     print_table(rows)
$ git status
Changes not staged for commit:
  modified:   report.py
Untracked files:
  csv_out.py
$ git add report.py csv_out.py
$ git commit -m "Add --csv option"
Terms on this card
commit
A saved snapshot of your project's files in git, with a message. You can return to it later.
git status
Terminal command that lists which files changed, and which files are new, since the last commit.
git diff
Terminal command that shows the exact lines changed in tracked files since the last commit. Removed lines start with '-', added lines with '+'.
diff
A listing of the differences between two versions of files, line by line.
CSV
Comma-separated values: a plain-text table format with one row per line and commas between the columns.
Learn this step by step on Bytewise
Lesson goal: Make a commit (or use the tool's snapshot feature) before each task and after each accepted step. Then every attempt starts from a known-good state and costs nothing to throw away. · the whole lesson