AGENT SKILL

commit-message

Writes a conventional commit message for the staged git changes.

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

01 前言 Front Matter

name
commit-message
description
Writes a conventional commit message for the staged git changes.

03 SKILL.md 正文

Request: $ARGUMENTS

  1. Run git diff --staged. If it is empty, tell the user nothing is staged and stop.
  2. Write one conventional commit message: <type>(<scope>): <summary>, where type is feat, fix, docs, test, refactor or chore.
  3. Keep the summary under 72 characters, in the imperative mood, and describe what the diff changes, not how.
  4. Answer with the message only. Never run git commit yourself.

04 同仓库更多 Skills