git-commit-craft
Skill0 starsChanged 4 months agoMITView on GitHub
Produces commit messages that follow conventional commits and explain not just what changed but why. Invoke when writing a commit message for any meaningful change. Skip for trivial fixes (typos, version bumps, mechanical reformatting) where a one-line subject suffices.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- pranataa-labs/Workflow-Mastertheir own version, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- pranataa-labs/Workflow-Master★ 2same 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 repository82 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- accessibilityCursor rule
- api-designCursor rule
- background-jobsCursor rule
- strict-modeCursor rule
- cachingCursor rule
- ci-pipeline-authoringCursor rule
- memory-safetyCursor rule
- code-reviewCursor rule
- concurrency-safetyCursor rule
- containerizationCursor rule
- continuous-learningCursor rule
- resource-safetyCursor rule
- nullable-reference-typesCursor rule
- database-transactionsCursor rule
- data-modelingCursor rule
- datetime-handlingCursor rule
- error-debuggingCursor rule
- eval-harnessCursor rule
- feature-flagsCursor rule
- git-commit-craftCursor rule
- error-handlingCursor rule
- incident-responseCursor rule
- null-safetyCursor rule
- vanilla-safetyCursor rule
- null-safetyCursor rule
- mcp-authoringCursor rule
- observabilityCursor rule
- perf-profilingCursor rule
- security-essentialsCursor rule
- powershell-strict-modeCursor rule
- type-safetyCursor rule
- rate-limitingCursor rule
- release-notesCursor rule
- resilienceCursor rule
- nil-and-exception-safetyCursor rule
- error-handlingCursor rule
- search-firstCursor rule
- secrets-managementCursor rule
- security-reviewCursor rule
- session-handoffCursor rule
- injection-safetyCursor rule
- strategic-compactCursor rule
- supply-chain-securityCursor rule
- optionals-and-memoryCursor rule
- tdd-workflowCursor rule
- state-and-plan-safetyCursor rule
- test-writingCursor rule
- strict-modeCursor rule
- verification-loopCursor rule
- config-safetyCursor rule
- accessibilitySkill
- api-designSkill
- background-jobsSkill
- cachingSkill
- ci-pipeline-authoringSkill
- code-reviewSkill
- concurrency-safetySkill
- containerizationSkill
- continuous-learningSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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
When a PR contains multiple logical changes that should be separate commits — invoke the skill once per commit.
- Distinctive: line 24
If the change is trivial, recommend a one-line subject and skip the body.
- Distinctive: line 73
If the diff does two things — a refactor and a feature — split into two commits.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Git commit craft
A good commit message is small effort that pays back every time someone runs git log or git blame. The failure mode this prevents: messages like "fix stuff," "updates," or "WIP" that force future readers to read the entire diff to figure out what the author was thinking. The audience is the developer reading history six months from now — sometimes that developer is you.
When to invoke
- Any commit that adds, changes, or removes behavior — bug fix, feature, refactor, performance change.
- A commit a future developer might need to understand from
git logalone, without the context of the PR. - A commit that touches code with non-obvious motivation (a workaround, a constraint compromise, a change driven by external factors).
- When a PR contains multiple logical changes that should be separate commits — invoke the skill once per commit.
When NOT to invoke (a one-line subject is enough)
- Trivial typo fixes:
docs: fix typo in README. - Version bumps:
chore: bump version to 0.2.0. - Mechanical changes obviously self-explanatory from the diff:
chore: format with prettier. - Generated file regenerations after a source change, when the source change has its own message:
chore: regenerate harness directories.
If the change is trivial, recommend a one-line subject and skip the body. Forcing a paragraph onto a typo fix is noise.
The format
<type>(<scope>): <subject>
<body — why this change exists, not what it does>
<footer — refs, breaking changes>- Type. One of:
feat,fix,refactor,docs,chore,test,perf,ci,build,style,revert. Pick the one that best describes the dominant effect of the change. - Scope. Optional, parenthesized — the area touched (
auth,api,db,cli). Skip if the change spans many areas. - Subject. Imperative mood (
add login flow, notadded login floworadds login flow). Lowercase, no trailing period, target ≤70 characters. - Body. Explains WHY. Names the problem the change solves, not the lines it touches — the diff already shows the lines. Wrap at ~72 characters per line. Skip the body if the subject is self-sufficient.
- Footer. Optional.
Refs: #123to link an issue without closing it.Closes: #456to close on merge.BREAKING CHANGE: <description>for breaking changes.
Examples
A weak message — meaningless to a future reader:
fix: stuffA reasonable subject-only message for a small bug fix:
fix: handle null user in profile rendererA good message for a change with non-obvious motivation:
fix(profile): handle null user in renderer
The profile renderer assumed `user.preferences` was always present,
which broke for accounts created before the preferences column was
added. Falls back to default preferences when the field is missing,
preserving existing behavior for new accounts.
Refs: #1247The body earned its place by explaining the constraint (legacy accounts without the column) that is invisible in the diff.
One commit, one logical change
If the diff does two things — a refactor and a feature — split into two commits. The test: can you describe the commit in a single sentence without using "and"? If not, the commit is doing too much. Split before writing the message.
This is not always feasible mid-stream. If a refactor and a feature got entangled during development, untangle them at commit time with git add -p and separate commits. The history is the deliverable, not the working tree's accidents.
Subject-line rules in detail
- Imperative mood completes the sentence "If applied, this commit will…" — "add login flow" works; "added login flow" does not.
- Subject is the change, not the diff. "validate token expiration before issuing session" describes what changed; "modify 5 lines in auth.ts" describes the diff.
- No trailing period. It is a header, not a sentence.
- Length matters. Most tools truncate at 50–72 characters. Long subjects get cut off in
git log --onelineand PR lists.
Anti-patterns
WIPortempcommits in main. Squash before merging or rebase them out.- Mixing a refactor with a behavior change in one commit. Split.
- Subject lines that describe the diff ("changed 5 lines in auth.ts") instead of the change ("validate token expiration before issuing session").
- Pasting stack traces or error output into the body. Link to an issue instead; the body explains the fix, not the symptom.
- Past tense in the subject. Conventional commits use imperative because the convention assumes the sentence "If applied, this commit will…" — past tense breaks it.
- Generic verbs that hide the change. "Update auth" tells the reader nothing; "validate token expiration before issuing session" tells them everything.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

