Help us improve
Share bugs, ideas, or general feedback.
From git-plugin
Creates local Git commits with conventional messages and GitHub issue references. Handles staging, pre-commit hooks, and automatic issue detection from changes.
npx claudepluginhub laurigates/claude-plugins --plugin git-pluginHow this skill is triggered — by the user, by Claude, or both
Slash command
/git-plugin:git-commithaikuThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create local commits with proper conventional messages and issue references.
Creates semantic git commits with conventional commit format, stages changes, and pushes to remote. Handles pre-commit hooks and writes meaningful commit messages.
Guides conventional commit messages, explicit git staging workflows, logical change grouping, and best practices with issue linking. Useful for git add, commit, or staging tasks.
Executes git commits with conventional commit message analysis, intelligent staging, and message generation. Use when asked to commit changes or when /commit is invoked.
Share bugs, ideas, or general feedback.
Create local commits with proper conventional messages and issue references.
Trigger phrases:
Context signals:
git status shows modified/untracked files# Check branch and status
git branch --show-current
git status --porcelain=v2 --branch
# View changes
git diff --stat # Unstaged
git diff --cached --stat # Already staged
Explicit staging (preferred):
git add src/feature.ts
git add tests/feature.test.ts
git status --porcelain # Verify
Modified tracked files:
git add -u # Stage all modified tracked files
If .pre-commit-config.yaml exists:
pre-commit run --all-files
# If hooks modify files (formatters), re-stage:
git add -u
pre-commit run --all-files # Should pass now
Scan open issues for matches (see github-issue-autodetect skill):
gh issue list --state open --json number,title,labels --limit 30
Match staged changes to issues by:
IMPORTANT: Use HEREDOC directly in the git commit command.
git commit -m "$(cat <<'EOF'
type(scope): concise description
Optional body explaining the change.
Fixes #123
Refs #456
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
EOF
)"
For trailer conventions (Co-authored-by, Signed-off-by, BREAKING CHANGE, Release-As), see git-commit-trailers skill.
| Type | Use Case | Version Bump |
|---|---|---|
feat | New feature | Minor |
fix | Bug fix | Patch |
perf | Performance improvement | Patch |
refactor | Code restructuring | None |
docs | Documentation | None |
test | Adding tests | None |
chore | Maintenance, deps | None |
ci | CI/CD config | None |
build | Build system, deps | None |
See Conventional Commits Standards for complete reference.
| Keyword | Effect |
|---|---|
Fixes #N | Closes issue on merge (bug fixes) |
Closes #N | Closes issue on merge (features) |
Refs #N | Links without closing (partial work) |
On success, report:
Created commit: abc1234
Message: feat(auth): add OAuth2 support
Fixes #123
Refs #456
Ready for: push to remote, create PR, or continue working
This skill creates local commits only. For remote operations:
Common compositions:
No changes to commit:
Nothing to commit. Working tree clean.
Pre-commit hook fails:
# Fix the issue, then:
git add -u
pre-commit run --all-files
# Then commit
Merge conflict markers:
Cannot commit: unresolved merge conflicts in <file>