openspec-bulk-archive-change

Solid

Archive multiple completed changes at once. Use when archiving several parallel changes.

AI & Automation 3,800 stars 263 forks Updated today AGPL-3.0

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

Archive multiple completed changes in a single operation. This skill allows you to batch-archive changes, handling spec conflicts intelligently by checking the codebase to determine what's actually implemented. **Input**: None required (prompts for selection) **Steps** 1. **Get active changes** Run `openspec list --json` to get all active changes. If no active changes exist, inform user and stop. 2. **Prompt for change selection** Use **AskUserQuestion tool** with multi-select to let user choose changes: - Show each change with its schema - Include an option for "All changes" - Allow any number of selections (1+ works, 2+ is the typical use case) **IMPORTANT**: Do NOT auto-select. Always let the user choose. 3. **Batch validation - gather status for all selected changes** For each selected change, collect: a. **Artifact status** - Run `openspec status --change "<name>" --json` - Parse `schemaName` and `artifacts` list - Note which artifacts are `done` vs other states b. **Task completion** - Read `openspec/changes/<name>/tasks.md` - Count `- [ ]` (incomplete) vs `- [x]` (complete) - If no tasks file exists, note as "No tasks" c. **Delta specs** - Check `openspec/changes/<name>/specs/` directory - List which capability specs exist - For each, extract requirement names (lines matching `### Requirement: <name>`) 4. **Detect spec conflicts** Build a map of `capability -> [changes that touch it...

Details

Author
qixing-jk
Repository
qixing-jk/all-api-hub
Created
8 months ago
Last Updated
today
Language
TypeScript
License
AGPL-3.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category