What problem does it solve?
This Skill streamlines the finalization and archival of an OpenSpec change by validating completion, prompting the user for decisions, optionally syncing delta specs, and moving the change into a dated archive folder so repository state remains organized and auditable.
Core Features & Use Cases
- Guided Selection: Prompts the user to select an active change when the name is not provided, avoiding accidental archives.
- Completion Checks: Uses openspec CLI status and tasks files to detect incomplete artifacts or tasks and requests confirmation before proceeding.
- Delta Spec Assessment & Sync: Analyzes delta specs versus main specs, summarizes diffs, and offers to sync before archiving.
- Safe Archival Operation: Creates a dated archive folder, verifies target non-existence, preserves .openspec.yaml, and moves the change directory.
- Use Case: Maintainers finalizing a completed feature or spec change and wanting a reproducible, auditable archive with optional spec synchronization.
Quick Start
Ask the assistant to archive the OpenSpec change named payment-api, confirm any warnings about incomplete artifacts or tasks, and sync delta specs if desired.