rollback
Skill16 starsChanged 5 months agoMITView on GitHub
Record a rollback event and print the maintainer-runnable git command for the most recent checkpoint of a feature. Use when an implementation attempt failed, an autonomous drive loop hit RETRY_THRESHOLD, or the user wants to abandon the current attempt and restore the pre-checkpoint state. Activate only when the connected project contains spec.yaml or the user explicitly names Cladding; ignore ordinary requests in uninitialized projects.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- kapadias/nonnatheir own version, first seen Oct 1, 2026
- harshanandak/forgetheir own version, first seen Sep 28, 2026
- elfrost/ai-patchlabtheir own version, first seen Sep 22, 2026
- nahid-sparktales/agent-dispatchertheir own version, first seen Sep 21, 2026
- suboss87/FDEOpstheir own version, first seen Sep 17, 2026
- ww-w-ai/bkit-claude-codetheir own version, first seen Aug 14, 2026
Used with
Projects with it also use audit, plan and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
OpenAISkillaudit
Audit or critique a product flow, journey, workflow, funnel, onboarding path, checkout path, settings path, screen, or multi-step product experience by capturing screenshots first, then reporting UX, design, and accessibility findings inline from that evidence. Use Figma only when the user explicitly asks for a board. Use when the user asks to audit, review, critique, inspect, assess, analyze, evaluate, or give feedback on a product experience.
Also in 5 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 3 projects that use this
AWSSkillship
Finalize dev work on an issue branch — update docs, push, and open a PR.
Also in 3 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- suboss87/FDEOps★ 950same name
- ww-w-ai/bkit-claude-code★ 600same name
- ww-w-ai/bkit-gemini★ 66same name
- nahid-sparktales/agent-dispatcher★ 59same name
- benmarte/autoimprove★ 5same name
- harshanandak/forge★ 4same name
- elfrost/ai-patchlab★ 1same name
- pvnarp/agent-skills★ 1same name
- kapadias/nonna★ 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.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/cladding-bootstrap.mdcCursor rule
- cladding-initSkill
- cladding-initSkill
- cladding-initSkill
- changelogSkill
- checkpointSkill
- checkSkill
- clarifySkill
- doctorSkill
- initSkill
- oracleSkill
- routeSkill
- serveSkill
- statusSkill
- syncSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
When the latest checkpoint has no gitHead (the project is not a git repo), the verb prints No git head pinned — restore spec.yaml manually …
- Distinctive: line 33
After an attempt that ended with the gate stuck, failing repeatedly, or erroring out.
- Distinctive: line 34
After a manual implementation attempt that introduced a regression you don't want to bisect.
- Distinctive: line 35
Before retrying the same feature so the next attempt starts from a known-good HEAD instead of an in-progress mess.
“Common” is measured: kept by at least 6 in 10 of the 9 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
Cladding rollback
Run clad rollback <featureId> from the project root. The verb is the partner of clad checkpoint (iron-law.md §2.5 Iron Law backbone Phase 1) — it stamps a feature_rolled_back event into .cladding/events.log.jsonl and prints the git checkout <sha> command the maintainer can run. Cladding does not run the checkout itself — the host's branch policy, dirty-working-tree state, or detached-HEAD concerns may demand a non-default strategy, so the decision stays with the maintainer.
-r, --reason <reason>— optional free-text reason recorded on the event payload. Useful for post-mortems and the Librarian's archival flow.
clad rollback F-001
clad rollback F-a3f9c2e1 --reason "specialist dispatched a regression on the L1 lint gate"The output is a single Pulse line plus the restoration command:
✓ rollback · F-a3f9c2e1 target head=<sha12> ts=<iso>
Run: git checkout <sha40>When the latest checkpoint has no gitHead (the project is not a git repo), the verb prints No git head pinned — restore spec.yaml manually from VCS history. instead.
Exit codes
0— rollback event stamped, restoration command printed.1— no prior checkpoint exists for the feature; nothing to roll back to. Runclad checkpoint <featureId>next time before mutating.2— feature id argument missing.
When to use
- After an attempt that ended with the gate stuck, failing repeatedly, or erroring out.
- After a manual implementation attempt that introduced a regression you don't want to bisect.
- Before retrying the same feature so the next attempt starts from a known-good HEAD instead of an in-progress mess.
Pair with
clad checkpoint <featureId> — stamps the safety net rollback restores from. See skills/checkpoint/SKILL.md.
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.

