gsd-cleanup

Archive completed milestone phase directories into versioned milestone folders after dry-run confirmation.

4|1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/lgwanai/openforce --skill gsd-cleanup-lgwanai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-cleanup
Source: https://github.com/lgwanai/openforce/tree/main/skills/gsd-cleanup
Command: npx skills add https://github.com/lgwanai/openforce --skill gsd-cleanup-lgwanai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves clutter and confusion caused by accumulated phase directories from completed milestones in your planning workspace.

Core Features & Use Cases

  • Milestone-aware cleanup: Finds completed milestones and targets the corresponding .planning/phases/ phase directories for archiving.
  • Deterministic archive layout: Moves archived content into .planning/milestones/v{X.Y}-phases/ to keep history organized by version.
  • Dry-run with confirmation: Produces a dry-run summary first, then archives only after you explicitly confirm.

Quick Start

Run the gsd-cleanup skill to archive completed milestone phase directories from .planning/phases/ into .planning/milestones/v{X.Y}-phases/ after reviewing the dry-run summary and confirming the action.

Frequently Asked Questions about gsd-cleanup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I archive completed milestone phase directories in my planning workspace?

To archive completed milestones, this skill targets accumulated phase directories in your planning workspace and moves them into versioned historical folders. It operates only after generating a dry-run summary and receiving your explicit confirmation.

What is the best way to organize old planning phases without losing versioned history?

The best way to organize old planning phases while maintaining versioned history is to move them into deterministic milestone archives. This skill relocates phase directories into `.planning/milestones/v{X.Y}-phases/` folders, keeping history organized by version.

Can I preview directory changes before archiving planning phases?

Yes, you can preview directory changes before archiving planning phases because this skill produces a dry-run summary. It identifies completed milestones and shows you exactly what will be moved, ensuring directories are only archived after explicit user confirmation.

Does this milestone cleanup workflow require a specific directory structure?

Yes, this milestone cleanup workflow requires project teams to maintain a `.planning/phases/` directory across milestone cycles. It specifically targets this structure to find accumulated phase directories and move them into `.planning/milestones/v{X.Y}-phases/`.

When should I run a workflow cleanup for completed milestones?

You should run a workflow cleanup for completed milestones when accumulated phase directories cause clutter and confusion in your planning workspace. This skill targets completed milestones to prevent long-term disorganization by archiving their phase directories.