openspec-archive-change

Archive completed OpenSpec changes after validating artifacts and tasks.

57|17|Updated May 5, 2025
One-click install
npx skills add https://github.com/jerome-benoit/freqai-strategies --skill openspec-archive-change-jerome-benoit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openspec-archive-change
Source: https://github.com/jerome-benoit/freqai-strategies/tree/main/.opencode/skills/openspec-archive-change
Command: npx skills add https://github.com/jerome-benoit/freqai-strategies --skill openspec-archive-change-jerome-benoit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Archive completed OpenSpec changes to keep workflows clean and historical context, while ensuring artifacts, tasks, and delta specs are validated before archiving.

Core Features & Use Cases

  • Prompt-driven change selection when a target change is not provided.
  • Artifact and task status validation using openspec status --json to prevent premature archiving.
  • Delta-spec synchronization assessment and optional syncing prior to archiving.
  • Safe archiving that preserves metadata and the .openspec.yaml during move, with a dated archive path.
  • Comprehensive summary of actions performed and any warnings.

Quick Start

Provide the change name to archive and follow the prompts to complete the archival process.

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 completed OpenSpec changes while preserving history?

To archive completed OpenSpec changes safely, the workflow validates artifact completion and task status using openspec status --json, optionally syncs delta specs, then moves the change to a dated archive path while preserving .openspec.yaml metadata.

Can I archive an OpenSpec change before all tasks are completed?

You cannot archive an OpenSpec change before task completion because the process enforces artifact and task status validation via openspec status --json to prevent premature archiving and ensure workflow integrity.

What happens to .openspec.yaml metadata when moving a change to the archive folder?

When moving a change to the archive folder, the .openspec.yaml metadata file is explicitly preserved during the file move operation, ensuring historical context and configuration remain intact in the dated archive path.

When do I need to sync delta specs during change archiving?

You need to sync delta specs during change archiving when synchronization assessment detects pending updates, allowing optional syncing prior to the move to ensure delta spec alignment before the change is archived.

Does OpenSpec change archiving work without specifying a change name?

OpenSpec change archiving works without a specified change name by using prompt-driven change selection, interactively asking the user to select the target change before proceeding with validation and archiving.

What is the best way to keep OpenSpec workflows clean after implementation?

The best way to keep OpenSpec workflows clean after implementation is archiving completed changes, which validates artifacts and delta specs, then relocates the change to a dated path with preserved metadata and a summary of actions performed.