openspec-archive-change

Archive completed changes with openspec CLI and status JSON verification.

149|22|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/luzhenqian/ai-coding-lab --skill openspec-archive-change-luzhenqian
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openspec-archive-change
Source: https://github.com/luzhenqian/ai-coding-lab/tree/main/agent/dev-bot/.claude/skills/openspec-archive-change
Command: npx skills add https://github.com/luzhenqian/ai-coding-lab --skill openspec-archive-change-luzhenqian

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Archive completed changes in an experimental workflow to finalize work, preserve context, and enable future audits.

Core Features & Use Cases

  • Archive a completed change into the archive with a date-based folder.
  • Verify artifact completion via openspec status and prompt for user decisions when needed.
  • Sync delta specs against main specs if present, providing a clear summary before archiving.
  • Preserve metadata and prompts for reproducibility and traceability.

Quick Start

Select the completed change to archive and follow the prompts to finalize and store it.

Frequently Asked Questions about openspec-archive-change

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I archive a completed change in OpenSpec?

Archiving a completed change in OpenSpec involves selecting the finalized change and following CLI prompts. The process verifies artifact completion via status JSON and stores it in a date-based archive folder.

What is a delta spec and when do I need to sync it before archiving?

Delta specs represent incremental changes against main specs. You sync delta specs before archiving when present, ensuring main specifications are updated and providing a clear summary for traceability.

Do I need the openspec CLI to archive workflow changes?

Yes, the openspec CLI is required to archive workflow changes. It uses status JSON to verify artifacts and tasks are checked, and prompts user input for selecting which completed change to archive.

How does OpenSpec verify artifact completion before archiving a change?

OpenSpec verifies artifact completion by checking status JSON data before archiving. If artifacts are incomplete or tasks remain, the workflow prompts for user decisions to resolve the incomplete state.

What metadata is preserved when archiving an OpenSpec change?

When archiving an OpenSpec change, the workflow preserves relevant metadata and prompts to ensure reproducibility and traceability. This retained context enables future audits of finalized work.