openspec-archive-change

Validate artifacts and tasks, then archive completed workflow changes.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/Andresch2/Workflows --skill openspec-archive-change-andresch2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openspec-archive-change
Source: https://github.com/Andresch2/Workflows/tree/main/.github/skills/openspec-archive-change
Command: npx skills add https://github.com/Andresch2/Workflows --skill openspec-archive-change-andresch2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you finalize an experimental workflow change by verifying artifact and task completion, optionally syncing delta specs with the main specs, and then archiving the change without losing key files.

Core Features & Use Cases

  • Completeness validation: Checks artifact completion via openspec status and flags incomplete artifacts before archiving.
  • Task progress verification: Reads a tasks file (typically tasks.md) to detect incomplete checklist items and prompts before proceeding.
  • Spec synchronization assessment: Detects delta specs for the change and summarizes required adds/modifications/removals/renames before asking whether to sync or archive without syncing.
  • Safe archival workflow: Moves the change directory into openspec/changes/archive using a date-stamped name and fails if the target already exists.

Quick Start

Archive a completed change by running it after implementation is finished, optionally providing the change name so it can validate completion and archive it into openspec/changes/archive/.

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 experimental workflow change safely?

Archive a completed experimental workflow change by validating artifact completion and task progress, then moving the change directory into a date-stamped archive folder. This process ensures a reliable handoff from experimental execution to long-term record keeping without losing key files.

What happens to incomplete artifacts or tasks during change archival?

When incomplete artifacts or tasks are detected during change archival, the workflow implements guardrails that prompt you before proceeding. It checks artifact completion via openspec status and scans tasks.md to flag any incomplete checklist items.

How does spec synchronization work when finalizing a workflow change?

Spec synchronization assesses delta specs for the change by summarizing required adds, modifications, removals, and renames. It then asks whether to sync the delta specs with the main specs or archive the change without syncing.

Do I need the openspec CLI to archive experimental changes?

Yes, archiving experimental changes requires openspec CLI availability. The archival workflow uses JSON status parsing from the CLI to validate artifact completion and tasks.md scanning before moving the change directory.

Can I move a change to the archive if the target directory already exists?

No, the safe archival workflow fails if the target date-stamped archive directory already exists. This prevents overwriting existing archived changes in the openspec/changes/archive path.

What is the best way to validate task completion before archiving a change?

Validate task completion by reading a tasks file, typically tasks.md, to detect incomplete checklist items. The workflow prompts you before proceeding if any incomplete tasks are found during the archival validation phase.