/git:commitfrom git
Commits local changes with careful per-file staging and single-line messages. Handles pre-commit hook failures and fixup commits.
Ships in git. 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.
None: SKILL.md is the whole skill.
Use the code:cli and git:git-workflow skills.
git status
git diff --cached
git diff
git branch --show-current
git log --oneline -10
Stage only the files modified for the current task, individually:
git add <file1> <file2>
Never use git add ., git add -A, git commit -am, or anything else that stages unrelated changes.
If the user pasted a compiler or linter error, or the task is explicitly a fixup for a known commit, use git commit --fixup <sha>.
Otherwise write one line following the format in git:git-workflow. The prompt is the intent, not the message text: borrow its language, but distill a long or multi-line prompt to one line.
Echo exactly:
Running: `git commit --message "<message>"`
Then commit without confirming again with the user:
git commit --message "<message>"
If pre-commit hooks modify files, stage those files individually and retry. Never use git commit --no-verify.
A commit that a hook stopped was never made, so fix the problem, stage the files, and run git commit again. Never run git commit --amend: after a failed commit, --amend rewrites the previous commit, which usually belongs to an earlier task. To change a commit that already exists, make a new commit or a git commit --fixup <sha> commit. A stray fixup that never folds in is easy to clean up later with git history reword, and a wrongly amended commit is not.
What SKILL.md sets; muted values are Claude Code's defaults
12 skills in this plugin
/clean-worktreesRemove git worktrees safely without force. Use when the user asks to remove, clean up, or delete git worktrees./commit-chunksSplit local changes into multiple logical commits. Use when the user asks to commit changes in chunks or as several commits./conflictsResolve git merge or rebase conflicts and continue the operation. Use when a rebase, merge, or cherry-pick stops on conflicted files./git-cleanupSurvey a repository's local git state and tidy it with the user's choices — uncommitted changes, untracked files, the upstream remote setting, and stale or duplicate branches — then rebase every branch. Use when the user asks to clean up, tidy, or sort out a git repository. Use git:wip instead for multi-worktree cleanup that also retests and pushes./git-rebaseRebase local commits on the configured upstream using the plugin rebase script./git-workflowCommit message format and git workflow rules. ALWAYS use this skill for every git commit — no exceptions — and whenever rewording an existing commit message.npx claudepluginhub motlin/claude-code-plugins --plugin gitOther plugins' skills for the same job