commit-work
Skill130 starsChanged 12 months agoMITView on GitHub
Use when the user asks to stage changes, create a Git commit, split work into logical commits, or craft a commit message. Inspects the worktree, preserves unrelated changes, stages only intended files or hunks, and follows repository conventions.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- Rafaelrr5/agent-cortextheir own version, first seen Oct 6, 2026
- jakubsuplicki/codumenttheir own version, first seen Oct 4, 2026
- bartstc/vite-ts-react-templatetheir own version, first seen Jul 25, 2026
- hassan-mohiddin/freeflowtheir own version, first seen Jun 27, 2026
- JayMeDotDot/jmdd-agent-skillstheir own version, first seen May 1, 2026
- softaworks/agent-toolkittheir own version, first seen Jan 20, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- softaworks/agent-toolkit★ 2.5ksame name
- bartstc/vite-ts-react-template★ 122same name
- jakubsuplicki/codument★ 48same name
- hassan-mohiddin/freeflow★ 3same name
- JayMeDotDot/jmdd-agent-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 repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- branch-cleanerSkill
- bug-triageSkill
- ci-fixSkill
- create-prSkill
- dependency-upgraderSkill
- docs-syncSkill
- focused-tddSkill
- manage-product-ideasSkill
- pr-visual-explainerSkill
- rebase-assistantSkill
- regex-builderSkill
- release-notesSkill
- review-architecture-scopeSkill
- review-backend-changeSkill
- review-frontend-changeSkill
- review-security-privacySkill
- review-test-coverageSkill
- vps-checkupSkill
- write-ui-copySkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Read repository instructions and inspect the current branch, git status, unstaged diff, and staged diff.
- Distinctive: line 16
Run the smallest meaningful verification for the staged behavior and record the real result.
- Distinctive: line 20
add issue, co-author, sign-off, or breaking-change trailers only when true and repository-appropriate.
- Distinctive: line 21
Commit without bypassing hooks.
- Distinctive: line 27
Never discard, reset, amend, rebase, or include unrelated user changes without explicit authorization.
- Very specific: line 28
Never use --no-verify merely to make a commit pass.
- Distinctive: line 29
Do not claim a check ran or passed unless its output was observed.
- Very specific: line 33
Read references/commit-message-template.md when drafting or reviewing a commit message.
- Very specific: line 34
Read references/conventional-commit-types.md only when the repository uses Conventional Commits.
“Common” is measured: kept by at least 6 in 10 of the 6 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
Workflow
- Read repository instructions and inspect the current branch,
git status, unstaged diff, and staged diff. - Identify the user-authorized scope. Preserve unrelated, pre-existing, ignored, and untracked work.
- Choose the fewest logical commits that keep unrelated concerns separate. Keep inseparable implementation and focused tests together.
- Infer the message convention from repository instructions and recent commits. Use Conventional Commits only when required by the repository or requested by the user.
- Stage explicit paths. Use patch staging for mixed files. Avoid
git add .,git add -A, andgit commit -amunless the whole worktree is confirmed in scope. - Review
git diff --cached,git diff --cached --stat, andgit diff --cached --check. Check for unrelated churn, debug output, credentials, generated files, and accidental deletions. - Run the smallest meaningful verification for the staged behavior and record the real result.
- Compose the message from the staged outcome:
- make the subject specific and imperative;
- explain why or user-visible impact in the body only when it is not obvious;
- add issue, co-author, sign-off, or breaking-change trailers only when true and repository-appropriate.
- Commit without bypassing hooks. Verify the resulting subject and scope with
git show --stat --oneline --decorate HEAD. - Repeat for the next boundary, then verify
git status -sband the resulting commit list.
Safety
- A direct request to commit authorizes staging and committing the intended scope, not pushing it.
- Never discard, reset, amend, rebase, or include unrelated user changes without explicit authorization.
- Never use
--no-verifymerely to make a commit pass. - Do not claim a check ran or passed unless its output was observed.
References
- Read
references/commit-message-template.mdwhen drafting or reviewing a commit message. - Read
references/conventional-commit-types.mdonly when the repository uses Conventional Commits.
Deliverable
Report each commit hash and subject, its scope, checks run, and any remaining worktree changes.
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.

