code-sync

Synchronize Git repositories under ~/code with automated fetch, status, and batch actions.

11|Updated Nov 26, 2025
One-click install
npx skills add https://github.com/niracler/skill --skill code-sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-sync
Source: https://github.com/niracler/skill/tree/main/skills/workflow/code-sync
Command: npx skills add https://github.com/niracler/skill --skill code-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, and includes scripts (resource) components.

What problem does it solve?

Batch-sync all Git repositories under ~/code across machines to keep work in sync for end-of-day pushing and start-of-day pulling.

Core Features & Use Cases

  • Batch synchronize multiple repos under ~/code to maintain parity across machines.
  • End-of-day push / start-of-day pull automation with automated fetch, status, and batch actions.
  • Automatic per-repo status and handling for rebase/merge decisions and conflict guidance.

Quick Start

Run the code-sync workflow to batch-sync all repos under ~/code.

Frequently Asked Questions about code-sync

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

FAQPage Schema
How do I batch sync multiple git repositories across machines?

Batch sync multiple git repositories by running an automated workflow that fetches statuses and handles push or pull actions for all directories under ~/code. It enforces prerequisites like git and returns structured per-repo status data to keep work in parity.

What is the best way to automate end-of-day git push for multiple repos?

Automate end-of-day git push for multiple repos using a batch workflow that scans ~/code, fetches updates, and executes push actions. It processes each repository automatically, providing structured per-repo status data to ensure all local work is synchronized.

Do I need git installed to synchronize repositories under ~/code?

Yes, you need git installed to synchronize repositories under ~/code. The workflow enforces git as a prerequisite to execute automated fetch, pull, and push actions, returning structured per-repo status data for your synchronized directories.

How does automated git workflow handle merge conflicts during repo synchronization?

Automated git workflow handles merge conflicts during repo synchronization by providing automatic per-repo status and conflict guidance. It evaluates fetch results to inform rebase or merge decisions, returning structured data without forcing blind automated merges.

Can I automate start-of-day git pull for all my local repositories?

Yes, you can automate start-of-day git pull for all local repositories under ~/code. The workflow batch-fetches and pulls updates across multiple directories, handling rebase or merge decisions and returning structured per-repo status data to maintain parity.