sync-repo

Reconcile repository metadata with disk state and repair git worktrees.

5|2|Updated Jun 14, 2026
One-click install
npx skills add https://github.com/dyzsasd/dev-loop --skill sync-repo-dyzsasd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sync-repo
Source: https://github.com/dyzsasd/dev-loop/tree/main/skills/sync-repo
Command: npx skills add https://github.com/dyzsasd/dev-loop --skill sync-repo-dyzsasd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves configuration drift between your local development environment and the dev-loop registry, ensuring that build settings, merge checks, and repository clones remain synchronized and functional.

Core Features & Use Cases

  • Automated Reconciliation: Compares current build, deployment, and merge-check configurations against the registry to identify and report drift.
  • Environment Repair: Automatically fixes broken git worktrees, index states, and absolute path issues caused by machine moves or directory changes.
  • Use Case: When you move your project folder or update your CI workflows, use this skill to automatically detect the changes and update your dev-loop registry without manual file editing.

Quick Start

Invoke the sync-repo skill by asking the agent to sync the current repository and repair any detected worktree issues.

Frequently Asked Questions about sync-repo

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

FAQPage Schema
How do I fix broken git worktrees after moving my project folder to a new directory?

To fix broken git worktrees after moving your project folder, you need to repair the index states and resolve absolute path issues. This skill automatically detects directory changes and repairs the worktree environment to maintain workspace integrity.

Why does my dev-loop registry have configuration drift with my local build scripts?

Configuration drift in your dev-loop registry happens when local build scripts and merge checks are updated without syncing the registry. This skill reconciles registered metadata with actual disk state by verifying and reporting the current build configurations.

What is the best way to synchronize repository metadata after a machine migration?

The best way to synchronize repository metadata after a machine migration is to validate the current disk state against the dev-loop registry. This process repairs index synchronization and resolves absolute path issues without manual file editing.

Does updating my CI workflows require manual changes to the dev-loop registry?

Updating CI workflows does not require manual changes to the dev-loop registry. You can invoke this skill to automatically detect the changes, update deployment configurations, and ensure operator confirmation for any modifications to the configuration schema.

Can I automate git worktree repairs without operator confirmation for every change?

You can automate git worktree repairs and index synchronization without operator confirmation for standard fixes. However, the system ensures operator confirmation is required specifically for any modifications made to the configuration schema.