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 command is triggered — by the user, by Claude, or both
Slash command
/git:SKILL <co-author>commit/Files this command reads when invoked
This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
CRITICAL: - Do NOT run `git status`, `git diff`, `git log`, or any other commands before `git-agent commit`. - Always pass `--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`. 1. Derive a one-sentence intent from the conversation. 2. Resolve `<co-author>`: if `$ARGUMENTS` is non-empty use it verbatim; otherwise...
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 git/SKILLEnables work verification for a task. Claude completes the work, verifies it, and appends a verified tag before session exit.
/SKILLResolves a GitHub issue by creating an isolated worktree, implementing a TDD fix, and opening a PR with auto-closing keywords.
/SKILLSurfaces the current session task from a state file and evaluates its clarity and completeness. Reports completion status or identifies remaining steps.