From git-utils
Use when someone asks to write a commit, commit changes, make commits, create commit messages, or group changes into commits.
How this skill is triggered — by the user, by Claude, or both
Slash command
/git-utils:write-commitThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Analyzes all local changes, groups them into logical commits, presents a plan for approval, then executes each commit in sequence.
Analyzes all local changes, groups them into logical commits, presents a plan for approval, then executes each commit in sequence.
Run these commands to understand the current state:
git diff HEAD
git status
git log --oneline -10
Also use any context from the current conversation — what feature, bug, or task was being worked on.
If an argument hint is provided, use it as a hint to guide how changes are grouped or labeled.
Analyze the diff and group changes into logical, atomic commits. Each commit should:
type(scope): description
feat, fix, refactor, chore, test, docs, style, perf, cifix(auth): ...)Example grouping logic:
chore: commitShow the plan clearly before doing anything. Format:
## Commit Plan
**Commit 1:** feat(auth): add JWT token validation
Files:
- src/auth/validator.ts
- src/auth/middleware.ts
**Commit 2:** test(auth): add tests for JWT validator
Files:
- src/auth/validator.test.ts
**Commit 3:** chore: update dependencies
Files:
- package.json
- package-lock.json
Then ask: "Does this plan look good? You can approve it, ask me to adjust grouping, or modify specific commit messages."
Do NOT proceed until the user explicitly approves. If the user:
For each commit in the plan, in order:
git add <file1> <file2> ...
git commit -m "<message>"After all commits are done, run git log --oneline -5 and show the result so the user can verify.
--force, --no-verify, --amend (unless explicitly asked)git diff HEAD is empty), tell the user there's nothing to commitnpx claudepluginhub lynconebb/my-claude-marketplace --plugin git-utilsAnalyzes Git changes, groups staged/unstaged files into logical commits by feature/type/scope, and executes them one-by-one using conventional commit format.
Groups uncommitted git changes (staged/unstaged/untracked) into atomic commits by logical purpose and generates conventional commit messages with bodies. Use for splitting multiple changes or 'smart commit' requests.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.