feat-dev-e2e/.claude/commands/archive-feature.md
jordan a4980a5bd1
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/manual/woodpecker Pipeline was successful
Initialize project from skeleton template
2026-02-03 02:18:50 +00:00

48 lines
1.0 KiB
Markdown

---
description: Archive a completed and released feature
argument-hint: <feature-slug>
allowed-tools: Bash
---
Archive feature: $ARGUMENTS
## Instructions
### 1. Verify Feature is Released
```bash
sdlc feature show $ARGUMENTS --json
```
Confirm the feature current phase is `released`. Only released features can be archived.
### 2. Archive the Feature
```bash
sdlc archive $ARGUMENTS
```
This moves the feature from active tracking to the archive. The `.sdlc/features/$ARGUMENTS/` directory and its artifacts are preserved in git history.
### 3. Confirm Completion
```bash
sdlc feature list --json
```
Verify the feature no longer appears in the active features list.
### 4. Report
Confirm:
- Feature slug that was archived
- Previous phase: `released`
- Status: archived and removed from active tracking
## Critical Rules
- ONLY archive features in the `released` phase
- NEVER archive features that are still in progress
- This is a cleanup action -- it does not delete git history
- ALWAYS verify the feature is released before archiving