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 3 of 6

The checkpoint rhythm

builds on: Your first small task, end to end
1. **Before:** run `git status`. You want `nothing to commit, working tree clean`. If it isn't clean, review what's there and commit it first. 2. **Task:** give the agent one step. 3. **Accept:** you ran the result and read the diff? Commit, with a message saying what changed. 4. **Reject:** return to the last checkpoint and retry. Exact undo commands come in a later lesson. A tool's own snapshot or rewind helps, but it may miss changes made by commands the agent ran. A git commit records the files you add to it, no matter whether the agent, its commands or you changed them.
Terms on this card
commit
A saved snapshot of your project's files in git, with a message. You can return to it later.
checkpoint
A git commit (or a tool's built-in snapshot) made before a task, so you can return to that exact state.
git status
Terminal command that lists which files changed, and which files are new, since the last commit.
working tree clean
Git's way of saying nothing in your folder has changed since the last commit, and there are no new files.
snapshot
A saved copy of the files at one moment. Some agent tools make their own, separate from git.
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