From git
Commit working-tree changes using Conventional Commits. Stage changes in meaningful units, write commit messages in English, and avoid co-author or agent attribution in commit messages. Use this skill only when the user explicitly asks to create a real git commit, such as "commit these changes", "create a git commit", "git commit", or "commit this work". Do not use it when the user only wants commit message wording without making an actual commit. This skill commits locally only; it does not push.
How this skill is triggered — by the user, by Claude, or both
Slash command
/git:j5ik2o-git-commitThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create clear project history by committing changes in meaningful, reviewable units.
Create clear project history by committing changes in meaningful, reviewable units.
Review the latest commits to match the repository's commit style.
git log --oneline -10
Check the working tree state. Do not use the -uall flag because it can cause memory problems in large repositories.
git status
git diff
git diff --staged
Stage only the files that belong in the current logical change. Do not blindly run git add -A or git add .; specify the intended files or directories.
git add <target-files-or-directories>
After staging, always inspect the exact content that will be committed. git diff does not show new untracked file contents or all staged changes, so use git diff --staged to review staged content, including new files and any changes produced by hooks or formatters.
git diff --staged
Never include .env files or files containing credentials. If the user explicitly asks to commit such files, stop and ask them to remove or redact the secret material first.
Also do not include files the user explicitly asked to exclude.
If one staged set contains multiple logically independent changes, split it into multiple commits.
Use Conventional Commits and write the message in English.
git commit -m "$(cat <<'EOF'
<type>(<scope>): <description>
<body-if-needed>
EOF
)"
Commit message rules:
type(scope): description
feat, fix, docs, style, refactor, test, chore, ci, perf, build, and similar typesVerify the commit that was actually created. Pre-commit hooks or formatters may modify and re-stage files during commit creation, so the post-commit check is required even after reviewing staged changes.
git log --oneline -5
git show --stat HEAD # Files included in the commit
git show HEAD # Exact committed diff, including hook-produced changes
git status # Confirm hook-produced changes were not left uncommitted
--amend.--no-verify. Investigate and fix failing hooks.Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
npx claudepluginhub j5ik2o/ai-tools --plugin git