commit-message
Skill1 starsChanged 2 months agoMITView on GitHub
Use when the user asks to commit, write a commit message, or stage-and-commit changes. Produces a Conventional Commits message derived from the actual staged diff, never from memory of what was edited.
34 other projects use a version of this.
Adopted by
Most recently taken up by
- parkbarg/claude-skillstheir own version, first seen Oct 3, 2026
- microsoft/nvxtheir own version, first seen Oct 3, 2026
- sheshbabu/zentheir own version, first seen Oct 2, 2026
- abigayleh/claude-workflow-plugintheir own version, first seen Sep 27, 2026
- laodao-ai/laodao-skillstheir own version, first seen Sep 26, 2026
- Manshooo/astral-genesistheir own version, first seen Sep 25, 2026
Used with
Projects with it also use error-handling, code-review and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillerror-handling
统一错误处理系统。在添加 API 端点、修改错误处理、添加前端 API 调用、编写错误相关测试时使用。
Also in 3 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 6 projects that use this
OpenAISkillbrainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Also in 3 projects that use this
Other versions34 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 34
- mergisi/awesome-openclaw-agents★ 4ksame name
- github/copilot-cli-for-beginners★ 2.8ksame name
- sheshbabu/zen★ 1.2ksame name
- microsoft/nvx★ 296same name
- danielvm-git/bigpowers★ 252same name
- Aedelon/claude-code-blueprint★ 120same name
- c-kick/hnl-agent-skills★ 51same name
- iamwjun/localcoder★ 39same name
- whyashthakker/agent-skills-marketing★ 19same name
- jiatastic/open-python-skills★ 9same name
24 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- changelogSkill
- claude-md-initSkill
- dependency-auditSkill
- pr-descriptionSkill
- readme-refreshSkill
- secret-auditSkill
- test-gap-finderSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 27 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 8
Write commit messages from evidence (the diff), not from recollection.
- Distinctive: line 11
Run git status --porcelain and git diff --cached --stat.
- Very specific: line 12
Read the staged diff: git diff --cached.
- Distinctive: line 30
Never describe changes that are not in the staged diff.
- Distinctive: line 31
Never include secrets, tokens, or internal URLs in the message.
- Distinctive: line 32
Do not add "Co-Authored-By" or tool attribution unless the repo's CONTRIBUTING or the user asks for it.
- Distinctive: line 33
If tests were not run, do not claim they pass in the message.
“Common” is measured: kept by at least 6 in 10 of the 27 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
commit-message
Write commit messages from evidence (the diff), not from recollection.
Procedure
- Run
git status --porcelainandgit diff --cached --stat. If nothing is staged, ask whether to stage all tracked changes (git add -u) or specific paths. Nevergit add -Asilently (untracked junk, secrets). - Read the staged diff:
git diff --cached. If it exceeds ~400 lines, read--statplus the hunks of the 5 largest files. - Classify the change:
feat,fix,refactor,perf,docs,test,build,ci,chore. Pick ONE. If the diff mixes types, say so and offer to split into two commits. - Scope = the top-level directory or module most touched (
auth,api,cli). Omit when the change is cross-cutting. - Subject: imperative, ≤ 50 chars, no trailing period.
fix(auth): reject expired refresh tokens. - Body only when the why is not obvious from the diff: 1 to 3 lines, wrap at 72. Reference issues as
Refs #123/Closes #123on their own line. - Show the message, then commit with a heredoc so newlines survive:
git commit -m "$(cat <<'MSG' fix(auth): reject expired refresh tokens Tokens past `exp` were accepted because the check used `<` instead of `<=`. Closes #412 MSG )" - Print
git log -1 --statas proof.
Rules
- Never describe changes that are not in the staged diff.
- Never include secrets, tokens, or internal URLs in the message.
- Do not add "Co-Authored-By" or tool attribution unless the repo's CONTRIBUTING or the user asks for it.
- If tests were not run, do not claim they pass in the message.
Verify
Maintainers: bash evals/run.sh /tmp/skillkeel-evals commit-message from the plugin root runs this case and grades it; records and transcripts sit in evals/commit-message/.
evals/commit-message/: fixture repo with a staged two-file bug fix; expected: fix(...) subject ≤ 50 chars, body mentions the off-by-one, no unrelated files described.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

