Install any skill in seconds. Free to start, no credit card required.
Get Started Free →doccker/cc-commit-msg
结构化 git commit message 生成工作流,适用于显式 commit message、提交说明或 commit-msg 场景;不负责实际执行 git commit。
Passed 19 of 22 test cases with the skill, and 6 of 22 without it.
and 15 more in the full report
14 fixed5 passed either way2 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 14 test cases the skill fixed. Same model, same prompt, with and without the skill.
我修改了 src/api/user.ts 和 src/api/auth.ts 两个文件,修正了 Token 刷新的逻辑。请生成包含 git add 指定文件和 commit 组合的单条 heredoc 命令。
| Checked | Without skill | With skill |
|---|---|---|
| The generated command chains git add with git commit via && | Missed | Passed |
| The commit command uses cat <<'EOF' heredoc format | Missed | Passed |
The instructions your model reads when the skill loads.
当用户明确要求生成 commit message、整理提交说明,或提到 commit-msg 时,使用本技能。
不要用于:
git add 或 git commitall、全部变更或包含未暂存时,再看整个工作区 diff。feat、fix、refactor、style、docs、test 或 chore。<type>: <subject>subject 简洁聚焦,不堆砌文件名type 关键字保留英文(feat/fix/refactor/style/docs/test/chore),subject 与 body 必须使用简体中文body 使用 flat bullets,说明核心改动Co-Authored-By输出 message 后,必须额外给出可直接复制执行的 heredoc 命令,让 git 正确保留 subject 单行 + 空行 + body 多行 bullet 的结构:
git add <文件列表> && git commit -m "$(cat <<'EOF'
<type>: <subject>
- 变更点1
- 变更点2
- 变更点3
EOF
)"
test cases passed, vs 6 / 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.