undo
Skill0 starsChanged 5 days agoMITView on GitHub
Go back to an earlier saved point of a Builder project safely — lists the checkpoints in plain language and restores one without deleting history (new commit or new branch). Use when something broke and the user wants to go back, or runs /builder:undo.
- Deletes or force-pushes
- Commits and pushes
8 other projects use a version of this.
Adopted by
Most recently taken up by
- laz3rjenkins/atomic-commitstheir own version, first seen Nov 8, 2026
- buildomator/buildomatortheir own version, first seen Nov 4, 2026
- nguyenthanhtat/screen1-claudetheir own version, first seen Nov 1, 2026
- MFaizR77/turnbacktheir own version, first seen Oct 14, 2026
- manastalukdar/ai-devstudiotheir own version, first seen Oct 13, 2026
- kks0488/vibe-claudetheir own version, first seen Oct 11, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- buildomator/buildomator★ 102same name
- kks0488/vibe-claude★ 29same name
- hereinthehive/kickstart★ 4same name
- nguyenthanhtat/screen1-claude★ 2same name
- manastalukdar/ai-devstudio★ 1same name
- MFaizR77/turnback★ 1same name
- hailneed/agent-blackbox★ 0same name
- laz3rjenkins/atomic-commits★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 2 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 8
Read ${CLAUDE_PLUGIN_ROOT}/skills/_shared/tone.md and ${CLAUDE_PLUGIN_ROOT}/skills/_shared/state-rules.md.
- Very specific: line 10
If you have no shell tool, say that undoing needs a terminal: open this same folder in Claude Code and run /builder:undo.
- Distinctive: line 12
Never: use git reset --hard, git push --force, git checkout -- ., git clean, or anything else that deletes work or history.
- Very specific: line 16
Run git log --format='%h|%ad|%s' --date=relative -n 30, and show the builder: commits as a plain numbered list, newest first:
- Very specific: line 20
If there are uncommitted changes (git status --porcelain), say so.
- Very specific: line 35
add a one-line note to builder/decisions.md if a decision was undone.
- Distinctive: line 36
update the progress page.
- Very specific: line 38
Commit the state change: builder: undo to after T<n>.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Undo safely
Read ${CLAUDE_PLUGIN_ROOT}/skills/_shared/tone.md and ${CLAUDE_PLUGIN_ROOT}/skills/_shared/state-rules.md.
If you have no shell tool, say that undoing needs a terminal: open this same folder in Claude Code and run /builder:undo. Then stop.
Never use git reset --hard, git push --force, git checkout -- ., git clean, or anything else that deletes work or history.
1 · List the saved points
Run git log --format='%h|%ad|%s' --date=relative -n 30, and show the builder: commits as a plain numbered list, newest first:
3. After T3 — Booking form (yesterday)
If there are uncommitted changes (git status --porcelain), say so. Offer to save them first as a commit (builder: work in progress before undo) so nothing is lost.
2 · Choose and confirm
Ask which point to go back to, unless the user already said. Explain in plain words what will change ("the work from T4 and T5 will be undone; it stays in the history, so we can bring it back"). Get a clear yes. A "yes" already given in the request counts.
Offer two ways (recommend the first):
- Undo the later work (recommended):
git revert --no-edit <target-sha>..HEAD, where<target-sha>is the saved point the user chose (the range covers every commit after it). This creates new commits that cancel the later ones, so the history stays complete. Then check it worked:git diff <target-sha> -- . ':!builder'must print nothing. - Restore on a separate branch:
git switch -c builder/restore-<n> <target-sha>. The current version stays untouched on the original branch.
3 · Update the state
After restoring:
- set the undone tasks back to
pendinginstate.json; - set
currentPhaseand the steps to match; - add a one-line note to
builder/decisions.mdif a decision was undone; - update the progress page.
Commit the state change: builder: undo to after T<n>.
Tell the user what the project looks like now and what comes next (/builder:next).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

