From go-workflow
Creates a git commit with an auto-generated conventional commit message from staged changes. Includes branch protection to prevent commits on main.
How this skill is triggered — by the user, by Claude, or both
Slash command
/go-workflow:commitThis 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 a git commit with an auto-generated conventional commit message.
Create a git commit with an auto-generated conventional commit message.
$commit
Run these commands to understand the current state:
git status
git diff HEAD
git branch --show-current
git remote show origin 2>/dev/null | grep 'HEAD branch' | sed 's/.*: //' || echo "main"
git log --oneline -10
Check if you are on main, master, or the default branch:
DEFAULT_BRANCH=$(git remote show origin 2>/dev/null | grep 'HEAD branch' | sed 's/.*: //')
CURRENT=$(git branch --show-current)
If $CURRENT is main, master, or matches the default branch:
Review the diff to understand what changed:
Follow the repository's commit style (check git log --oneline -10).
If the repo uses conventional commits:
<type>(<scope>): <subject>
feat, fix, docs, style, refactor, test, chore, perfStage only relevant files — do not stage secrets (.env, credentials, etc.):
git add <relevant-files>
git commit -m "<type>(<scope>): <subject>"
If there are no changes to commit, inform the user and stop.
npx claudepluginhub gopherguides/gopher-ai --plugin go-workflowCreates a contextual git commit with a repo-appropriate, value-communicating message from staged or unstaged changes.
Creates structured git commits with clear messages following repo conventions or conventional commit format. Activated when the user asks to commit changes.
Creates a git commit with a structured, value-communicating message following repo conventions or conventional commits. Gathers git status, diff, branch, and recent log context.