Quality

/archive

Use when planning a sprint transition, archiving completed work, or resetting the PRD for a fresh start. Archives completed PRD stories to docs.local/. Covers archive, cleanup, sprint transition, reset PRD. NOT for: deleting stories mid-sprint (use prd-manager), viewing PRD status (use ralph-status).

$ golems-cli skills install archive
Experimental
100% best pass rate
8 assertions
2 evals
fixtures
2 workflows

Updated 2 weeks ago

Archive completed stories to docs.local/prd-archive/ with full history preservation. Optionally reset the working PRD for a fresh start.

Available Scripts

Run these directly - standalone, no ralph.zsh dependency:

ScriptPurposeUsage
scripts/archive-snapshot.shCreate archive snapshotbash ~/.claude/commands/archive/scripts/archive-snapshot.sh
scripts/cleanup-completed.shArchive + remove completedbash ~/.claude/commands/archive/scripts/cleanup-completed.sh

Quick Actions

What you want to doWorkflow
Archive current PRD state (snapshot)workflows/archive-snapshot.md
Remove completed stories (cleanup)workflows/cleanup-completed.md

What Gets Archived

Each archive creates a timestamped directory:

docs.local/prd-archive/20260123-153000/
├── index.json           # PRD index at time of archive
├── stories/             # All story files (completed + pending)
│   ├── US-001.json
│   ├── US-002.json
│   └── ...
└── progress.txt         # Ralph progress log

Workflows

/archive:cleanup-completed/archive:archive-snapshot