write-commit
Skill2 starsChanged 16 days agoMITView on GitHub
Draft a commit message from the staged or pasted diff, in the project's style
7 other projects use a version of this.
Adopted by
Most recently taken up by
- amirhs1/ai-assisted-devtheir own version, first seen Nov 22, 2026
- roykollensvendsen/claude-voicetheir own version, first seen Nov 22, 2026
- adhamhaithameid/write-skillstheir own version, first seen Nov 8, 2026
- matheusPavaneli/workbenchtheir own version, first seen Oct 20, 2026
- sh4wty1/fassi-skillstheir own version, first seen Oct 9, 2026
- openjck/agent-skillstheir own version, first seen Jun 21, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- roykollensvendsen/claude-voice★ 8same name
- sh4wty1/fassi-skills★ 2same name
- adhamhaithameid/write-skills★ 1same name
- amirhs1/ai-assisted-dev★ 1same name
- matheusPavaneli/workbench★ 1same name
- openjck/agent-skills★ 0same name
- ZAidBinAsif/flutter-ai-starter★ 0same 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 repository81 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- add-languageSkill
- audit-a11ySkill
- audit-archSkill
- audit-ciSkill
- audit-debtSkill
- audit-doc-driftSkill
- audit-flagsSkill
- audit-infraSkill
- audit-perfSkill
- audit-readinessSkill
- audit-securitySkill
- audit-slopSkill
- audit-testsSkill
- audit-tokensSkill
- audit-verifySkill
- backup-patternsSkill
- bash-patternsSkill
- claude-code-mods-patternsSkill
- code-challengeSkill
- code-contractSkill
- code-deep-reviewSkill
- code-evaluateSkill
- code-from-designSkill
- code-historySkill
- code-host-patternsSkill
- code-impactSkill
- code-migrateSkill
- code-tourSkill
- code-visualSkill
- depsSkill
- django-patternsSkill
- docker-patternsSkill
- drf-patternsSkill
- engineering-fundamentalsSkill
- fastapi-patternsSkill
- git-patternsSkill
- go-patternsSkill
- graphql-patternsSkill
- investigateSkill
- javascript-patternsSkill
- kit-rulesSkill
- logging-patternsSkill
- meta-conventionsSkill
- meta-promptSkill
- meta-refreshSkill
- meta-retroSkill
- meta-skillSkill
- monitoring-patternsSkill
- next-app-router-patternsSkill
- nuxt-patternsSkill
- opentofu-patternsSkill
- pr-descriptionSkill
- pr-publishSkill
- pr-queueSkill
- pr-replySkill
- pr-reviewSkill
- python-patternsSkill
- react-patternsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
5
Distinctive
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 34
Check staged state: git status --short
- Distinctive: line 45
Write a message matching the detected style.
- Distinctive: line 58
If arguments are provided, use them as the intent hint and shape the subject around them.
- Distinctive: line 59
If the staged diff is empty, say so and stop.
- Distinctive: line 60
If the staged diff mixes unrelated changes: say so, list the clusters, and propose splitting into separate commits.
“Common” is measured: kept by at least 6 in 10 of the 7 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
/write-commit
Generate a commit message from the staged or pasted diff, matching project style; with no history to match, use Conventional Commits.
Tone and shape: skills/kit-rules/reference/output.md section 4, which wins over this file; the sections this file defines stay.
<!-- chat: only
In claude.ai chat, the arguments are the user's message and the material is what they pasted. Nothing can be run: if the diff, log, or text this needs isn't in the conversation, ask for it.
-->Loading this skill isn't enough. Before the step a row names, read its file.
| Before | Read |
| Writing the subject or the body | reference/message-practice.md |
Procedure
<!-- chat: skip -->- Check staged state:
git status --short - Pull the staged diff:
git diff --cached - Pull recent commit history to detect style:
git log --oneline -20
<!-- chat: end -->- Detect the project's commit convention from the history:
- Conventional Commits (
feat:,fix:,chore:, scoped:feat(auth):) - Ticket prefix (
ABC-123:,#456:) - Plain summary line
- Emoji-based (gitmoji)
- Conventional Commits (
- Write a message matching the detected style.
Message rules
- Subject and body: reference/message-practice.md, unless the project's history shows another shape.
- Body explains why, not what. The diff shows what.
<!-- chat: skip -->- Signatures, footers, and co-author tags:
skills/kit-rules/reference/workflow.mdsection 1.
<!-- chat: end -->- If arguments are provided, use them as the intent hint and shape the subject around them.
- If the staged diff is empty, say so and stop.
- If the staged diff mixes unrelated changes: say so, list the clusters, and propose splitting into separate commits.
Output
Print the proposed message in a fenced block, then stop. Committing is the user's call.
<!-- chat: skip -->Arguments: $ARGUMENTS
<!-- chat: end -->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.

