commit-message-writer
Skill48 starsChanged 17 days agoMITView on GitHub
Writes clear git commit messages in the conventional commits style from a diff or a description of the change. Use when the user asks for a commit message, wants to tidy up a message before pushing, or has staged changes and no wording yet.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- Laffey-82/cn-agent-skillstheir own version, first seen Aug 29, 2026
- bestdeejay-design/agent-skillstheir own version, first seen Aug 9, 2026
- michaelm7456/claude-skillstheir own version, first seen Jul 19, 2026
- bilals2008/bilal-skillstheir own version, first seen Jul 4, 2026
- RandyRawgust/ai-knowledge-base-templatetheir own version, first seen May 22, 2026
- sujithq/skillstheir own version, first seen May 20, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- bestdeejay-design/agent-skills★ 6same name
- Laffey-82/cn-agent-skills★ 1same name
- RandyRawgust/ai-knowledge-base-template★ 1same name
- bilals2008/bilal-skills★ 0same name
- kakarot-oncloud/claude-dev-skills★ 0same name
- michaelm7456/claude-skills★ 0same name
- sujithq/skills★ 0same name
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 repository15 other files it gives its agents.
- api-endpoint-testerSkill
- changelog-generatorSkill
- csv-profilerSkill
- dockerfile-linterSkill
- env-file-auditorSkill
- json-diffSkill
- log-analyzerSkill
- meeting-notes-to-actionsSkill
- pr-description-writerSkill
- python-code-smellsSkill
- readme-doctorSkill
- secure-code-reviewSkill
- skill-authorSkill
- sql-query-reviewerSkill
- todo-extractorSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
Use the body for the reason, the trade-off or the side effects.
- Distinctive: line 38
If the diff mixes unrelated changes, say so and propose one message per change.
- Distinctive: line 42
Read the diff and find the single main intent.
- Distinctive: line 44
Write the summary, then the body only if the reason is not obvious.
- Distinctive: line 61
If there is no diff and no description, ask what changed instead of guessing.
“Common” is measured: kept by at least 6 in 10 of the 6 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 writer
When to use
- The user pastes a diff, or says "write a commit message for this".
- The user shows a vague message ("fix stuff", "wip") and wants it improved.
- A change touches several areas and should be split into more than one commit.
Format
<type>(<optional scope>): <summary>
<optional body>
<optional footer>Types: feat, fix, docs, refactor, perf, test, build, ci, chore. Add ! after the type or a
BREAKING CHANGE: footer for incompatible changes.
Rules
- The summary is at most 72 characters, in the imperative mood ("add", not "added"), with no trailing period.
- Say what changed and why, not how. The diff already shows how.
- Use the body for the reason, the trade-off or the side effects. Wrap lines at 72 characters.
- Reference issues in the footer, for example
Closes #42. - If the diff mixes unrelated changes, say so and propose one message per change.
Steps
- Read the diff and find the single main intent.
- Pick the type and a scope that matches a folder or module name used in the repo.
- Write the summary, then the body only if the reason is not obvious.
- Return the message in a code block, and mention any suggested split.
Example
Change: a retry loop was added around an HTTP call and the timeout was raised from 5 to 15 seconds.
fix(client): retry failed requests and raise timeout
The upstream API drops about 2% of connections under load. Retry up to
three times with backoff and use a 15 second timeout so slow responses
are not cut off.Errors
If there is no diff and no description, ask what changed instead of guessing.
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.

