openspec-bulk-archive-change

Batch-archive completed OpenSpec changes while resolving delta-spec conflicts.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/terry90918/horse-blessing-2026 --skill openspec-bulk-archive-change-terry90918
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openspec-bulk-archive-change
Source: https://github.com/terry90918/horse-blessing-2026/tree/main/.claude/skills/openspec-bulk-archive-change
Command: npx skills add https://github.com/terry90918/horse-blessing-2026 --skill openspec-bulk-archive-change-terry90918

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Archive and manage the bulk archiving of completed changes in a codebase, ensuring safe handling of delta-spec conflicts.

Core Features & Use Cases

  • Batch selection and validation of active changes via the OpenSpec CLI
  • Conflict-aware spec resolution by inspecting delta specs and code evidence
  • Safe archiving that preserves provenance (including .openspec.yaml) and moves changes to an archive folder
  • Consolidated status reporting and prompts to confirm the batch operation

Quick Start

Select the active changes when prompted to archive, then review the consolidated results and confirm the batch operation.

Frequently Asked Questions about openspec-bulk-archive-change

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

FAQPage Schema
How do I batch archive completed changes in my codebase without losing metadata?

To batch archive completed changes, select active changes via the OpenSpec CLI and confirm the batch operation. The tool validates statuses, resolves delta spec conflicts, preserves provenance like .openspec.yaml, and moves changes to an archive folder safely.

What is spec conflict resolution and how does it work during bulk archiving?

Spec conflict resolution during bulk archiving inspects delta specs and code evidence to detect conflicts in openspec/changes. It resolves them based on chronological order and code evidence, ensuring only eligible changes are archived while preserving original metadata.

Do I need the openspec CLI to archive multiple changes at once?

Yes, batch archiving completed changes requires the openspec CLI and access to the repository. The CLI scans active changes, validates statuses and tasks, and executes the batch move into the archive folder while preserving provenance.

How do I ensure only eligible changes are archived when managing multiple active changes?

The bulk archive process ensures only eligible changes are archived by inspecting each active change's status, tasks, and delta specs. It validates completion criteria before allowing the batch operation to move changes into the archive folder.

What happens to provenance and metadata when archiving completed changes in bulk?

When archiving completed changes in bulk, provenance is preserved by retaining original metadata including .openspec.yaml files. The tool moves changes to an archive folder while maintaining the full history and spec context of each archived change.

Why does bulk archiving fail when delta specs have conflicts?

Delta spec conflicts occur when multiple changes modify the same specs. The bulk archive tool detects these conflicts by scanning openspec/changes, resolves them using code evidence and chronological order, and prevents archiving changes with unresolved conflicts.