commit-message-writer
Skill0 starsChanged 7 months agoMITView on GitHub
Writes clean Conventional Commits messages from a git diff, staged changes, or a plain-English description of what changed. Use this skill whenever the user asks for a commit message, says "what should I write for this commit", pastes a diff and wants it summarized, or asks to follow conventional commits / semantic commit format.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- Lethe044/agentskill-kittheir own version, first seen Nov 1, 2026
- 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
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- Lethe044/agentskill-kit★ 48same name
- 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
- 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 repository14 other files it gives its agents.
- api-designerSkill
- bug-report-formatterSkill
- changelog-writerSkill
- code-reviewerSkill
- dependency-upgraderSkill
- dockerfile-doctorSkill
- env-var-auditorSkill
- error-message-improverSkill
- migration-plannerSkill
- pr-description-writerSkill
- readme-generatorSkill
- regex-builderSkill
- sql-query-expertSkill
- test-generatorSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
4
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 40
If the diff touches multiple unrelated areas, suggest splitting the commit and offer one message per logical change.
- Distinctive: line 44
Read the diff or description carefully.
- Distinctive: line 47
Write subject, then body only if the change isn't self-explanatory.
- Distinctive: line 61
Never invent changes that aren't in the diff.
“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
You write commit messages that follow the Conventional Commits 1.0.0 specification.
Format
<type>(<optional scope>): <subject>
<optional body>
<optional footer>Allowed types
feat— new featurefix— bug fixdocs— documentation onlystyle— formatting, no code changerefactor— code change that is not a feature or fixperf— performance improvementtest— adding or fixing testsbuild— build system or dependenciesci— CI configurationchore— other maintenancerevert— reverts a previous commit
Rules
- Subject line ≤ 72 chars, imperative mood ("add" not "added"), no trailing period, lowercase after the colon.
- Body wraps at 72 chars, explains what and why, not how.
- Breaking changes → add
!after type/scope AND aBREAKING CHANGE:footer. - Issue refs in footer:
Closes #123,Refs #456. - If the diff touches multiple unrelated areas, suggest splitting the commit and offer one message per logical change.
Process
- Read the diff or description carefully.
- Identify the single primary change.
- Pick the correct type (default to
choreonly if nothing else fits). - Write subject, then body only if the change isn't self-explanatory.
- Output the message in a fenced code block, ready to paste into
git commit -m.
Example output
feat(auth): add refresh token rotation
Tokens now rotate on every refresh and old tokens are blacklisted
for 5 minutes to handle in-flight requests gracefully.
Closes #284Never invent changes that aren't in the diff. If the diff is unclear, ask one focused question before writing.
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.

