writing-commit-messages
Skill1 starsChanged 8 months agoMITView on GitHub
Writes Git commit messages. Activates when the user asks to write a commit message, draft a commit message, or similar.
15 other projects use a version of this, 4 of them edited.
Adopted by
Most recently taken up by
- steventsvik/GhosttyEXTREMEedited, first seen Nov 8, 2026
- steventsvik/Tellurionedited, first seen Nov 8, 2026
- jyjeanne/ditacrafttheir own version, first seen Nov 1, 2026
- weaverbase/skillstheir own version, first seen Oct 13, 2026
- dzakirinf/skillstheir own version, first seen Oct 13, 2026
- zgagnon/skillstheir own version, first seen Oct 9, 2026
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 4
- ghostty-org/ghostty★ 64k99% same
- steventsvik/GhosttyEXTREME★ 14199% same
- steventsvik/Tellurion★ 14199% same
- Lugia123/polter★ 2099% same
Wrote their own version · 11
- ZenPrivacy/zen-desktop★ 4.4ksame name
- rjdellecese/confect★ 381same name
- jyjeanne/ditacraft★ 19same name
- lucavb/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
- ViktorSoroka07/claude-delivery-skills★ 0same name
1 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.
- AGENTS.mdAGENTS.md
- example/AGENTS.mdAGENTS.md
- macos/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- peekaboo-fork-uiSkill
- swiftui-componentsSkill
- xcodebuildmcpSkill
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 15 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 no 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 15 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 no 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.

