From Git
Creates a conventional git commit using git-agent. This skill should be used when the user requests "commit", "git commit", "create commit", or wants to commit staged and unstaged changes following the conventional commits format. The executing AI auto-derives its own co-author string from its runtime model identity (e.g., `Claude Opus 4.7 <[email protected]>`, `Grok 4.5 <[email protected]>`, `GLM-4.5 <[email protected]>`) and passes it to `--co-author`. `$ARGUMENTS`, if provided, overrides the auto-derived value.
How this skill is triggered — by the user, by Claude, or both
Slash command
/git:commit <co-author><co-author>This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
CRITICAL:
CRITICAL:
git status, git diff, git log, or any other commands before git-agent commit.--co-author to git-agent commit. If $ARGUMENTS is non-empty, use it verbatim. Otherwise self-derive from your own runtime model identity: take the model identifier from your own system prompt, map it to a provider domain via the table below, and build <Display Name> <noreply@<domain>>. Never run a commit without --co-author.Derive a one-sentence intent from the conversation.
Resolve <co-author>: if $ARGUMENTS is non-empty use it verbatim; otherwise pick the row below whose model-prefix matches the model named in your own system prompt, and build <Display Name> <noreply@<domain>> (e.g. Claude Opus 4.7 <[email protected]>, Grok 4.5 <[email protected]>, GLM-4.5 <[email protected]>).
| Model prefix | Display Name | noreply domain |
|---|---|---|
claude- / Claude (Fable/Opus/Sonnet/Haiku) | Claude | anthropic.com |
gpt- / o1- / o3- / openai | GPT | openai.com |
gemini- / Gemini | Gemini | google.com |
grok / Grok / xai / xAI | Grok | x.ai |
glm- / GLM / chatglm | GLM | zhipuai.cn |
qwen | Qwen | qwen.ai |
deepseek | DeepSeek | deepseek.com |
moonshot / kimi | Kimi | moonshot.ai |
If the model name matches no row, default to Claude <model-identifier> <[email protected]> (the host that runs this marketplace), using the raw model identifier as the display name, and proceed — do not block the commit on attribution ambiguity.
Run: git-agent commit --intent "<intent>" --co-author "<co-author>"
On auth error (401), retry the same command with --free appended; keep the --co-author flag.
Fallback (binary unavailable): manual git commit with Conventional Commits format via HEREDOC, including a Co-Authored-By: <co-author> trailer in the message body. Prefix the command with the GIT_SKILL_FALLBACK=1 marker (e.g. GIT_SKILL_FALLBACK=1 git add -A && git commit -m "$(cat <<'EOF' ...)") — the plugin's PreToolUse hook denies raw git add/git commit without it.
CLI reference: ${CLAUDE_PLUGIN_ROOT}/references/cli.md
npx claudepluginhub daisycatts/dotclaude --plugin gitCreates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.