git-sync-submodule-deterministic

Community

Deterministic submodule sync with safe pointer

AuthorWesleyMFrederick
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the deterministic synchronization of a local submodule with its hub, ensuring alignment of pointers while keeping the LLM's input strictly output-centric and providing clear status signals for orchestration.

Core Features & Use Cases

  • Deterministic submodule alignment: compares local and hub heads, classifies reachability (synced, catch-up, diverged, submodule-ahead) and handles pointer updates.
  • Safe conflict handling: when divergence with overlapping changes is detected, it reports actionable options to recover without blindly overwriting changes.
  • Integration-friendly outputs: emits KEY=VALUE status lines (STATUS, NEW_HEAD, OVERLAP_FILES, DIFF_SUMMARY) for downstream automation and AI orchestration.

Quick Start

Run the git-sync-submodule-deterministic script to synchronize the local submodule with the hub and observe the phase-driven status output.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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-deterministic
Download link: https://github.com/WesleyMFrederick/cc-workflows-plugin/archive/main.zip#git-sync-submodule-deterministic

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.