openspec-sync-specs

Synchronize delta specs into main specs by applying ADDED, MODIFIED, REMOVED, and RENAMED changes.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/manishsinghmf/blink-with-anti --skill openspec-sync-specs-manishsinghmf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openspec-sync-specs
Source: https://github.com/manishsinghmf/blink-with-anti/tree/main/.cursor/skills/openspec-sync-specs
Command: npx skills add https://github.com/manishsinghmf/blink-with-anti --skill openspec-sync-specs-manishsinghmf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps a project’s main specifications current by applying delta specifications in a controlled, intelligent merge process, preventing wholesale overwrites and preserving existing content.

Core Features & Use Cases

  • Reads delta specs from openspec/changes and applies ADDED, MODIFIED, REMOVED, and RENAMED changes to main specs.
  • Creates a new main spec file automatically if the capability does not exist yet.
  • Preserves content not mentioned in delta and ensures idempotent merges.

Quick Start

Provide the delta specs path and run the merge to synchronize 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 without overwriting, apply ADDED, MODIFIED, REMOVED, and RENAMED changes intelligently from the delta files to preserve existing main spec content. This controlled merge process prevents wholesale overwrites by only applying specified changes.

What is an idempotent spec merge and why does it matter for spec management?

An idempotent spec merge means applying the same delta specs multiple times yields the same final main specs without duplicating changes. This ensures consistent synchronization outcomes and prevents accidental content duplication during repeated updates.

How to apply ADDED, MODIFIED, REMOVED, and RENAMED changes from openspec delta files?

Apply changes from openspec delta files by reading them from the openspec/changes directory and processing ADDED, MODIFIED, REMOVED, and RENAMED operations against the main specs, creating missing main spec files automatically if the capability does not exist.

Can I automatically create a new main spec file if the capability does not exist during a merge?

Yes, you can automatically create a new main spec file if the capability does not exist yet. The merge process reads the delta spec and initializes the new main spec file with the specified ADDED content directly.

Does merging delta specs preserve content not mentioned in the change file?

Yes, merging delta specs preserves content not mentioned in the change file. The synchronization process applies only the targeted modifications while leaving all other existing content in the main specs completely untouched.

What is the best way to synchronize openspec changes into main specs automatically?

The best way to synchronize openspec changes is to use an automated merge tool that reads delta specs, applies changes idempotently, creates missing files, and summarizes updates to keep main specifications current without manual intervention.