gsd-cleanup

Archive completed milestone phase directories into .planning/milestones/v{X.Y}-phases/.

Updated Jan 28, 2025
One-click install
npx skills add https://github.com/aslaii/dotfiles --skill gsd-cleanup-aslaii
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-cleanup
Source: https://github.com/aslaii/dotfiles/tree/main/claude/skills/gsd-cleanup
Command: npx skills add https://github.com/aslaii/dotfiles --skill gsd-cleanup-aslaii

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Archive accumulated phase directories from completed milestones into a dedicated archive location to keep planning areas tidy.

Core Features & Use Cases

  • Identify completed milestones within .planning/phases/ and move their phase directories into .planning/milestones/v{X.Y}-phases/.
  • Provide a dry-run summary before archival to ensure safe operation across multiple milestones.
  • Ensure idempotent operation so repeated runs do not duplicate or misplace data.

Quick Start

Run the cleanup workflow to archive completed milestone phase directories into .planning/milestones/v{X.Y}-phases/.

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 automatically?

To archive completed milestone phases automatically, run the cleanup workflow to identify finished phases in .planning/phases/ and move them into .planning/milestones/v{X.Y}-phases/. The process shows a dry-run summary before moving any files on confirmation.

What is the best way to clean up accumulated phase directories from completed milestones?

The best way to clean up accumulated phase directories is using an automated archival workflow that moves completed milestone phases from .planning/phases/ into a dedicated .planning/milestones/v{X.Y}-phases/ location, keeping planning areas tidy without manual file management.

Can I preview what gets moved before archiving milestone phase directories?

Yes, you can preview changes before archiving milestone phase directories because the workflow provides a dry-run summary. This summary identifies completed milestones and shows exactly what will be archived before you confirm the operation.

Is it safe to run milestone phase cleanup multiple times on the same planning directory?

Yes, it is safe to run milestone phase cleanup multiple times because the workflow ensures idempotent operation. Repeated runs will not duplicate or misplace data, preventing accidental overwrites when archiving completed phases into .planning/milestones/.

Do I need a specific workflow configuration file to automate milestone archival?

Yes, you need the deterministic cleanup workflow defined at @$HOME/.claude/get-shit-done/workflows/cleanup.md to automate milestone archival. This configuration file ensures safe archival operations by dictating the identification and moving logic.

When should I not use automated archival for completed milestone phases?

You should not use automated archival for completed milestone phases when directories are still actively in use or lack the expected .planning/phases/ structure. The workflow targets completed milestones, so active phase directories remain untouched.