openspec-archive-change

Archive openspec change directories after confirming task and artifact completion.

Updated Dec 25, 2025
One-click install
npx skills add https://github.com/wtg42/tty-clock-timer --skill openspec-archive-change-wtg42
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openspec-archive-change
Source: https://github.com/wtg42/tty-clock-timer/tree/main/.opencode/skills/openspec-archive-change
Command: npx skills add https://github.com/wtg42/tty-clock-timer --skill openspec-archive-change-wtg42

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides users through finalizing and archiving an experimental change in the openspec workflow while ensuring important checks are performed so nothing is moved prematurely or lost.

Core Features & Use Cases

  • Interactive selection: Prompts the user to choose an active change when a name is not provided, preventing accidental archiving.
  • Completion checks: Runs openspec status to verify artifact completion and inspects tasks.md for incomplete tasks, warning users and requesting confirmation if issues exist.
  • Delta spec assessment and sync: Compares delta specs to main specs, summarizes required updates, and offers options to sync before archiving; can invoke a sync workflow via the Task tool.
  • Safe archive operation: Creates a dated archive directory, checks for name conflicts, moves the change while preserving .openspec.yaml, and reports a clear summary of actions and warnings.
  • Use case: Finalize a completed feature change after implementation, optionally sync specs, and move the change to openspec/changes/archive with an audit-friendly name.

Quick Start

Ask the skill to archive the change named my-change and confirm any incomplete artifacts, tasks, or spec deltas before proceeding.

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 openspec change directory safely?

To archive an openspec change, the workflow verifies artifact completion via openspec status, checks tasks.md for incomplete items, and moves the change directory to a dated archive location while preserving .openspec.yaml. Users must confirm any incomplete items before the directory is moved.

What happens if I try to archive an openspec change with incomplete tasks?

When archiving openspec changes with incomplete tasks, the workflow inspects tasks.md, warns you about pending items, and requests explicit confirmation before proceeding to the dated archive directory. This prevents accidentally finalizing unfinished work or losing track of remaining artifacts.

How do delta specs sync before archiving a change in openspec?

Delta spec synchronization compares delta specs to main specs, summarizes required updates, and offers options to sync before archiving. The workflow can invoke a sync process via a task invocation to ensure your main specifications reflect the completed change.

Do I need the openspec CLI to archive completed changes?

Yes, archiving completed openspec changes requires the openspec CLI for listing active changes and running status checks. The CLI provides the necessary status verification and artifact completion data before the workflow moves the change directory to the archive.

Can I prevent accidental archiving of the wrong openspec change?

To prevent accidental archiving, the workflow uses interactive selection to prompt you to choose an active change when a specific name is not provided. It also checks for name conflicts in the dated archive directory before moving any files.

What is the best way to finalize an experimental openspec workflow change?

The best way to finalize an experimental openspec change is to run completion checks, optionally sync delta specs to main specs, and move the change directory to openspec/changes/archive with an audit-friendly dated name while preserving the .openspec.yaml configuration.