From git-agent
Use when the user asks to commit changes, stage and commit, commit all changes, commit everything, or save their work to git. Does not push or create PRs — use pr-agent for that.
How this skill is triggered — by the user, by Claude, or both
Slash command
/git-agent:commit-agentThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Stage all changes and create a conventional commit message. Follow these steps in strict order. **STOP immediately after step 4.**
Stage all changes and create a conventional commit message. Follow these steps in strict order. STOP immediately after step 4.
Run git status to check repository state.
git branch --show-current returns empty): output "Cannot commit: repository is in detached HEAD state. Checkout a branch first." and STOP.Run git add -A to stage all changes.
This trusts .gitignore to exclude sensitive or generated files. The user is responsible for .gitignore correctness.
Run git diff --staged to inspect all staged changes.
Write a conventional commit message:
<type>(<scope>): <description>
Rules:
feat, fix, docs, refactor, test, chore, perf, style, ci, buildplugins/git-agent → plugins/git-agent)Examples:
feat(plugins/git-agent): add commit-agent and pr-agent skillsfix(plugins/code-review): correct activation trigger wordingchore: update marketplace.json with new plugin entryRun:
git commit -m "<message>"
Output the commit hash and message on success.
If a pre-commit hook fails: report the hook's output verbatim and STOP. Do not retry. Do not use --no-verify. Do not modify the staged files. Let the user fix the issue.
After a successful commit, output one line:
To undo:
git reset HEAD~1
STOP here. Do not run tests, analyze coverage, check for issues, push, create PRs, or take any further action.
npx claudepluginhub shawn-sandy/agentics --plugin git-agentCreates semantic git commits with conventional commit format, stages changes, and pushes to remote. Handles pre-commit hooks and writes meaningful commit messages.
Creates git commits with clear messages from working tree changes, following repo conventions or conventional commits. Handles clean trees and detached HEAD.
Creates local Git commits with conventional messages and GitHub issue references. Handles staging, pre-commit hooks, and automatic issue detection from changes.