/git:commitfrom git
Analyze uncommitted changes and create logical, atomic commits using Conventional Commits format. Use when user requests to commit changes, organize commits, or create a commit structure. Handles commit message formatting, grouping by concern (features/fixes/refactors), secret detection, and pre-commit hook failures.
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.
Read when SKILL.md points to them.
Analyze uncommitted changes and propose logical, atomic commit structure following Conventional Commits format.
git commit --amend unless explicitly requested.env, credentials.json, *.pem, *.key automaticallyRun these commands in parallel:
git status
git diff HEAD
git log --oneline -10
Before proposing commits, scan for secret files:
.env, .env.local, .env.productioncredentials.json, secrets.yaml, *.pem, *.keyconfig/secrets.*, .aws/credentialsIf found: warn user, exclude from commits, suggest .gitignore
Break changes into atomic commits by concern:
Grouping priority:
chore(deps): - Dependency updatesrefactor(scope): - Code restructuringfeat(scope): - New featuresfix(scope): - Bug fixestest(scope): - Testsdocs: - Documentationstyle(scope): - Formattingbuild: or ci: - Build/CI configCommit message format:
type(scope): Description starting with capital letter
[Optional body explaining what/why, wrapped at 72 chars]
[Optional footer with issue refs]
Subject line rules (≤50 chars):
See reference/conventional-commits.md for complete format specification.
Format:
Proposed commits:
1. type(scope): Description
- file1.ext
- file2.ext
Body: Brief explanation of what problem this solves and why.
Fixes: #123
2. type(scope): Description
- file3.ext
Body: Context if needed.
Proceed with these commits? (yes/no/revise)
For each approved commit:
# Stage files explicitly
git add <file1> <file2> <file3>
# Create commit using HEREDOC for proper formatting
git commit -m "$(cat <<'EOF'
type(scope): description
Optional body explaining why this change was made.
EOF
)"
# Verify success
git status
Critical:
git add . or git add -A)If commit fails due to hooks:
After all commits:
git status to confirm clean stateUser: "Commit my changes"
After analysis:
Proposed commits:
1. chore(deps): Update axios to 1.6.0
- package.json
- package-lock.json
Body: Addresses CVE-2023-xxxx security vulnerability in axios.
Previous version allowed potential header injection attacks.
2. refactor(api): Extract auth logic to middleware
- src/middleware/auth.js
- src/routes/users.js
- src/routes/posts.js
Body: Authentication logic was duplicated across route handlers,
making it difficult to maintain consistent auth behavior. This
extracts the logic into reusable middleware, reducing duplication
and making future auth changes easier to implement consistently.
3. feat(users): Add email verification endpoint
- src/routes/users.js
- src/services/email.js
- src/templates/verify-email.html
Body: Implements POST /users/verify endpoint to verify user email
addresses via token sent during registration. This reduces spam
accounts and ensures we can reliably contact users.
4. test(users): Add tests for email verification
- tests/users.test.js
Body: Covers success case, invalid token, and expired token
scenarios to ensure verification flow works correctly and fails
safely for edge cases.
Proceed with these commits? (yes/no/revise)
For more examples, see reference/examples.md
feat: New featurefix: Bug fixdocs: Documentation onlystyle: Formatting, whitespace (no code change)refactor: Code change that neither fixes bug nor adds featuretest: Adding or correcting testschore: Build process, tooling, dependenciesperf: Performance improvementci: CI configurationbuild: Build system or external dependenciesFor handling special situations, see reference/edge-cases.md:
reference/conventional-commits.md - Complete Conventional Commits specificationreference/examples.md - Additional detailed examplesreference/edge-cases.md - Edge cases and special situationsWhat SKILL.md sets; muted values are Claude Code's defaults
Explore), in the backgroundnpx claudepluginhub tarqd/skills --plugin git4 skills in this plugin
/gitignoreAnalyze project structure and create or update .gitignore file with appropriate patterns for the detected tech stack/update-changelogAnalyze git changes and update CHANGELOG.md with new features, fixes, breaking changes, and other relevant entries following Keep a Changelog format/update-readmeAnalyze git changes since last README update and intelligently update README with new features, API changes, setup instructions, or breaking changes2 plugins ship this exact skill · first indexed Aug 21, 2026