Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates commit messages from staged git changes in conventional, gitmoji, or angular formats, copying them to the clipboard.
Use this skill ↓64% 73%+9 ptsof test cases passed
Passed 16 of 22 test cases with the skill, and 14 of 22 without it.
自动复制到剪贴板的内容是仅仅包含消息短语本身,还是包含完整的 `git commit -m` 执行命令?
Copies the full command string structured as git commit -m string to the clipboard.
3 of 3 safety checks passed
从暂存的更改 (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。
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.