Install any skill in seconds. Free to start, no credit card required.
Get Started Free →wasabeef/从暂存更改生成提交消息
从暂存更改生成提交消息。「生成提交消息」「建议 commit message」「写个提交信息」等触发。
Passed 15 of 21 test cases with the skill, and 13 of 21 without it.
and 2 more in the full report
3 fixed13 passed either way5 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
自动复制到剪贴板的内容是仅仅包含消息短语本身,还是包含完整的 `git commit -m` 执行命令?
| Checked | Without skill | With skill |
|---|---|---|
| Copies the full command string structured as git commit -m string to the clipboard. | Missed | Passed |
The instructions your model reads when the skill loads.
从暂存的更改 (git diff --staged) 生成合适的提交消息。仅生成消息并复制到剪贴板,不执行 git 命令。
/commit-message [选项]
--format <格式> : 指定消息格式 (conventional, gitmoji, angular)--lang <语言> : 强制指定消息语言 (en, zh-cn)--breaking : 检测并记录 Breaking Change# 从暂存的更改生成消息 (自动判定语言)
# 主要候选会自动复制到剪贴板
/commit-message
# 强制指定语言
/commit-message --lang zh-cn
/commit-message --lang en
# 检测 Breaking Change
/commit-message --breaking
重要: 此命令仅分析暂存的更改。需要先使用 git add 暂存更改。
# 如果没有暂存更改,会显示警告
$ /commit-message
没有暂存的更改。请先执行 git add。
test cases passed, vs 13 / 21 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.