commit
1
总安装量
1
周安装量
#45141
全站排名
安装命令
npx skills add https://github.com/seabbs/claude-code-config --skill commit
Agent 安装分布
amp
1
opencode
1
kimi-cli
1
codex
1
gemini-cli
1
Skill 文档
Create a well-structured commit.
Arguments
--as-me: Commit as seabbs (Sam Abbott) instead of seabbs-bot--bot-only: Commit as seabbs-bot without co-author
Git Identity
| Mode | Git Author | Co-author |
|---|---|---|
| (default) | seabbs-bot (signin@samabbott.co.uk) | Sam Abbott (contact@samabbott.co.uk) |
--as-me |
Sam Abbott (contact@samabbott.co.uk) | none |
--bot-only |
seabbs-bot (signin@samabbott.co.uk) | none |
Process
-
Set git identity based on arguments:
- Default or
--bot-only:git config user.name "seabbs-bot"andgit config user.email "signin@samabbott.co.uk" --as-me:git config user.name "Sam Abbott"andgit config user.email "contact@samabbott.co.uk"
- 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: Sam Abbott <contact@samabbott.co.uk>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.