writing-commit-messages
Skill24 starsChanged 9 months agoMITView on GitHub
Writes Git commit messages. Activates when the user asks to write a commit message, draft a commit message, or similar.
16 other projects use a version of this, 1 of them edited.
How people change it
All 1 edited versions we compared keep every one of its 10 rules.
Of the 1 edited version we compared: 1 keep every rule.
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Adopted by
Most recently taken up by
- bostonaholic/skillstheir own version, first seen Nov 16, 2026
- ViktorSoroka07/claude-delivery-skillstheir own version, first seen Nov 14, 2026
- steventsvik/GhosttyEXTREMEword for word, first seen Nov 8, 2026
- steventsvik/Tellurionword for word, first seen Nov 8, 2026
- jyjeanne/ditacrafttheir own version, first seen Nov 1, 2026
- Wescholm/ghostty-fleetedited, first seen Oct 15, 2026
Other versions16 projects use a version of this.
Word for word · 3
- ghostty-org/ghostty★ 65k100% same
- steventsvik/GhosttyEXTREME★ 144100% same
- steventsvik/Tellurion★ 144100% same
Edited · 1
- Wescholm/ghostty-fleet★ 198% same
Wrote their own version · 12
- ZenPrivacy/zen-desktop★ 4.6ksame name
- rjdellecese/confect★ 391same name
- jyjeanne/ditacraft★ 19same name
- lucavb/skills★ 4same name
- bostonaholic/skills★ 3same name
- witi-projects/Skills★ 2same name
- dzakirinf/skills★ 1same name
- ZeroTokenClaw/agents-skills★ 1same name
- zgagnon/skills★ 1same name
- matarpeles/skills-registry-demo★ 0same name
2 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 repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- macos/AGENTS.mdAGENTS.md
- windows/AGENTS.mdAGENTS.md
- docs/llms.txtllms.txt
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 7 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Write commit messages that follow commit style guidelines for the project.
- Very specific: line 26
Subsystem prefix: Use a short, lowercase identifier for the area of code changed (e.g., terminal, vt, lib, config, font).
- Very specific: line 38
If the change relates to a GitHub issue, PR, or discussion, list the relevant numbers on their own lines after the subject, separated by a …
- Distinctive: line 41
If there are no references, omit this section entirely (no blank line).
- Distinctive: line 48
Use plain prose, not bullet points.
- Distinctive: line 50
Keep the tone direct and technical without filler phrases.
- Distinctive: line 51
Don't exceed a handful of paragraphs.
- Very specific: line 55
If .jj is present, use jj instead of git for all commands.
- Distinctive: line 56
Run a diff to see what changes are present since the last commit.
- Distinctive: line 62
Don't push the commit; leave that to the user.
“Common” is measured: kept by at least 6 in 10 of the 13 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
Writing Commit Messages
Write commit messages that follow commit style guidelines for the project.
Format
<subsystem>: <summary>
<reference issues/PRs/etc.>
<long form description>Rules
Subject line
- Subsystem prefix: Use a short, lowercase identifier for the
area of code changed (e.g.,
terminal,vt,lib,config,font). Determine this from the file paths in the diff. If changes span the macOS app, usemacos. For GTK, usegtk. For build system, usebuild. Use nested subsystems with/when helpful and exclusive (e.g.,terminal/osc). - Summary: Lowercase start (not capitalized), imperative mood, no trailing period. Keep it concise—ideally under 60 characters total for the whole subject line.
References
- If the change relates to a GitHub issue, PR, or discussion, list
the relevant numbers on their own lines after the subject, separated
by a blank line. E.g.
#1234 - If there are no references, omit this section entirely (no blank line).
Long form description
- Describe what changed, what the previous behavior was, and how the new behavior works at a high level.
- Use plain prose, not bullet points. Wrap lines at ~72 characters.
- Focus on the why and how rather than restating the diff.
- Keep the tone direct and technical without filler phrases.
- Don't exceed a handful of paragraphs; less is more.
Workflow
- If
.jjis present, usejjinstead ofgitfor all commands. - Run a diff to see what changes are present since the last commit.
- Identify the subsystem from the changed file paths.
- Identify any referenced issues/PRs from the diff context or branch name.
- Draft the commit message following the format above.
- Apply the commit
- Don't push the commit; leave that to the user.
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.

