sync-templates

Synchronize scaffold and vault templates through interactive bidirectional merging.

4|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/BugRoger/2bd --skill sync-templates
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sync-templates
Source: https://github.com/BugRoger/2bd/tree/main/.claude/skills/_dev/sync-templates
Command: npx skills add https://github.com/BugRoger/2bd --skill sync-templates

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures consistency between the core engine's template files and the user's vault templates, preventing drift and facilitating updates.

Core Features & Use Cases

  • Bidirectional Sync: Synchronizes templates between the scaffold and the user's vault.
  • Interactive Merging: Provides diffs for changed files and prompts for user confirmation on how to resolve conflicts.
  • Use Case: After updating a core template in the engine's scaffold, use this Skill to easily push those changes to your personal vault, or conversely, pull custom changes you've made in your vault back into the engine's scaffold.

Quick Start

Run the sync-templates skill to synchronize your engine and vault templates.

Frequently Asked Questions about sync-templates

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

FAQPage Schema
How do I synchronize scaffold templates with my personal vault templates?

To synchronize scaffold templates with your vault, run the sync engine to perform a bidirectional interactive merge. It compares template files across environments, provides diffs for changed files, and prompts for merge actions to resolve conflicts.

What is bidirectional template merging for development environments?

Bidirectional template merging pushes core scaffold updates to your personal vault and pulls custom vault changes back into the scaffold. This prevents template drift and manages consistency across development and user environments.

How do I update vault templates after modifying a core scaffold file?

To update vault templates after modifying a scaffold file, initiate the template sync process. The engine detects the changes, displays a diff for the modified file, and prompts you to explicitly confirm the file operation to push the update.

Do I need to manually resolve conflicts during template synchronization?

Yes, you need to manually resolve conflicts during template synchronization because the sync engine requires explicit user confirmation for all merge resolutions. It provides interactive diffs to help you decide how to handle each changed file.

Can I pull custom changes from my vault back into the engine scaffold?

Yes, you can pull custom changes from your vault back into the engine scaffold. The bidirectional sync mechanism compares both directories and allows you to selectively merge your personal vault configurations into the core scaffold.