openspec-sync-specs

Merge OpenSpec delta changes into main specification files.

Updated Nov 29, 2022
One-click install
npx skills add https://github.com/circlebacknever/soundstage --skill openspec-sync-specs-circlebacknever
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openspec-sync-specs
Source: https://github.com/circlebacknever/soundstage/tree/main/.codex/skills/openspec-sync-specs
Command: npx skills add https://github.com/circlebacknever/soundstage --skill openspec-sync-specs-circlebacknever

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the manual effort of merging OpenSpec change deltas into the main specification set while preserving the rest of the documented behavior.

Core Features & Use Cases

  • Delta-to-main sync: Applies added, modified, removed, and renamed requirements from a change branch into the canonical specs.
  • Intelligent merging: Updates only the affected requirement blocks so existing scenarios and content stay intact unless the delta says otherwise.
  • New spec creation: Creates a new capability spec when a delta exists but the main spec does not yet.
  • Use Case: A product team finishes a feature change and needs the delta spec merged into openspec/specs/ without archiving the change yet.

Quick Start

Tell the AI to sync the selected OpenSpec change into the main specs while preserving unaffected content.

Frequently Asked Questions about openspec-sync-specs

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

FAQPage Schema
How do I merge OpenSpec delta specs into the main specification set?

Merging OpenSpec delta specs into the main specification set involves reading change branches and applying added, modified, removed, or renamed requirements to the canonical files while preserving untouched content.

Does syncing delta specs overwrite existing requirements in the main spec?

Syncing delta specs does not blindly overwrite existing requirements. It updates only the affected requirement blocks so existing scenarios and content stay intact unless the delta explicitly says otherwise.

Can I create a new capability spec if the main spec does not exist yet?

You can create a new capability spec when a delta exists but the main spec does not. The sync process generates the new specification file in the canonical specs directory to house the delta changes.

What is the best way to apply OpenSpec changes without archiving the branch?

The best way to apply OpenSpec changes without archiving the branch is to sync the selected delta into the main specs, which intelligently merges the modifications while preserving unaffected documented behavior.

How do I handle renamed requirements when syncing OpenSpec changes?

Handling renamed requirements during an OpenSpec sync involves detecting the rename action in the delta spec and applying it to the main specification set without losing the existing material tied to that requirement.

What file format is required for syncing OpenSpec delta changes?

Syncing OpenSpec delta changes requires reading YAML-based spec files. The system processes these structured requirement files from both the change branch and the main specification directory to execute the merge.