openspec-sync-specs

Merge delta spec changes into main specs while preserving existing content.

5|Updated Sep 17, 2022
One-click install
npx skills add https://github.com/kevinxo328/mercari-scraper --skill openspec-sync-specs-kevinxo328
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openspec-sync-specs
Source: https://github.com/kevinxo328/mercari-scraper/tree/main/.gemini/skills/openspec-sync-specs
Command: npx skills add https://github.com/kevinxo328/mercari-scraper --skill openspec-sync-specs-kevinxo328

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Synchronizes delta specifications into main specs without overwriting existing content, enabling safe, incremental updates across capabilities.

Core Features & Use Cases

  • Intelligent delta merging: merges added/modified/removed/renamed requirements from delta specs into main specs while preserving unrelated content.
  • Non-destructive updates: ensures existing scenarios are preserved and only applies intended changes.
  • Delta-driven collaboration: supports multi-change workflows and keeps a changelog of applied deltas.

Quick Start

Provide a delta spec or specify a delta change name to begin syncing specs with the main specs.

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 delta specs into main specs without overwriting existing content?

To merge delta specs into main specs without overwriting existing content, apply an incremental merge strategy that parses ADDED, MODIFIED, REMOVED, and RENAMED sections to update only intended requirements while preserving unrelated baseline scenarios.

What is a delta spec synchronization process for collaborative workstreams?

Delta spec synchronization integrates incremental requirement changes from multiple collaborators into a baseline main spec. It applies non-destructive updates by parsing delta structures and applying section-specific changes, ensuring the main spec reflects all workstream modifications without losing existing content.

How do I apply ADDED, MODIFIED, REMOVED, and RENAMED sections when syncing specifications?

To apply ADDED, MODIFIED, REMOVED, and RENAMED sections when syncing specifications, parse the delta spec structure and execute the corresponding update logic on the main spec, appending new content, updating existing scenarios, and removing or renaming outdated requirements accordingly.

Can I use incremental spec merging for multi-change collaborative workflows?

Yes, you can use incremental spec merging for multi-change collaborative workflows. It supports delta-driven collaboration by sequentially applying multiple delta changes to main specs while maintaining a changelog of applied deltas to track all modifications.

How do I start syncing specs if I only have a single delta change name?

To start syncing specs with a single delta change name, provide that specific delta change identifier to the merge process. The system will locate the corresponding delta spec and intelligently integrate its changes into the main specifications.

What are the limitations of non-destructive delta spec merging?

The limitation of non-destructive delta spec merging is that it strictly preserves existing baseline requirements and unrelated content. It only applies explicitly defined ADDED, MODIFIED, REMOVED, or RENAMED sections, meaning undefined structural changes or conflicting modifications may not be automatically resolved.