Skip to content
Development
Command

/cleanup

Archive accumulated phase directories from completed milestones

From plugin
gsd-core
8k71 skills34 agents71 commands7 hooks
Install
> /plugin marketplace add open-gsd/gsd-core
> /plugin install gsd-core@gsd-core

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/cleanup

Context preview

What this command does when you run it.

Archive accumulated phase directories from completed milestones

Command definition

cleanup.md
name: gsd:cleanup
description: Archive accumulated phase directories from completed milestones
allowed-tools:
  - Read
  - Write
  - Bash
  - AskUserQuestion
requires: [phase]

<objective> Archive phase directories from completed milestones into `.planning/milestones/v{X.Y}-phases/`.

Use when `.planning/phases/` has accumulated directories from past milestones. </objective>

<execution_context> @~/.claude/gsd-core/workflows/cleanup.md </execution_context>

<process> Execute end-to-end. Identify completed milestones, show a dry-run summary, and archive on confirmation. </process>

Ships withgsd-core

Git. Ship. Done. A light-weight meta-prompting, context engineering, and spec-driven development system for Claude Code, OpenCode, Antigravity CLI, Kimi CLI, Kilo, Codex, Copilot, Cursor, Windsurf, and more.

Get the whole plugin