commit-message-conventions
Skill0 starsChanged 49 days agoMITView on GitHub
Write or rewrite git commit messages in Conventional Commits style with a clear subject and a body explaining why. Use when asked to commit changes, draft a commit message, clean up commit history, or write a PR description from a diff.
In this repository4 other files it gives its agents.
- github-actions-workflowsSkill
- k3s-cluster-opsSkill
- mcp-permission-reviewSkill
- your-skill-nameSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
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 15
Read the staged diff (or the commits in range) before writing anything.
- Distinctive: line 17
Write the subject: imperative mood, no trailing period, 72 characters or fewer.
- Distinctive: line 18
Write the body only when the reason is not obvious from the diff.
- Distinctive: line 34
Follow any attribution or trailer rules the project or environment specifies.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Commit Message Conventions
When to use
- The user asks for a commit message, a squash message, or a PR summary.
- Reviewing a branch whose history needs tidying before merge.
Steps
- Read the staged diff (or the commits in range) before writing anything.
- Pick the type: feat, fix, docs, refactor, test, chore, ci, or perf. Add a scope in parentheses if one area dominates.
- Write the subject: imperative mood, no trailing period, 72 characters or fewer.
- Write the body only when the reason is not obvious from the diff. Explain why the change was made and any trade-off, not a line-by-line restatement.
- Note breaking changes with a
BREAKING CHANGE:footer.
Output
A commit message in this shape:
type(scope): short imperative summary
Why this change was needed, and anything a reviewer should know.Notes
- One logical change per commit. If the diff mixes concerns, suggest splitting it.
- Follow any attribution or trailer rules the project or environment specifies.
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.

