sp4-test-1770369255/.claude/commands/archive-feature.md
jordan c1279fd75a
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/manual/woodpecker Pipeline was successful
Initialize project from skeleton template
2026-02-06 09:14:16 +00:00

1.0 KiB

description argument-hint allowed-tools
Archive a completed and released feature <feature-slug> Bash

Archive feature: $ARGUMENTS

Instructions

1. Verify Feature is Released

sdlc feature show $ARGUMENTS --json

Confirm the feature current phase is released. Only released features can be archived.

2. Archive the Feature

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

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