openspec-bulk-archive-change
यह क्या करती है
यह स्किल एक साथ कई पूरे OpenSpec changes को archive करती है और जाँचती है कि codebase हर change से मेल खाता है। यह उन डेवलपर के लिए है जो OpenSpec में कई समानांतर changes चलाते हैं।
कब इस्तेमाल करें
- ✓जब कई समानांतर OpenSpec changes पूरे हो गए हों और उन्हें एक साथ archive करना हो।
- ✓जब changes के बीच spec फ़ाइलें टकराती हों और उन्हें code से मिलाना हो।
- ✓जब आप सूची से चुनना चाहें कि कौन से changes archive हों।
Skill का लिंक
https://github.com/fengshao1227/ccg-workflow/blob/main/.agents/skills/openspec-bulk-archive-change/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस sprint के सभी पूरे हुए OpenSpec changes archive कीजिए, लेकिन पहले spec टकराव जाँच लीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट सक्रिय changes की सूची बनाता है, आपसे चुनने को कहता है, हर change की artifacts, tasks और specs जाँचता है, टकराव को code देखकर सुलझाता है, फिर चुने हुए changes archive करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
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
Get active changes
Run
openspec list --jsonto get all active changes.If no active changes exist, inform user and stop.
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.
Batch validation - gather status for all selected changes
For each selected change, collect:
a. Artifact status - Run
openspec status --change "<name>" --json- Parse
schemaNameandartifactslist - Note which artifacts are
donevs 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>)
- Parse
Detect spec conflicts
Build a map of
capability -> [changes that touch it]:auth -> [change-a, change-b] <- CONFLICT (2+ changes) api -> [change-c] <- OK (only 1 change)A conflict exists when 2+ selected changes have delta specs for the same capability.
Resolve conflicts agentically
For each conflict, investigate the codebase:
a. Read the delta specs from each conflicting change to understand what each claims to add/modify
b. Search the codebase for implementation evidence:
- Look for code implementing requirements from each delta spec
- Check for related files, functions, or tests
c. Determine resolution:
- If only one change is actually implemented -> sync that one's specs
- If both implemented -> apply in chronological order (older first, newer overwrites)
- If neither implemented -> skip spec sync, warn user
d. Record resolution for each conflict:
- Which change's specs to apply
- In what order (if both)
- Rationale (what was found in codebase)
Show consolidated status table
Display a table summarizing all changes:
| Change | Artifacts | Tasks | Specs | Conflicts | Status | |---------------------|-----------|-------|---------|-----------|--------| | schema-management | Done | 5/5 | 2 delta | None | Ready | | project-config | Done | 3/3 | 1 delta | None | Ready | | add-oauth | Done | 4/4 | 1 delta | auth (!) | Ready* | | add-verify-skill | 1 left | 2/5 | None | None | Warn |For conflicts, show the resolution:
* Conflict resolution: - auth spec: Will apply add-oauth then add-jwt (both implemented, chronological order)For incomplete changes, show warnings:
Warnings: - add-verify-skill: 1 incomplete artifact, 3 incomplete tasksConfirm batch operation
Use AskUserQuestion tool with a single confirmation:
- "Archive N changes?" with options based on status
- Options might include:
- "Archive all N changes"
- "Archive only N ready changes (skip incomplete)"
- "Cancel"
If there are incomplete changes, make clear they'll be archived with warnings.
Execute archive for each confirmed change
Process changes in the determined order (respecting conflict resolution):
a. Sync specs if delta specs exist:
- Use the openspec-sync-specs approach (agent-driven intelligent merge)
- For conflicts, apply in resolved order
- Track if sync was done
b. Perform the archive:
mkdir -p openspec/changes/archive mv openspec/changes/<name> openspec/changes/archive/YYYY-MM-DD-<name>c. Track outcome for each change:
- Success: archived successfully
- Failed: error during archive (record error)
- Skipped: user chose not to archive (if applicable)
Display summary
Show final resul
अक्सर पूछे जाने वाले सवाल
क्या यह बिना पूछे changes archive करती है?
नहीं। यह पूछती है कि कौन से changes archive करने हैं और उन्हें अपने-आप नहीं चुनती।
टकराने वाली specs को कैसे संभालती है?
यह codebase जाँचती है कि वास्तव में क्या लागू हुआ है।
क्या मुझे OpenSpec चाहिए?
हाँ। यह OpenSpec changes और उसके command line tool के साथ काम करती है।
जानकारी
लेखक का मूल विवरण
Archive multiple completed changes at once. Use when archiving several parallel changes.
लोकप्रियता
- GitHub स्टार
- 6.0k
- रैंकिंग में स्थान
- #14516
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
openspec-continue-change
6.0kयह आपके एजेंट को OpenSpec change को आगे बढ़ाने देती है, उसका अगला artifact बनाकर, जैसे proposal, spec, design या task सूची।
openspec-ff-change
6.0kयह आपके एजेंट को एक साथ OpenSpec change के सारे artifacts बनाने देती है, ताकि हर एक से गुज़रे बिना implementation शुरू हो सके।
openspec-new-change
6.0kयह आपके एजेंट को feature या fix के लिए नया OpenSpec change शुरू करने देती है, उसका फ़ोल्डर बनाकर और दिखाकर कि आगे कौन से artifacts लिखने हैं।
openspec-onboard
6.0kयह आपको पहले पूरे OpenSpec change चक्र से गुज़ारती है, एक छोटे काम को चुनने से लेकर उसे लागू करने और archive करने तक, हर चरण समझाते हुए।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।