Skip to content
Skills Library
Programming · Automation

openspec-bulk-archive-change

/openspec-bulk-archive-change

Archives several completed OpenSpec changes in one batch, detecting and agentically resolving spec conflicts by checking the codebase for what is actually implemented. Use for "archive these changes", "clean up finished changes", or "archive everything that's done" when more than one change needs archiving at once. For a single change, use openspec-archive-change instead.

Repository
rhdh-skills ↗
Licence
Apache-2.0
Last repository change
27.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Archives several completed OpenSpec changes in one batch, detecting and agentically resolving spec conflicts by checking the codebase for what is actually implemented. Use for "archive these changes", "clean up finished changes", or "archive everything that's done" when more than one change needs archiving at once. For a single change, use openspec-archive-change instead.

Triggers from the description

archive these changesclean up finished changesarchive everything that
Original author description

Archives several completed OpenSpec changes in one batch, detecting and agentically resolving spec conflicts by checking the codebase for what is actually implemented. Use for "archive these changes", "clean up finished changes", or "archive everything that's done" when more than one change needs archiving at once. For a single change, use openspec-archive-change instead.

How it works

  1. Steps
  2. Guardrails
  3. Completion
Original SKILL.md headings · 62 lines, 446 words
SKILL.md preview
---
name: openspec-bulk-archive-change
description: >-
  Archives several completed OpenSpec changes in one batch, detecting and
  agentically resolving spec conflicts by checking the codebase for what is
  actually implemented. Use for "archive these changes", "clean up finished
  changes", or "archive everything that's done" when more than one change
  needs archiving at once. For a single change, use openspec-archive-change
  instead.
compatibility: "Requires the openspec CLI on PATH."
---

# Bulk-archive OpenSpec changes

Archive multiple parallel changes at once, resolving delta-spec conflicts
between them by checking which is actually implemented rather than failing or
guessing.

## Steps

1. **Get active changes:** `openspec list --json`. If none, tell the user and
   stop.
2. **Let the user select** (multi-select, never auto-select): show each
   change with its schema, offer "All changes", and allow any number of
   selections (1+ works; 2+ is the typical case).
3. **Gather status for every selected change**: artifact status
   (`openspec status --change "<name>" --json`), task completion (count
   `- [ ]`/`- [x]` in `tasks.md`, or note "No tasks" if absent), and delta
   specs under `openspec/changes/<name>/specs/` with their requirement names.
4. **Detect spec conflicts.** Build `capability -> [changes touching it]`; a
   conflict is 2+ selected changes touching the same capability.
5. **Resolve each conflict agentically**: read each conflicting change's
   delta spec, search the codebase for implementation evidence, and decide —
   only one implemented -> sync that one; both implemented -> apply in
   chronological order (older first, newer takes precedence); neither
   implemented -> skip spec sync for that capability and warn. Record the
   resolution and its rationale per conflict.
6. **Show a consolidated status table** (change, artifacts, tasks, specs,
   conflicts, ready/warn), with conflict resolutions and incomplete-change
   warnings called out beneath it.
7. **Confirm the batch operation** with a single prompt: "Archive N changes?"
   offering "Archive all N", "Archive only the ready ones (skip incomplete)",
   or "Cancel". Make clear that choosing "all" archives incomplete changes
   with warnings, not silently.
8. **Execute per confirmed change**, in the resolved order: if the change has
   delta specs to sync, delegate the merge to `/openspec-sync-specs` (via the
   Task tool, `subagent_type: general-purpose`, with the prompt "Invoke
   `/openspec-sync-specs` for change '<name>'" plus this change's resolved
   conflict decision from step 5) — conflict detection and resolution stay
   here; the merge mechanics belong to that skill. Then
   `mkdir -p openspec/changes/archive && mv openspec/changes/<name>
   openspec/changes/archive/YYYY-MM-DD-<name>`. Track success/failed/skipped
   per change; an existing archive target fails that change but does not stop
   the batch.
9. **Display the final summary**: archived changes with their destinations,
   skipped changes with the reason, failed changes with the error, and a spec
   sync summary (deltas synced, conflicts resolved).

## Guardrails

- Always prompt for selection — never auto-select, even for "archive
  everything".
- Detect conflicts before confirming the batch, and resolve them by checking
  the codebase, not by guessing or by change order alone.
- Preserve `.openspec.yaml` on every archived change.
- One failure must not abort the rest of the batch.

## Completion

Complete when every selected-and-confirmed change has a recorded outcome —
archived, skipped, or failed with a reason — and the spec-sync summary
accounts for every capability that had a conflict.
Files in this package (2)
  • SKILL.md 4 KB
  • agents/openai.yaml 1 KB

Versions

RepositoryScoreLicence
This page · redhat-developer/rhdh-skills90Apache-2.0
PBH-BTN/PeerBanHelper100GPL-3.0
Fission-AI/OpenSpec100MIT
kevindurb/tsgit100MIT
SAP/e-mobility-charging-stations-simulator100Apache-2.0
valorvie/custom-skills100MIT
rustyrazorblade/skills100Apache-2.0
microsoft/rayfin100MIT
rivet-dev/rivet100Apache-2.0

Database snapshot: 13.11.2026 · package version 9d60c4a16e6e (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 96openspec-archive-change
    Archive a completed OpenSpec change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete. Also use when the user says "openspec archive" or "opsx archive".
  • 96openspec-archive-change
    Archive a completed OpenSpec change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete. Also use when the user says "openspec archive" or "opsx archive".
  • 96openspec-archive-change
    Archive a completed OpenSpec change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete. Also use when the user says "openspec archive" or "opsx archive".
  • 96openspec-archive-change
    Archive a completed OpenSpec change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete. Also use when the user says "openspec archive" or "opsx archive".
  • 96openspec-archive-change
    Archive a completed OpenSpec change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete. Also use when the user says "openspec archive" or "opsx archive".
  • 96openspec-archive-change
    Archive a completed OpenSpec change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete. Also use when the user says "openspec archive" or "opsx archive".

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.