openspec-sync-specs

Merge delta specs under openspec/changes into main specs.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/memorysaver/agentpit-gg --skill openspec-sync-specs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openspec-sync-specs
Source: https://github.com/memorysaver/agentpit-gg/tree/main/.opencode/skills/openspec-sync-specs
Command: npx skills add https://github.com/memorysaver/agentpit-gg --skill openspec-sync-specs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill synchronizes delta specs into main specs to apply changes without archiving the delta, enabling seamless, auditable merges.

Core Features & Use Cases

  • Agent-driven merge: reads delta specs under openspec/changes and applies changes to main specs with intelligent merging that preserves unrelated content.
  • Guided workflow: prompts for the change selection when multiple delta specs exist, preventing accidental merges.
  • Delta-aware updates: supports ADDED, MODIFIED, REMOVED, and RENAMED changes while maintaining a clean main spec set.

Quick Start

Use the openspec-sync-specs skill to merge delta specs into the main specs directory.

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?

Merging delta specs applies changes from openspec/changes to your main specs directory. The sync-specs workflow reads delta specs, intelligently merges ADDED, MODIFIED, REMOVED, and RENAMED requirements, and updates authoritative specs while preserving unrelated content—all without archiving the delta.

What happens when I synchronize delta specs into main specs?

Synchronization applies all tracked changes from delta specs to main specs with guided selection when multiple deltas exist. The process enforces merging rules for each change type, maintains spec integrity, and creates an auditable record of what changed and why.

Can I merge specific delta specs or do all of them sync at once?

The workflow prompts you to select which delta spec to merge when multiple exist, preventing accidental bulk changes. This guided approach ensures you control exactly which changes apply to your main specs in each sync operation.

Do renamed or removed requirements stay in the main specs after merging?

No. The sync respects REMOVED and RENAMED change types, updating or removing requirements as the delta specifies. Unrelated content in main specs remains untouched; only requirements affected by the delta are modified.

What file structure do I need before syncing delta specs?

Delta specs must be organized under openspec/changes directory with a corresponding main specs directory. The sync reads from changes and writes updates to main specs, so both directory structures and spec files need to exist before running the merge.