/git-workflow:commit-expertfrom git-workflow
Enforces high-quality Git commit histories using Conventional Commits, the 7 rules of git messaging, and automated hook scripts. Validates commit message format, branch alignment, and atomic boundaries.
Ships in git-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill enforces high-quality, readable, and bisectable Git commit histories. It acts as a Git Version Control Specialist and History Architect, ensuring that all commits follow the 7 rules of git messaging, utilize standard Conventional Commits prefixes, maintain atomic boundaries, and validate formatting through automated hook scripts aligned with deterministic branch gates.
commit-msg hooks.pull-request-expert.build-and-ci-gates.code-implementer.Structure every commit message following the 7 rules of git commit messages and the formal Conventional Commits standard:
Canonical Commit Pattern:
^(feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)(\([a-z0-9._-]+\))?: .+$
Permitted Types:
feat: A new user-facing feature or API capability.fix: A bug fix for existing functionality.docs: Documentation-only additions or modifications.style: Formatting, missing semicolons, whitespace changes with zero code logic alterations.refactor: Code change that neither fixes a bug nor adds a feature.perf: Code change that improves runtime performance or memory usage.test: Adding missing tests or correcting existing tests.build: Changes affecting the build system, packaging, or external dependencies.ci: Changes to CI configuration files and automation scripts.chore: Auxiliary tasks, housekeeping, tool updates.revert: Reverting a previous commit.Branch Gate Alignment (gitflow-branch-gate.js):
gitflow-branch-gate.js:
feat/* or feature/* must carry commits typed feat (or supporting test, docs).fix/*, bugfix/*, or hotfix/* must carry commits typed fix.main, master, develop, release/*) are blocked by gitflow-branch-gate.js.Formatting Constraints:
<type>(<scope>): <imperative summary> (50 characters maximum, imperative mood, NO trailing period).git rebase -i HEAD~N) to squash intermediate "wip" or fixup commits before pushing.Validate the commit message format using the automated validator script:
python3 ./skills/commit-expert/scripts/validate_commit_msg.py .git/COMMIT_EDITMSG
# Validate a specific commit message file or git edit message
python3 ./skills/commit-expert/scripts/validate_commit_msg.py .git/COMMIT_EDITMSG
git commit, ensuring compatibility with gitflow-branch-gate.js.^(feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)....main, master, develop) without feature branches.^(feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)(\([a-z0-9._-]+\))?: .+$.gitflow-branch-gate.js.python3 ./skills/commit-expert/scripts/validate_commit_msg.py .git/COMMIT_EDITMSG
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jggomez/expert-ai-developer-skills --plugin git-workflow2 skills in this plugin
Other plugins' skills for the same job