Skip to content

Git submodule decision and operator-workflow guide for pinned external repos, detached-HEAD handling, and CI checkout.

CCM score
50 of 100
skills.sh installs
345
GitHub stars
62
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the choice between submodule, subtree, vendoring, and package delivery, then one operating mode per run: add, bootstrap, sync, advance, edit, remove, or CI checkout
  • Includes reference packets for update and detached-HEAD handling, CI and bootstrap expectations, and GitHub Pages public-only and URL-drift constraints
  • Enforces the rule that a superproject records a submodule by commit, so pointer updates must be staged and committed in the superproject
  • Designed for repositories that depend on external Git code and need exact commit pinning, with routing to git-workflow or npm-git-install for adjacent problems

Install

$ npx -y skills add akillness/jeo-skills --skill git-submodule -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Git Submodule

Use this skill as the repository's Git submodule choice and operator-workflow anchor.

The job is not to dump every git submodule command in one blob. The job is to:

  1. decide whether submodule is the right boundary at all,
  2. choose one operating mode,
  3. keep pinned-commit, detached-HEAD, and hosted-platform consequences explicit,
  4. emit the next safe commands only for that mode.

Read references/decision-matrix.md first. Read references/update-and-detached-head.md when the request involves pointer updates, detached HEAD, or editing inside the submodule. Read references/ci-and-automation.md for CI/bootstrap expectations. Read references/mode-packets-and-hosted-constraints.md for mode-specific command packets and GitHub Pages / URL-drift constraints.

Details

Repository
github.com/akillness/jeo-skills
Category
Git & Releases
First seen
Jun 3, 2026

Questions

What does the git-submodule skill do?

git-submodule guides an agent through choosing and running one safe Git submodule workflow: adding and pinning, bootstrapping recursively, syncing to the recorded commit, advancing a tracked branch, editing inside a submodule, removing one, or configuring CI checkout. It also helps decide whether a submodule is the right tool at all compared with subtree, vendoring or package delivery.

How do I install the git-submodule skill?

Run npx -y skills add akillness/jeo-skills --skill git-submodule -y inside your project. Once installed, git-submodule lets your agent handle .gitmodules, git submodule commands, detached HEAD issues and private submodules in CI.

Which skills lead the git-submodule skill in the Git & Releases category?

git-submodule sits in the Git & Releases category, where triage, git-guardrails-claude-code, setup-pre-commit, caveman-commit and pr are also listed. Its own focus is the repository boundary around external code, which those skills do not cover in the same way.

Does git-submodule handle general Git history cleanup or package dependencies?

No, git-submodule is not meant for generic Git history cleanup or package-manager dependency delivery. For those tasks, its SKILL.md points to git-workflow for history and rebase work and to npm-git-install for Node package delivery.

More from akillness/jeo-skills

All 61

Similar to Git Submodule

More Git & Releases