SKILL.md
Archive a completed change. Checks completion, syncs features to living documentation, then moves to archive.
When it runs: after /beat:verify and before the PR or merge, on whatever branch the change lives on (normally the worktree branch /beat:design created). The archive is the last commit on that branch and ships in the same PR as the code, so main never carries an active beat/changes/<name> directory for a feature that has already landed. Archive itself hands off to the merge/PR step (step 7) — it is never something to do after the PR is merged. Archive never creates or switches branches: if the user is on the base branch, archive there and let step 7 handle branch state.
<decision_boundary>
Use for:
- Archiving a completed (or verified distilled) change
- Syncing features into
beat/features/living documentation - Final living-doc sweeps (glossary terms, last-mile ADR) before archiving
NOT for:
- Verifying implementation against spec (use
/beat:verify) - Implementing remaining tasks (use
/beat:apply) - Creating or modifying spec artifacts (use
/beat:design) - Waiting for the PR to be merged first — archive is the last commit on the branch, before the PR, and it invokes the merge/PR step itself