sync-submodules

Official

Keep your project dependencies in sync.

Authordifferent-ai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures that your project's submodules are consistently updated to the versions pinned by the main repository, preventing common Git errors and keeping your development environment stable.

Core Features & Use Cases

  • Safe Submodule Updates: Pulls changes for the main repository and updates all submodules to their designated commits.
  • Handles Dirty Submodules: Automatically stashes local changes within submodules if the STASH_DIRTY environment variable is set, preventing data loss during updates.
  • Error Resolution: Provides guidance and commands to resolve common submodule update issues like "local changes would be overwritten" or "not our ref".
  • Use Case: When you clone a project with submodules or encounter errors during a git submodule update, this Skill can safely bring all your dependencies in line with the project's requirements.

Quick Start

Run the sync-submodules skill to update all git submodules for the current repository.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: sync-submodules
Download link: https://github.com/different-ai/the-factory/archive/main.zip#sync-submodules

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 223,000+ vetted skills library on demand.