From task to kept change: the six-step loop
This guide spells out the exact moves, from "I have something to do" to "I keep or I throw the change away". Every step says what you do, what you look at, and what…

This guide spells out the exact moves, from "I have something to do" to "I keep or I throw the change away". Every step says what you do, what you look at, and what proves it is right.
The words we use
- diff: the list of lines the agent added or removed. Command:
git diff. Lines starting with+were added, lines starting with-were removed. - check: a command that proves a behaviour: tests, type-check, lint, build.
- scope: the list of files and behaviours the change is allowed to touch.
- keep: the changes stay in your repository, you can commit them.
- throw away: you delete the changes. For one file:
git restore <file>.
Before using git restore, inspect git diff and preserve any changes that predate the task. Restore only files whose existing edits you have saved: the command discards all unstaged changes in those files.
Step 1: Describe the problem (five minutes)
You do: fill in templates/en/TASK-BRIEF.md, or write four lines anywhere:
- what happens now;
- what should happen;
- what must not move;
- how you will know it is fixed.
Then you hand it over: paste the brief into the session, or ask the agent to "read templates/en/TASK-BRIEF.md and apply it". This text, not your opening sentence, becomes its specification.
You look at: could you say "it is fixed" without opening the code? If not, the criterion is not clear yet.
Then you paste: prompts/en/01-inspect-repository.md.
Step 2: Explore first, without touching anything
You do: paste the exploration prompt. The agent must not modify any file.
You look at: do the files it cites exist? Are the commands it proposes really in the repository? An answer that sounds right proves nothing: check at least two details in the code.
Step 3: Approve the scope before any edit
You do: ask for the plan and the list of files involved, without allowing the write yet.
You look at:
- is the list of files it plans to modify inside your scope?
- is any product or technical choice still undecided? If so, answer before saying yes.
You say: "scope approved, go ahead" only when both points are clear.
Step 4: Let it work, one small step
You do: approve the requested change, not a rewrite.
You look at: nothing while it works. Come back to the next step as soon as it is done.
Step 5: Check it yourself
You do, in your terminal:
git status # which files moved
git diff # the detail, line by linethen run the repository checks. The exact commands are in AGENTS.md, section "Quality checks". You can also hand this step to the verifier agent, which runs them and reports the results.
You look at:
- does the diff stay inside the scope?
- do the added lines make sense, or did the agent "tidy up" something else on the way?
- are the tests you expected there now?
How far to go in the reading: do not re-read every line out of habit. Read the contract first, meaning the brief and the acceptance criteria, then the diff of the zones that carry risk: payments, data, permissions, core business logic. An interface is checked at its result first: ask for a walkthrough in a real browser, not "it works". A screenshot covers neither edge cases nor security.
Rule: a green check only proves what it exercises. A unit test does not prove a page renders. A type-check does not prove the site is deployed. When the change touches payments, data or permissions, human review stays necessary, whatever the quality of the tests.
Step 6: Decide, keep or throw away
| What you see | What you do |
|---|---|
| The diff is clean and the checks pass | Keep. Commit it if you want a trace. |
| One detail is wrong | Fix it. Name the line and the expected behaviour: "line 12, I want Y instead". |
| The agent went outside the scope | Throw it away. git restore <files> then start again at step 3. |
| You did not verify something | Write it down. What is not verified stays unverified: do not present it as settled. |
The summary table
| Step | You do | You look at | Proof |
|---|---|---|---|
| 1 Describe | the brief | you could tell whether it is fixed | observable criterion |
| 2 Explore | the exploration prompt | files and commands are real | paths checked in the code |
| 3 Approve | the plan | scope, open choices | explicit agreement |
| 4 Delegate | one small step | nothing, you wait | only the requested change |
| 5 Verify | git diff and checks | scope, lines, tests | commands run and results seen |
| 6 Decide | keep, fix or throw away | what stays unproven | decision recorded |
Three reflexes that prevent rework
- Delegate a coherent block, not micro-instructions. A series of small prompts loses the product thread. Hand over a piece small enough for you to verify its result, but complete enough to stand on its own.
- The agent is not the judge of its own work. After an important or sensitive implementation, ask for an independent opinion: that is exactly what the kit's
revieweragent does, reading the diff without having written a line. - Going back to a smaller task is a setting, not a failure. If the change becomes hard to understand, conflicts pile up, or the agent leaves the scope, reduce the size of the delegation and start again.
Where the kit skills fit in
root-cause-first: steps 1 and 2. No fix until the cause is proven.verify-before-done: step 5. Scope frozen, real checks, limits listed.review-a-change: steps 5 and 6. Full diff review, findings ordered by severity.
They load on their own when the topic arrives. You can also ask for them explicitly: "use the review-a-change skill on my diff".
First time? Take the short tour
- Read
guides/02-first-run-checklist.en.mdonce, to confirm the tool really reads your instructions. - Pick one small reversible task, with a result you can see.
- Follow the six steps above, even when some feel slow. They become a reflex after three or four tasks.
- Keep
TASK-BRIEF.mdandVERIFY-RECORD.mdnext to your project: they are your working files, not a form to fill in for show.
Example: fix a label
This is a fictional task. Ask: "Change the sign-in button label on the English page. Do not change navigation." Before starting, inspect Git status and preserve existing work. Ask the agent to locate the text and its test, then propose a plan.
After the change, read the diff: only the requested text should change. Run the relevant project check and record its command, output and limitations in the verification record. If the file already contained changes, do not discard them to undo the task.