What problem does it solve?
This Skill finalizes and archives a completed change in the openspec experimental workflow, guiding the user through selection, validation, optional spec sync, and safe relocation of the change into a dated archive folder while preserving metadata.
Core Features & Use Cases
- Guided selection: Prompts the user to choose an active change when no name is provided to avoid accidental archival.
- Artifact and task validation: Uses openspec status output and task file parsing to detect incomplete artifacts or tasks and requests confirmation before proceeding.
- Delta spec assessment and optional sync: Compares delta specs to main specs, summarizes additions, modifications, removals, and renames, and offers a recommended sync workflow prior to archiving.
- Safe archival operations: Creates an archive directory using a date-prefixed name, checks for conflicts, moves the change directory atomically, and reports a clear completion summary.
Use case: After implementation is complete for a feature change, run this Skill to confirm completion, optionally sync specs, and move the change into openspec/changes/archive with an audit-friendly name.
Quick Start
Use the openspec-archive-change skill to archive the change named my-feature-change after confirming any warnings.