Part 2, Build · Step 8
Work in small, committed steps
One feature at a time, a commit after each, and the repo as the record of what's true. It's how you keep an agent's work understandable and undoable.
- Time
- Every session
- Cost
- Free
Pagebee Builder, a free Mac app, hands this step to your agent: plan it, build it on a branch, or ship it.Get Pagebee Builder
Why it matters
An agent can change forty files in a minute. If those forty files are one commit called "updates", you can't tell what broke, and you can't undo half of it.
Small steps fix that. Ask for one thing, check it works, commit it with a message that says why, push it. If the next step goes wrong, you throw it away and you've lost ten minutes, not a day.
The repo is the source of truth. Not the chat, not your memory, not a doc somewhere else. If a decision matters, it's in the code, the brief or CLAUDE.md, committed. A new session, a new agent or a new developer can pick up from there.
Do this
- 1
Start each session by asking the agent to read the brief and tell you where things stand. Then pick the next feature from the brief.
- 2
Ask for a plan before code for anything bigger than a small change. In Claude Code, press Shift and Tab until you see plan mode, then describe the feature. Read the plan, push back, then let it build.
- 3
When it says it's done, try it yourself in the browser. Agents are confident; check.
- 4
Commit with a message that says why, then push. If it went wrong, ask the agent to throw away the uncommitted changes and try again with a clearer request.
- 5
For bigger features, ask for a branch and a pull request. You get a page on GitHub that shows every change, and you merge when you're happy.
Terminalgh pr list gh pr view --web
Read docs/brief.md and CLAUDE.md, then look at the last ten commits. Tell me in three sentences where the product is and which feature from the brief is next. Then plan that feature as a list of small steps, each of which leaves the app working. Wait for my go-ahead before building, and commit after each step.