Stages all changes, analyzes git diff to generate conventional commit message (feat, fix, etc.), and creates commit. Handles pre-commit hooks. Use when user says commit changes or save changes.
npx claudepluginhub sequenzia/agent-alchemy --plugin agent-alchemy-git-toolsThis skill is limited to using the following tools:
Create a commit with a conventional commit message based on staged changes. Automatically stages all changes and analyzes the diff to generate an appropriate commit message.
Stages and commits git changes atomically with conventional messages. Analyzes status and diffs, groups into logical units (structural, behavioral, docs, config) without modifying code.
Stages intended Git changes, avoiding secrets, and commits with clear Conventional Commit messages. Use when work is ready and diff is understood.
Guides git commit workflow: analyzes staged files, generates conventional messages (feat/fix/etc.), updates README for features/setup changes, ignores unstaged.
Share bugs, ideas, or general feedback.
Create a commit with a conventional commit message based on staged changes. Automatically stages all changes and analyzes the diff to generate an appropriate commit message.
Execute these steps in order.
Check for changes to commit:
git status --porcelain
Stage all changes including untracked files:
git add .
Report: "Staged all changes."
View the staged diff to understand what changed:
git diff --cached --stat
git diff --cached
Analyze the diff to determine:
Build a conventional commit message following this format:
<type>(<optional-scope>): <description>
[optional body]
Types:
feat - New featurefix - Bug fixdocs - Documentation onlystyle - Formatting, no code changerefactor - Code restructuring without behavior changetest - Adding or updating testschore - Maintenance tasksbuild - Build system or dependenciesci - CI configurationperf - Performance improvementRules:
Create the commit using a heredoc for proper formatting:
git commit -m "$(cat <<'EOF'
<commit message here>
EOF
)"
On success:
On pre-commit hook failure:
If the commit fails:
git reset HEAD to unstage without losing changes