make-git-commit
Skill4 starsChanged 5 months agoMITView on GitHub
Use this skill when the user wants to create a Git commit following the Conventional Commits specification.
In this repository7 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- file-bug-reportSkill
- make-one-contributionSkill
- respond-to-commentSkill
- review-pull-requestSkill
- submit-pull-requestSkill
- triage-issueSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. About 0 are common, 10 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Commit straight from staged state, leaving edit, lint, test, and build aside.
- Very specific: line 22
Write description in imperative mood, lowercase.
- Very specific: line 23
Use no trailing period. Keep description under 72 characters.
- Very specific: line 24
Keep description under 72 characters.
- Distinctive: line 26
Do this when commit ties to known issue or pull request.
- Very specific: line 31
Add BREAKING CHANGE: footer when commit introduces incompatible change.
- Distinctive: line 35
Keep body to few short sentences.
- Distinctive: line 38
Keep message free of restated diffs, file lists, and obvious summaries.
- Distinctive: line 39
Keep each commit to one related change.
- Very specific: line 43
Add Closes #<number> or Fixes #<number> footer only when needed.
- Distinctive: line 44
Add it only when host needs that token to auto-close ticket on merge.
- Very specific: line 48
Keep every Co-authored-by: trailer free of Claude, Anthropic, and any agent.
- Very specific: line 49
Leave author and committer identity as Git sets them.
- Very specific: line 50
Keep message free of advertising trailers, signatures, and emoji.
- Very specific: line 51
Keep message free of Generated with lines.
- Distinctive: line 55
Run hooks and signing as configured unless user asked to bypass them.
- Distinctive: line 57
Leave amend, rebase, force-push, and push aside.
- Distinctive: line 61
Verify commit subject, body, footers, and file set after committing.
- Distinctive: line 62
Create new commit on top rather than amending when something is wrong.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Staging
Trust staged state. Commit straight from staged state, leaving edit, lint, test, and build aside. Stage files explicitly with paths user named.
Type
Respect Conventional Commits standard. Pick type from standard set. Hold to that standard set.
Description
Write description in imperative mood, lowercase.
Use no trailing period.
Keep description under 72 characters.
Prepend ticket number with # to description.
Do this when commit ties to known issue or pull request.
Breaking
Append ! after type or scope when commit introduces incompatible change.
Add BREAKING CHANGE: footer when commit introduces incompatible change.
Body
Keep body to few short sentences. Explain motivation and visible effect. Omit body when subject says enough. Keep message free of restated diffs, file lists, and obvious summaries. Keep each commit to one related change.
Footers
Add Closes #<number> or Fixes #<number> footer only when needed.
Add it only when host needs that token to auto-close ticket on merge.
Trailers
Keep every Co-authored-by: trailer free of Claude, Anthropic, and any agent.
Leave author and committer identity as Git sets them.
Keep message free of advertising trailers, signatures, and emoji.
Keep message free of Generated with lines.
Safety
Run hooks and signing as configured unless user asked to bypass them. Confine work to one fresh local commit. Leave amend, rebase, force-push, and push aside.
Verify
Verify commit subject, body, footers, and file set after committing. Create new commit on top rather than amending when something is wrong.
Example
Input: staged src/parser.rs; ties to issue #214; user says "commit it"
git commit produces:
fix: #214 reject trailing comma in arrays
The array parser accepted a trailing comma, diverging from the
JSON grammar. Tighten the lookahead so a stray comma now fails.
Closes #214
Verified description leads with #214, stays under 72 chars,
lowercase, no trailing period; footer auto-closes the issue.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.

