← ClaudeAtlas

epic-archivelisted

Composable operations that keep docs/epics.md from growing without bound — collapse a closed epic's story detail to a summary row, and cut a shipped release into an archive file. Called by /retrospective. Directly invocable as /epic-archive.
rterakedis/leanwheel-skills · ★ 2 · AI & Automation · score 65
Install: claude install-skill rterakedis/leanwheel-skills
# Epic Archive (Composable) `docs/epics.md` is read in full many times over a project's life, and every shipped story's body there duplicates its story file in `docs/epics/{N}-{M}-{slug}.md` (DD-55). This skill removes that duplication in two layers: - **CONDENSE** — at epic close, collapse the epic's per-story bodies to one summary row each. Bounds growth *within* a release. - **CUT-RELEASE** — at a phase/release boundary, move the whole active `docs/epics.md` into `docs/epics/releases/` and seed a fresh one for the next phase. **Iron rule — condensing is not deleting.** Every collapsed story keeps its id, title, status, and a link to its story file. A story with no file, or a file that is not `status: done`, is **never** collapsed. Both ops are cheap structured edits over one file — no subagent — and idempotent: re-running no-ops. Directly invocable: `/epic-archive` — report which epics are collapsible and whether a release cut is available, then offer to run them. Also called as a composable step by `/retrospective`. Composes with: - `docs/epics/{N}-{M}-{slug}.md` — the story files that become the source of truth for collapsed detail. - `skills/deferred/SKILL.md` — re-homing any deferred item whose `Scheduled As` story lands in a cut release. - `skills/github-tracking/SKILL.md` — milestones/issues are untouched by both ops (numbering stays continuous; see below). --- ## Activation 1. Require `docs/epics.md`. If absent, report `No docs/epics.md — nothing to archive