Skip to main content

commit-message

Write a clear git commit message from the staged changes. Use when the user asks for a commit message, or to summarize what they are about to commit.

来源信息

仓库
codewhale-hq/codewhale-plugin-marketplace
最近来源活动
2026年10月5日 09:24
检测到的 SKILL.md 语言
英语
星标
5
分支
2

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
commit-message
description
Write a clear git commit message from the staged changes. Use when the user asks for a commit message, or to summarize what they are about to commit.
# Commit message 1. Read the staged change with `git diff --cached --stat` and then `git diff --cached`. If nothing is staged, say so and stop; do not stage files. 2. Write the message from what the diff does, not from file names: - Subject line: imperative mood, 50 characters or fewer if possible, no trailing period ("Fix retry loop on timeout"). - Blank line, then a body wrapped near 72 columns that explains why the change is needed and anything a reviewer could miss. Omit the body for a trivial change. 3. Mention behavior changes, migrations and removed options explicitly. 4. Return the message in a code block. Do not run `git commit` unless the user asks you to.
在 GitHub 查看