/cstk-language-go:commitfrom cstk-language-go
Creates git commits with conventional commit messages, handling staged and unstaged changes, submodules, and project conventions.
Ships in cstk-language-go. 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.
None: SKILL.md is the whole skill.
Create a git commit for the current changes following project conventions.
Run these three commands simultaneously:
git status (never use -uall flag)git diff --staged and git diff to see all changesgit log --oneline -5 to match the repository's commit message styleReview all staged and unstaged changes. Determine:
services/* submodules modified? If yes, summarize what changed in each.git add specifying individual files.git add -A or git add . — always add files by name..env, .env.*, credentials.json, private keys, etc. Warn the user if they exist.t.txt, *.tmp, scratch files.Follow Conventional Commits format matching the repo's style:
<type>: <short summary in English, imperative mood, under 72 chars>
<optional body: bullet points describing key changes>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Types: feat, fix, refactor, docs, chore, test, build, ci, perf
Rules:
feat: update submodules with <summary>Co-Authored-By: Claude Opus 4.6 <[email protected]>Examples from this repo:
feat: update submodules with position rules, accent-insensitive collation, and multi-lodge inactive periodsfix: update submodules with proxy header config for real client IPsdocs: atualizar casos de usoUse a HEREDOC to preserve formatting:
git commit -m "$(cat <<'EOF'
<type>: <summary>
<body>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
EOF
)"
Run git status after commit to confirm success. Report the commit hash and summary to the user.
NEVER push automatically. Only push if the user explicitly says "push", "e push", "e faz push", or similar.
If the commit fails due to a pre-commit hook:
--amend unless explicitly asked)If submodules have uncommitted changes inside them (shown as "modified content" or "untracked content" in git status):
cd into each submodule, commit, and pushWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jotjunior/cstk --plugin cstk-language-go7 skills in this plugin
/go-add-consumerAdd a RabbitMQ event consumer to an existing GOB Go microservice/go-add-entityAdd a full CRUD vertical slice (domain, DTO, repository, service, handler, migration, factory wiring) to an existing GOB Go microservice/go-add-migrationCreate properly named PostgreSQL migration files for GOB microservices/go-add-testAdd unit/integration tests to a GOB Go microservice following established project patterns.
Triggers: "add test", "add tests", "criar teste", "novo teste", "test coverage", "testar",
"write tests for", "escrever testes para".
Other plugins' skills for the same job