AGENT SKILL

commit-crafter

Writes a conventional commit message from the staged diff. Use when the user asks for a commit message.

License 许可
Unlicense
最近更新
2026-11-15
Stars
★ 21
Forks
9

01 前言 Front Matter

name
commit-crafter
description
Writes a conventional commit message from the staged diff. Use when the user asks for a commit message.
allowed-tools
[ "Bash(git diff:*)", "Bash(git log:*)" ]

03 SKILL.md 正文

Commit Crafter

  1. Run git diff --staged and read every hunk.
  2. Run git log --oneline -10 to match the tone of recent messages.
  3. Write one subject line under 72 characters in the form type(scope): summary.
  4. Add a body only when the change needs a reason that the diff does not show.

Print the message. The user commits it.

04 同仓库更多 Skills