commit
CRITICAL:
- Do NOT run
git status,git diff,git log, or any other commands beforegit-agent commit. - Always pass
--co-authortogit-agent commit. If$ARGUMENTSis non-empty, use it verbatim. Otherwise self-derive from your own runtime model identity (the model named in your own system prompt) plus<noreply@anthropic.com>— e.g.,Claude Opus 4.7 <noreply@anthropic.com>. Never run a commit without--co-author.
- Derive a one-sentence intent from the conversation.
- Resolve
<co-author>: if$ARGUMENTSis non-empty use it verbatim; otherwise build<your-running-model> <noreply@anthropic.com>from your own runtime identity. - Run:
git-agent commit --intent "<intent>" --co-author "<co-author>" - On auth error (401), retry the same command with
--freeappended; keep the--co-authorflag. - Fallback (binary unavailable): manual
git commitwith Conventional Commits format via HEREDOC, including aCo-Authored-By: <co-author>trailer in the message body.
CLI reference: ${CLAUDE_PLUGIN_ROOT}/references/cli.md
More from fradser/dotclaude
behavior-driven-development
Applies behavior-driven development principles including Gherkin scenarios and test-driven development. This skill should be used when the user asks to implement features, fix bugs, or when writing executable specifications and tests before writing production code.
64update-gitignore
Creates or updates a .gitignore file using git-agent AI generation. This skill should be used when the user asks to "update gitignore", "create gitignore", "add ignore rules", or needs to initialize ignore rules for a project.
63commit-and-push
Creates conventional git commits using git-agent and pushes to the remote repository. This skill should be used when the user asks to "commit and push", "push my changes", or wants to commit and immediately push to remote. The executing AI auto-derives its own co-author string from its runtime model identity (e.g., `Claude Opus 4.7 <noreply@anthropic.com>`) and passes it to `--co-author`. `$ARGUMENTS`, if provided, overrides the auto-derived value.
63plugin-best-practices
This skill should be used when the user asks to "validate plugin structure", "review manifest files", "check frontmatter compliance", "verify tool invocation patterns", "explain plugin component types", or needs Claude Code plugin architectural guidance.
62finish-release
Finalizes a release and merges it into main and develop with a tag using git-flow. This skill should be used when the user asks to "finish a release", "merge release branch", "complete release", "git flow release finish", or wants to finalize a release.
62finish-hotfix
Finalizes a hotfix and merges it into main and develop using git-flow. This skill should be used when the user asks to "finish a hotfix", "merge hotfix branch", "complete hotfix", "git flow hotfix finish", or wants to finalize a hotfix.
61