git-sync-submodule

Community

Safely align local submodules with hub HEAD

AuthorWesleyMFrederick
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps teams safely catch up a behind-the-hub .claude submodule by discovering remotes dynamically, classifying divergence, and moving the pointer only after confirming no content is lost.

Core Features & Use Cases

  • Discovers remotes dynamically and avoids hardcoding remote names.
  • Classifies divergence and validates safety checks before any pointer movement.
  • Moves the submodule pointer to hub HEAD or presents options when conflicts exist, preventing data loss.
  • Works as part of a broader submodule propagation workflow to keep parent repos in sync with hub changes.

Quick Start

Run the 8-step submodule sync workflow to align the local .claude submodule with the hub HEAD.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: git-sync-submodule
Download link: https://github.com/WesleyMFrederick/cc-workflows-plugin/archive/main.zip#git-sync-submodule

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.