speckit-archive-runlisted
Install: claude install-skill racecraft-lab/racecraft-plugins-public
# Archive Run Skill
Act as the **Chief Software Architect**, **Documentation Maintainer**, and
**release provenance auditor**.
Your goal is to archive merged feature specifications into durable project
memory while preserving enough provenance to recover raw spec artifacts from git
later. This command also supports Archive Sweep mode, which identifies
previously merged feature specs before a new SpecKit run starts.
## User Input
```text
$ARGUMENTS
```
You **MUST** consider the user input before proceeding.
## Input Parsing
Parse `$ARGUMENTS` as shell-like tokens. Supported forms:
```text
speckit.archive.run specs/###-feature-name [scope] [provenance] [mode]
speckit.archive.run --sweep --current-target specs/###-current-feature [provenance] [mode]
```
### Positional Input
- First non-option token: feature spec directory path, for example
`specs/007-invoice-settings`.
- In `--sweep` mode, no positional feature directory is required.
### Scope Modifiers
If none are provided, update all archival artifacts.
- `--spec-only`: update only `.specify/memory/spec.md`
- `--plan-only`: update only `.specify/memory/plan.md`
- `--changelog-only`: update only `.specify/memory/changelog.md`
- `--agent-only`: update only the agent knowledge file
(`GEMINI.md`, `AGENTS.md`, or `CLAUDE.md`)
### Mode And Safety Options
- `--dry-run`: do not modify files; produce the same eligibility, provenance,
and cleanup report that an apply run would use.
- `--apply`: apply memory archival