plan-cleanup

Solid

Post-execution cleanup — remove planning artifacts and tech debt left behind after a plan runs. Trigger when the user runs /plan-cleanup, says 'clean up artifacts', 'remove the plan file', or 'no tech debt'. Not /plan-evolve (plans the next version) — plan-cleanup only removes leftovers and adds no new work.

AI & Automation 14 stars 1 forks Updated 2 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 84/100

Stars 20%
39
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# /plan-cleanup Remove planning artifacts and tech debt after a plan has been executed. No new work. No scope additions. Just cleanup. > **Structured execution spec:** [`protocol.yon`](protocol.yon). Read it for the canonical rules and step sequence; this file is explanation. The two must stay in sync — if you edit one, update the other and refresh the `@STAMP` date. ## Phase 1 — Identify Artifacts Scan for artifacts left behind by the planning and execution cycle: **Planning docs** (created by `/plan-create`, `/plan-phases`, `/plan-deep-dive`): - `PLAN.md` - `implementation_plan.md` - `task.md` (if created as a plan artifact, not a pre-existing project file) - Any `*-plan.md` files in the project root **Execution scaffolding** (created by `/plan-execute` or setup steps): - Temp files, stub files, or files explicitly marked as temporary in the plan - Any file whose sole purpose was to scaffold or support the plan run **Tool artifacts:** - `.claude/` directories created incidentally in skill or tool folders (not the user's project `.claude/`) For each candidate, verify: **is this file needed by the project going forward?** If yes, leave it. If it exists only because of the planning cycle, it's an artifact. **Gate:** list every artifact found before removing anything. If none found, declare "No artifacts found — workspace is clean" and stop. ## Phase 2 — Confirm and Remove Present the artifact list to the user: > "Found the following planning artifacts: > - [file...

Details

Author
allemaar
Repository
allemaar/open-skills
Created
3 months ago
Last Updated
2 weeks ago
Language
JavaScript
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

plan

Structured planning for multi-step tasks. Use when starting features requiring 3+ steps, migrating or refactoring large codebases, or when task complexity clearly exceeds a single change.

35 Updated 2 days ago
BULDEE
AI & Automation Listed

cleanup-artifacts

Use in /implement at the draft→ready boundary, before publish-pr's squash, to delete this branch's transient plan/spec artifacts so they don't ship in the PR. Deletes .claude/plans/<branch>.md (flattened name). Distinct from repo-setup's prune of previously-merged branches' artifacts.

3 Updated 2 weeks ago
ethanaubuchon
AI & Automation Solid

plan-create

Propose a phased, gated implementation plan before any work begins. Trigger when the user runs /plan-create, says "make a plan", "plan this out", "design before coding", "let's plan first", "architect this", or asks for a phased approach before implementation. Also trigger proactively when a task is complex enough that jumping straight to execution would be risky — multi-file changes, new features, architectural shifts, refactors spanning multiple components, or any task where misalignment early would be expensive to fix later. Output: a structured PLAN.md with phases, changes, risks, and verification criteria. Design only — no implementation code is written during /plan-create. Use plan-phases to restructure an existing plan, plan-execute to run an approved plan, plan-deep-dive to inspect a plan, plan-evolve to evolve shipped work, and plan-cleanup after execution.

14 Updated 2 weeks ago
allemaar