Skip to content
Development
Skill

/gsd-cleanup

Archive accumulated phase directories from completed milestones

From plugin
gsd-core
8k71 skills34 agents71 commands7 hooks
Install
$ npx -y skills add open-gsd/gsd-core --skill gsd-cleanup --agent claude-code

How it fires

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

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/gsd-cleanup

Context preview

The summary Claude sees to decide when to auto-load this skill.

Archive accumulated phase directories from completed milestones

SKILL.md

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

<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