Complete and archive an OpenSpec change.
Finalizes and archives an OpenSpec change. Use when you've completed all tasks and want to clean up the active change, update specs, and prepare for commit.
/plugin marketplace add jbabin91/super-claude/plugin install workflow@super-claudeopenspec/Purpose
This command finalizes your work on an OpenSpec change:
Steps
Check for active change
openspec/active.jsonVerify all tasks complete
Read openspec/changes/<change-id>/tasks.md
Count incomplete tasks (lines with - [ ])
If any incomplete:
⚠️ Not all tasks are complete!
Remaining tasks: <X>
- (list first 5 incomplete tasks)
Options:
1. Continue anyway and mark as done (not recommended)
2. Cancel and finish remaining tasks
3. Save checkpoint and resume later (/openspec:checkpoint)
What would you like to do?
Wait for user decision
Final checkpoint
Run OpenSpec archive
openspec archive <change-id>Clear active change tracker
Delete or clear openspec/active.json:
{}
Or delete the file entirely
Guide CHANGELOG update
Show message:
✓ Change archived successfully!
Next steps:
1. Review the changes made by OpenSpec
2. Update CHANGELOG.md with this change:
## [Unreleased]
### Added
- **<change-id>** - <brief description>
3. Commit all changes:
git add .
git commit -m "feat: <change description>"
4. The change is now archived in:
openspec/changes/<timestamp>-<change-id>/
Use /openspec:work to start on the next change.
Show OpenSpec view
openspec view to show updated dashboardError Handling
Example Usage
Scenario 1: All tasks complete
User: /openspec:done
Assistant: [Checks tasks.md - all complete ✓]
Would you like to save a final checkpoint? (y/n)
User: y
Assistant: [Runs checkpoint flow]
[Runs openspec archive add-dark-mode]
[Clears active.json]
✓ Change archived successfully!
[Shows next steps]
Scenario 2: Tasks incomplete
User: /openspec:done
Assistant: ⚠️ Not all tasks are complete!
Remaining tasks: 3
- [ ] Add localStorage persistence
- [ ] Write tests for theme toggle
- [ ] Update documentation
Options:
1. Continue anyway (not recommended)
2. Cancel and finish tasks
3. Save checkpoint and resume later
What would you like to do?
User: 2
Assistant: Cancelled. Use /openspec:status to see remaining work.
Notes
openspec archive with pre/post checks