Install any skill in seconds. Free to start, no credit card required.
Get Started Free →wasabeef/按语义单元拆分变更并提交
按语义单元拆分变更并提交。「提交」「分割提交」「语义提交」「按逻辑单元提交」等触发。
Passed 20 of 22 test cases with the skill, and 14 of 22 without it.
and 4 more in the full report
6 fixed14 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
Before staging files for the first logical commit group, what Git command is run to reset any currently staged changes in the index while preserving working tree edits?
| Checked | Without skill | With skill |
|---|---|---|
| Specifies git reset HEAD to clear staged changes prior to selective group staging | Missed | Passed |
The instructions your model reads when the skill loads.
将大型变更拆分为有意义的最小单位,并按顺序使用语义化提交消息进行提交。不依赖外部工具,仅使用 git 标准命令。
/semantic-commit [选项]
--dry-run : 不实际提交,仅显示建议的提交拆分--lang <语言> : 强制指定提交消息语言 (en, zh-cn)--max-commits <数> : 指定最大提交数 (默认: 10)# 分析当前变更并按逻辑单位提交
/semantic-commit
# 仅确认拆分方案 (不实际提交)
/semantic-commit --dry-run
# 用英语生成提交消息
/semantic-commit --lang en
# 用中文生成提交消息
/semantic-commit --lang zh-cn
# 最多拆分为 5 个提交
/semantic-commit --max-commits 5
git diff HEAD 获取所有变更test cases passed, vs 14 / 22 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.