teardown
Skill2 starsChanged 3 months agoMITView on GitHub
Remove or roll back the feature-flow kit from THIS project, safely and reversibly. Two scopes: "clean up leftovers" deletes build-time material (_kit/, *.template.*, CLAUDE.snippet.md, old .bootstrap-backup snapshots) while keeping the working config; "uninstall" returns the project to its pre-kit state from a backup (or git). Trigger when the user says "remove the kit", "uninstall the kit", "clean up the kit leftovers", "roll back bootstrap", or "/teardown". DO NOT TRIGGER to INSTALL/adapt the kit (use /bootstrap) or to pull a newer kit version or re-adapt it (use /update-kit) — this skill only removes or rolls the kit back.
- Deletes or force-pushes
6 other projects use a version of this.
Adopted by
Most recently taken up by
- blueclover22/mw_agent_kittheir own version, first seen Nov 4, 2026
- elvarofficial/teardowntheir own version, first seen Nov 1, 2026
- jakubkrehel/skillstheir own version, first seen Oct 25, 2026
- Scino/fstacktheir own version, first seen Oct 25, 2026
- OlegTestov/prove-it-minitheir own version, first seen Oct 20, 2026
- palpen/claude-skillstheir own version, first seen Apr 14, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- jakubkrehel/skills★ 12ksame name
- elvarofficial/teardown★ 538same name
- Scino/fstack★ 18same name
- blueclover22/mw_agent_kit★ 1same name
- OlegTestov/prove-it-mini★ 1same name
- palpen/claude-skills★ 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 repository48 other files it gives its agents.
- analystSkill
- api-designSkill
- arch-healthSkill
- audit-qualitySkill
- audit-securitySkill
- bootstrapSkill
- clean-mvpSkill
- close-epicSkill
- codebase-designSkill
- code-reviewSkill
- decomposeSkill
- deploySkill
- depsSkill
- diagnoseSkill
- discoverSkill
- distillSkill
- domain-modelSkill
- epic-statusSkill
- grillSkill
- grill-with-docsSkill
- handoffSkill
- ideaSkill
- implementSkill
- incidentSkill
- onboardSkill
- perfSkill
- preflightSkill
- prepareSkill
- prompt-masterSkill
- prototypeSkill
- refactorSkill
- retroSkill
- revisitSkill
- rolloutSkill
- scaffoldSkill
- select-techSkill
- spikeSkill
- sweepSkill
- tddSkill
- testSkill
- test-specSkill
- threat-modelSkill
- to-issuesSkill
- to-prdSkill
- triageSkill
- update-kitSkill
- which-skillSkill
- writing-skillsSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
Kit present?: Look for .claude/_kit/, .claude/PROJECT.md, .claude/.kit-manifest.json, kit skills under .claude/skills/ (e.g.
- Distinctive: line 37
Git?: Run git rev-parse --is-inside-work-tree — if tracked, git is the safest restore path.
- Very specific: line 58
Do not touch the working config: .claude/rules/, .claude/skills/, .claude/agents/, .claude/hooks/, .claude/commands/, .claude/PROJECT.md, …
- Distinctive: line 91
Confirm before deleting: Always print the exact path list and get an explicit yes.
- Distinctive: line 95
Prefer restore over guess: Use a backup or git first.
“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
/teardown — clean up or uninstall the kit
You remove kit material from the project safely. Confirm the exact scope first, prefer restoring from a backup over guessing, never touch app code, and report precisely what you removed or restored.
Work top-to-bottom.
Phase 0 — Detect what's installed and what backups exist
- Kit present? Look for
.claude/_kit/,.claude/PROJECT.md,.claude/.kit-manifest.json, kit skills under.claude/skills/(e.g.bootstrap,discover,implement), and thefeature-flow-kit:begin/endblock inCLAUDE.md. (.claude/.kit-incoming/, if present, is a leftover/update-kitstaging dir — safe to remove.) - Backups?
- Bootstrap snapshots:
.claude/.bootstrap-backup/<ts>/(withcreated.txt). - Pre-copy backup the user made before copying the kit in: e.g.
.claude.bak/,CLAUDE.md.bak(README "Quick start" step).
- Bootstrap snapshots:
- Git? Run
git rev-parse --is-inside-work-tree— if tracked, git is the safest restore path; surface it as an option.
Report what you found before asking anything.
Phase 1 — Choose scope (ask)
Ask via AskUserQuestion:
- Clean up leftovers (default) — delete build-time material, keep the working config. → Phase 2.
- Uninstall the kit — return the project to its pre-kit state. → Phase 3.
Phase 2 — Clean up leftovers
Show the exact list, confirm, then remove only build-time material:
.claude/_kit, .claude/*.template.*, .claude/CLAUDE.snippet.md,
.claude/settings.stop-gate.example.json, .claude/.kit-incoming (a leftover /update-kit
staging dir), and old .claude/.bootstrap-backup/* snapshots. Keep .claude/.kit-manifest.json
— it's working state /update-kit needs for the next version bump (remove it only on a full uninstall).
Do not touch the working config: .claude/rules/, .claude/skills/, .claude/agents/,
.claude/hooks/, .claude/commands/, .claude/PROJECT.md, .claude/settings.json,
CLAUDE.md. And never touch project-owned content the kit's skills helped author but does
not own — CONTEXT.md, docs/adr/, and the issues under the backlog: that's the project's
domain knowledge and work, like app code. Report what was removed.
Phase 3 — Uninstall (restore the pre-kit state)
Pick the safest available path, in this order:
- Pre-copy backup present (
.claude.bak/,CLAUDE.md.bak) → confirm, then restore it wholesale: replace.claude/with the backup andCLAUDE.mdwithCLAUDE.md.bak. Offer to delete the.bakcopies once the user confirms the project looks right. - Under git → don't delete blindly; show the user the commands and let them run them:
- tracked files:
git checkout -- .claude CLAUDE.md - preview untracked kit files:
git clean -nd .claude→ thengit clean -fd .claudeto remove.
- tracked files:
- No backup, no git → best-effort manual removal. Confirm the list first, then delete
kit-installed paths:
.claude/_kit, the kit skills/agents/hooks/commands,rules/_generic/and installed pack rules,.claude/PROJECT.md,.claude/settings.json,*.template.*,CLAUDE.snippet.md,.claude/.kit-manifest.json,.claude/.kit-incoming,.bootstrap-backup/; and strip thefeature-flow-kit:begin…endblock fromCLAUDE.md(delete the file if the kit created it and it's now empty). Then strip the matching block from.gitignore: since this path has no backup, copy.gitignoreaside first (or show the diff and confirm), remove only the delimited block, and leave the rest intact. Warn the user: without a backup, project-owned files that shared a name with kit files can't be told apart — review the list before confirming.
Report what was restored or removed, and what (if anything) the user should check by hand.
Hard rules
- Confirm before deleting. Always print the exact path list and get an explicit yes.
- Never touch app code — or project-owned docs the kit authored but doesn't own
(
CONTEXT.md,docs/adr/, backlog issues). Only.claude/, the kit'sCLAUDE.mdblock, and the kit's delimited block in.gitignore(the rest of.gitignoreis the project's — leave it). - Prefer restore over guess. Use a backup or git first; manual removal is the last resort and is always flagged as best-effort.
- Idempotent. Re-running after a partial teardown just removes whatever still remains.
See also
/bootstrap— install and adapt the kit (the inverse of teardown)./update-kit— pull a newer kit version instead of removing; needs.kit-manifest.json, which "clean up leftovers" deliberately keeps.
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.

