skills/git-commit/SKILL.md
Use when user asks to commit changes, create a git commit
npx skillsauth add catch6/ai-toolkits git-commitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Read the last line of <git-diff-stat> for total insertions/deletions. Then:
git diff HEAD — read full diffgit diff HEAD -- <file> on ambiguous filesgit-diff-stat shows "no commits yet") → Treat all files as new; use git diff --cached --stat after staging to assess size D or D ) → No diff needed — file names tell the storycat small/ambiguous ones; clear names need no readingWhen splitting into multiple commits and total > 800 lines, git diff HEAD -- <group-of-files> per logical group instead of full diff.
git add <group> + git commit, no need to wait for user confirmationConventional Commits: feat:, fix:, chore:, refactor:, test:, docs:, etc.
Type/scope in English, description in Chinese: feat(auth): 添加用户登录功能
10+ files → add body listing key changes
Every commit MUST end with a Co-Authored-By trailer — match current agent:
| Agent | Trailer |
| ----------- | -------------------------------------------------- |
| Claude Code | Co-Authored-By: ClaudeCode [email protected] |
| OpenCode | Co-Authored-By: OpenCode [email protected] |
| KiloCode | Co-Authored-By: KiloCode [email protected] |
Always HEREDOC (trailer is inside the heredoc, not outside):
git commit -m "$(cat <<'EOF'
type(scope): 描述
- 变更说明
Co-Authored-By: OpenCode [email protected]
EOF
)"
tools
Use when user asks to translate text, switch language, or convert between Chinese and English
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------