git-submodule-commit
CommunityCommit submodule changes and update parent ref
Authorglhewett
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the multi-step process of committing changes inside a git submodule and updating the parent repository to reference the new submodule commit, preventing mismatched refs and manual git errors.
Core Features & Use Cases
- Submodule validation: Verifies the provided path is defined in .gitmodules before taking action.
- Review before commit: Shows status and diffs for user inspection prior to staging and committing.
- End-to-end update: Commits and pushes within the submodule, then stages and commits the updated submodule SHA in the parent repository and pushes the parent.
- Use Case: Update a skills submodule (default .claude/skills) with local fixes, push the submodule remote, and make a single parent commit that points to the new submodule SHA.
Quick Start
Commit and push changes in .claude/skills and update the parent repository reference.
Dependency Matrix
Required Modules
None requiredComponents
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-submodule-commit Download link: https://github.com/glhewett/public-skills/archive/main.zip#git-submodule-commit Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.