← ClaudeAtlas

archivelisted

Move old sprint files, design docs, and retros into the archive subtree — keeps only the latest 3 sprints active. Use when the user asks '/archive', 'archive sprint-XX', 'clean up old sprints', or after a long-running project accumulates too many stale sprint files.
Maximumsoft-Co-LTD/claude-flightdeck · ★ 1 · AI & Automation · score 75
Install: claude install-skill Maximumsoft-Co-LTD/claude-flightdeck
# /archive — Move Old Sprints to `historical/` Keep `docs/spec/sprints/`, `docs/designs/`, and `docs/spec/retros/` lean by moving anything older than the 3 most-recent sprints into a `historical/` (or `_archive/`) subfolder. Uses `git mv` — nothing is deleted. ## Token budget (MANDATORY) - Only `Glob` + `Grep` on sprint / design / retro filenames — never full-Read sprint contents. - Preview before moving. Confirm with user. ## Usage - `/archive` — preview + confirm (default behaviour) - `/archive sprint-S<N>` — archive one specific sprint - `/archive list` — show what is currently archived - `/archive restore sprint-S<N>` — restore a previously archived sprint ## Steps 1. **Scan** — `Glob` `docs/spec/sprints/sprint-*.md`, `docs/designs/sprint-*/`, `docs/spec/retros/sprint-*.md`. 2. **Sort by sprint number** (parse `S<N>` from the path). 3. **Keep the latest 3 sprints active.** Everything older is a candidate for archive. 4. **Show the preview**: list every file that will move + its destination path. Ask the user to confirm. 5. **Execute `git mv`** for each candidate → `docs/spec/sprints/historical/`, `docs/designs/historical/sprint-S<N>/`, `docs/spec/retros/historical/`. 6. **Update the historical INDEX** — `docs/spec/sprints/historical/INDEX.md` gets a new row per archived sprint with title + date archived. 7. **Refresh slim indexes** via `/index-refresh` so `docs/spec/sprints/INDEX.md` and `docs/spec/backlog-index.md` reflect the move. 8. **Commit** — `docs(archive):