Commit
Create a well-structured commit with conventional format and proper git identity
by seabbs · MIT
The skill
Create a well-structured commit with conventional format and proper git identity
Create a well-structured commit.
Read git identity from the project's or org's CLAUDE.md ## Automation config table (bot_account, bot_email, owner_account, owner_email).
Arguments
--as-me: Commit as the owner instead of the bot account--bot-only: Commit as the bot account without co-author
Git Identity
| Mode | Git Author | Co-author |
|---|---|---|
| (default) | bot account (bot_email) | owner (owner_email) |
--as-me |
owner (owner_email) | none |
--bot-only |
bot account (bot_email) | none |
Process
-
Set git identity based on arguments:
- Default or
--bot-only:git config user.name "<bot_account>"andgit config user.email "<bot_email>" --as-me:git config user.name "<owner_account>"andgit config user.email "<owner_email>"
- Default or
-
Review and commit changes:
- Review staged and unstaged changes
- Determine commit type (feat, fix, docs, style, refactor, perf, test, build, ci, chore)
- Stage relevant files (exclude temp/generated: *.html, *.pdf, build/, *.log, .DS_Store)
- Write concise commit message in conventional format:
type(scope): description - Never push directly to main
-
Add co-author trailer (default mode only):
- Append
Co-authored-by: <owner_account> <<owner_email>>to commit message
- Append
Auto-Exit When Standalone
IMPORTANT: If this command is being run as a standalone request, automatically exit after completing all phases successfully.
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: seabbs/commit-79722656035.
Details
- Publisher
- seabbs
- Category
- Software Development › Source control & code review
- License
- MIT
- Updated
- 2026-08-25
References
More from seabbs
- Julia Repl Evaluate Julia through the warm AgentREPL MCP session rather than `julia -e`, hot-reload edits wi…
- Add Bot Add the bot account as a collaborator with push permissions to a repository
- Bot Report Report on what the unattended agent bots have been doing — what the review bot has posted, what i…
- Bot Tasks Check bot notifications for tasks requested by the repo owner, then execute them using a team