commit-work
Skill122 starsChanged 37 days agoMITView on GitHub
Create high-quality git commits: review/stage intended changes, split into logical commits, and write clear commit messages (including Conventional Commits). Use when the user asks to commit, craft a commit message, stage changes, or split work into multiple commits.
9 other projects use a version of this, 4 of them edited.
Adopted by
Most recently taken up by
- imMamdouhaboammar/kaku-chatgpt-harnessedited, first seen Oct 25, 2026
- nesnilnehc/ai-cortextheir own version, first seen Oct 25, 2026
- JayMeDotDot/jmdd-agent-skillsedited, first seen Oct 17, 2026
- Samueladewole/claude-skillsedited, first seen Oct 13, 2026
- avantmedialtd/skillstheir own version, first seen Oct 9, 2026
- FilenCloudDienste/filen-rsedited, first seen Oct 9, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 4
- FilenCloudDienste/filen-rs★ 10412% same
- JayMeDotDot/jmdd-agent-skills★ 115% same
- imMamdouhaboammar/kaku-chatgpt-harness★ 0100% same
- Samueladewole/claude-skills★ 0100% same
Wrote their own version · 5
- jMerta/codex-skills★ 130same name
- jakubsuplicki/codument★ 48same name
- nesnilnehc/ai-cortex★ 8same name
- avantmedialtd/skills★ 1same name
- Rafaelrr5/agent-cortex★ 1same 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 repository18 other files it gives its agents.
- .agents/skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/instructions/copilot-instructions.mdCopilot instructions
- agent-md-refactorSkill
- brainstormingSkill
- building-blocksSkill
- dependency-updaterSkill
- explaining-codeSkill
- frontend-designSkill
- github-actions-templatesSkill
- playwright-page-objectsSkill
- qa-test-plannerSkill
- react-useeffectSkill
- test-building-blocksSkill
- test-driven-developmentSkill
- typescript-advanced-typesSkill
- vercel-react-best-practicesSkill
- writing-specSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 15 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
15
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
only intended changes are included
- Distinctive: line 14
commit messages describe what changed and why
- Distinctive: line 19
Commit style: Conventional Commits are required.
- Distinctive: line 27
If many changes: git diff --stat
- Distinctive: line 30
If changes are mixed in one file, plan to use patch staging.
- Distinctive: line 32
Prefer patch staging for mixed changes: git add -p
- Distinctive: line 37
no secrets or tokens
- Distinctive: line 38
no accidental debug logging
- Distinctive: line 39
no unrelated formatting churn
- Distinctive: line 42
If you cannot describe it cleanly, the commit is probably too big or mixed.
- Distinctive: line 43
Write the commit message
- Distinctive: line 44
Use Conventional Commits (required):
- Distinctive: line 49
Prefer an editor for multi-line messages: git commit -v
- Very specific: line 50
Use references/commit-message-template.md if helpful.
- Distinctive: line 51
Run the smallest relevant verification
- Distinctive: line 52
Run the repo's fastest meaningful check (unit tests, lint, or build) before moving on.
“Common” is measured: kept by at least 6 in 10 of the 9 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
Commit work
Goal
Make commits that are easy to review and safe to ship:
- only intended changes are included
- commits are logically scoped (split when needed)
- commit messages describe what changed and why
Inputs to ask for (if missing)
- Single commit or multiple commits? (If unsure: default to multiple small commits when there are unrelated changes.)
- Commit style: Conventional Commits are required.
- Any rules: max subject length, required scopes.
Workflow (checklist)
- Inspect the working tree before staging
git statusgit diff(unstaged)- If many changes:
git diff --stat
- Decide commit boundaries (split if needed)
- Split by: feature vs refactor, backend vs frontend, formatting vs logic, tests vs prod code, dependency bumps vs behavior changes.
- If changes are mixed in one file, plan to use patch staging.
- Stage only what belongs in the next commit
- Prefer patch staging for mixed changes:
git add -p - To unstage a hunk/file:
git restore --staged -porgit restore --staged <path>
- Prefer patch staging for mixed changes:
- Review what will actually be committed
git diff --cached- Sanity checks:
- no secrets or tokens
- no accidental debug logging
- no unrelated formatting churn
- Describe the staged change in 1-2 sentences (before writing the message)
- "What changed?" + "Why?"
- If you cannot describe it cleanly, the commit is probably too big or mixed; go back to step 2.
- Write the commit message
- Use Conventional Commits (required):
type(scope): short summary- blank line
- body (what/why, not implementation diary)
- footer (BREAKING CHANGE) if needed
- Prefer an editor for multi-line messages:
git commit -v - Use
references/commit-message-template.mdif helpful.
- Use Conventional Commits (required):
- Run the smallest relevant verification
- Run the repo's fastest meaningful check (unit tests, lint, or build) before moving on.
- Repeat for the next commit until the working tree is clean
Deliverable
Provide:
- the final commit message(s)
- a short summary per commit (what/why)
- the commands used to stage/review (at minimum:
git diff --cached, plus any tests run)
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.

