openspec-archive-change
Archive a completed change in the experimental workflow.
Skill by openspec
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/fangkunx-openspec-archive-change
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
openspec-archive-change- Description
- Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.
- License
- MIT
- Compatibility
- Requires openspec CLI.
- Metadata
- author: openspec · version: 1.0 · generatedBy: 1.3.1
- Instructions
- 105 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
Archive a completed change in the experimental workflow. **Input**: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes. **Steps** 1. **If no change name provided, prompt for selection** Run `openspec list --json` to get available changes. Use the **AskUserQuestion tool** to let the user select. Show only active changes (not already archived). Include the schema used for each change if available. **IMPORTANT**: Do NOT guess or auto-select a change. Always let the user choose. 2. **Check artifact completion status** Run `openspec status --change "<name>" --json` to check artifact completion. Parse the JSON to understand: - `schemaName`: The workflow being used - `artifacts`: List of artifacts with their status (`done` or other) **If any artifacts are not `done`:** - Display warning listing incomplete artifacts - Use **AskUserQuestion tool** to confirm user wants to proceed - Proceed if user confirms 3. **Check task completion status** Read the tasks file (typically `tasks.md`) to check for incomplete tasks. Count tasks marked with `- [ ]` (incomplete) vs `- [x]` (complete). **If incomplete tasks found:** - Display warning showing count of incomplete tasks - Use **AskUserQuestion tool** to confirm user wants to proceed - Proceed if user confirms **If no tasks file exists:** Proceed without task-related warning. 4. **Assess delta spec sync state** Check for delta specs at `openspec/changes/<name>/specs/`. If none exist, proceed without sync prompt. **If delta specs exist:** - Compare each delta spec with its corresponding main spec at `openspec/specs/<capability>/spec.md` - Determine what changes would be applied (adds, modifications, removals, renames) - Show a combined summary before prompting **Prompt options:** - If changes needed: "Sync now (recommended)", "Archive without syncing" - If already synced: "Archive now", "Sync anyway", "Cancel" If user chooses sync, use Task tool (subagent_type: "general-purpose", prompt: "Use Skill tool to invoke openspec-sync-specs for change '<name>'. Delta spec analysis: <include the analyzed delta spec summary>"). Proceed to archive regardless of choice. 5. **Perform the archive** Create the archive directory if it doesn't exist: ```bash mkdir -p openspec/changes/archive ``` Generate target name using current date: `YYYY-MM-DD-<change-name>` **Check if target already exists:** - If yes: Fail with error, suggest renaming existing archive or using different date - If no: Move the change directory to archive ```bash mv openspec/changes/<name> openspec/changes/archive/YYYY-MM-DD-<name> ``` 6. **Display summary** Show archive completion summary including: - Change name - Schema that was used - Archive location - Whether specs were synced (if applicable) - Note about any warnings (incomplete artifacts/tasks) **Output On Success** ``` ## Archive Complete **Change:** <change-name> **Schema:** <schema-name> **Archived to:** openspec/changes/archive/YYYY-MM-DD-<name>/ **Specs:** ✓ Synced to main specs (or "No delta specs" or "Sync skipped") All artifacts complete. All tasks complete. ``` **Guardrails** - Always prompt for change selection if not provided - Use artifact graph (openspec status --json) for completion checking - Don't block archive on warnings - just inform and confirm - Preserve .openspec.yaml when moving to archive (it moves with the directory) - Show clear summary of what happened - If sync is requested, use openspec-sync-specs approach (agent-driven) - If delta specs exist, always run the sync assessment and show the combined summary before prompting
From fangkunx/skills, MIT.
More from fangkunx/skills
- 0.474score
processkiller
fangkunx
Identify and terminate processes by port number, process name, or PID.
SkillCFreshness: CClaude Code +9 - 0.471score
opst-code-anysic
fangkun
分析已归档的 OpenSpec 变更代码,提取业务逻辑并自动归档到 openspec/<领域>/<模块>/ 知识库。继承 code2doc-kunge2013 的五段式文档生成逻辑,并扩展为版本化归档、三级索引维护。当用户提到"代码归档"、"业务逻辑归档"、"code-anysic"、"分析变更代码"时使用此技能。
SkillCFreshness: CClaude Code +9 - 0.469score
npm-publish
fangkunx
Publish npm packages with full troubleshooting for 2FA, token types, registry mirrors, and cross-platform issues.
SkillCFreshness: CClaude Code +9 - 0.469score
opst-business-search
fangkun
检索 openspec/<领域>/<模块>/ 知识库中已归档的业务逻辑文档。支持关键词检索、领域浏览、精确模块查看三种模式。当用户提到"业务检索"、"搜索业务逻辑"、"business-search"、"查找模块"时使用此技能。
SkillCFreshness: CClaude Code +9 - 0.247score
skill-loader
fangkunx
No description from the publisher yet.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 26, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0
- License
- MIT
- Repository
- github.com/fangkunx/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.448score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillAFreshness: A★ 3.2KClaude Code +9 - 0.198score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: C★ 13Claude Code +9 - 0.193score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: C★ 6Claude Code +9 - 0.190score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillBFreshness: BClaude Code +9 - 0.179score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: C★ 1Claude Code +9 - 0.179score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: C★ 1Claude Code +9 - 0.170score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: CClaude Code +9 - 0.170score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: CClaude Code +9 - 0.170score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: CClaude Code +9 - 0.170score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: CClaude Code +9 - 0.170score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: CClaude Code +9 - 0.170score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillCFreshness: CClaude Code +9
More from openspec
- 0.448score
openspec-new-change
openspec
Start a new OpenSpec change using the experimental artifact workflow.
SkillAFreshness: A★ 3.2KClaude Code +9 - 0.448score
openspec-ff-change
openspec
Fast-forward through OpenSpec artifact creation.
SkillAFreshness: A★ 3.2KClaude Code +9 - 0.448score
openspec-explore
openspec
Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements.
SkillAFreshness: A★ 3.2KClaude Code +9 - 0.448score
openspec-continue-change
openspec
Continue working on an OpenSpec change by creating the next artifact.
SkillAFreshness: A★ 3.2KClaude Code +9 - 0.448score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillAFreshness: A★ 3.2KClaude Code +9 - 0.448score
openspec-propose
openspec
Propose a new change with all artifacts generated in one step.
SkillAFreshness: A★ 3.2KClaude Code +9
Cite this page
openspec-archive-change skill. Agent Mart. https://agentmart.dev/skills/fangkunx-openspec-archive-change (last updated 2026-10-24)