gsd-cleanup

Archive completed phase directories into milestone-specific storage under .planning/milestones.

Updated May 22, 2026
One-click install
npx skills add https://github.com/yusaduymaz/loexai --skill gsd-cleanup-yusaduymaz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-cleanup
Source: https://github.com/yusaduymaz/loexai/tree/main/.codex/skills/gsd-cleanup
Command: npx skills add https://github.com/yusaduymaz/loexai --skill gsd-cleanup-yusaduymaz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the manual burden of cleaning up finished milestone phases by organizing accumulated phase directories into the correct archive structure.

Core Features & Use Cases

  • Identifies completed milestones and separates them from active work.
  • Produces a dry-run summary so you can review what will be archived before anything changes.
  • Moves past phase directories into milestone-specific archive folders while preserving cleanup history and project organization.

Quick Start

Ask the skill to review the current phase directories, show a dry-run archive plan, and archive the completed milestones after you confirm.

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 phase directories in a planning workflow?

To archive completed phase directories, the workflow identifies finished milestones under .planning/phases and moves them into milestone-specific storage folders. It preserves the historical phase organization inside .planning/milestones/v{X.Y}-phases during the cleanup process.

Can I review what gets archived before moving phase folders?

Yes, you can review what gets archived by generating a dry-run summary. This summary displays the completed milestones and their associated phase directories planned for archival, requiring your explicit confirmation before any files are actually moved.

How does milestone detection work for phase cleanup?

Milestone detection for phase cleanup works by scanning the .planning/phases directory to separate completed milestones from active work. It identifies finished phase folders and groups them by their corresponding milestone versions for accurate archival.

What is the best way to organize finished milestone phases in a repository?

The best way to organize finished milestone phases is to move them from .planning/phases into milestone-specific archive folders. This approach preserves cleanup history and maintains project organization under the .planning/milestones/v{X.Y}-phases structure.

Does phase archival require confirmation before moving directories?

Yes, phase archival requires confirmation gating before moving any directories. After generating a dry-run summary of the completed milestones, the workflow pauses and waits for your explicit approval to proceed with the actual archival.

When should I archive completed milestone phases instead of deleting them?

You should archive completed milestone phases instead of deleting them when you need to preserve cleanup history and maintain historical project organization. Archival moves the directories into milestone-specific storage rather than permanently removing them.