commit
Skill2 starsChanged 4 months agoMITView on GitHub
Create one or more focused commits from the current working tree. Groups changes by logical concern, writes terse category-prefixed headlines and short high-level descriptions. Authored as the user (no Claude co-author). Use when the user says "commit this", "make a commit", "commit my changes", or invokes /commit.
- Reads credentials
- Commits and pushes
193 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- morodomi/dev-crewtheir own version, first seen Oct 5, 2026
- Magnus-Gille/claude-skillstheir own version, first seen Oct 5, 2026
- Kangentic/kangentictheir own version, first seen Oct 5, 2026
- Integralist/agent-skillstheir own version, first seen Oct 4, 2026
- tam159/next-roletheir own version, first seen Oct 4, 2026
Used with
Projects with it also use create-branch, review-r and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SentrySkillcreate-branch
Create a git branch following Sentry naming conventions. Use when asked to "create a branch", "new branch", "start a branch", "make a branch", "switch to a new branch", or when starting new work on the default branch.
Also in 4 projects that use this
luischanciSkillreview-r
Run the R code review protocol on R scripts. Checks code quality, reproducibility, domain correctness, and professional standards. Produces a report without editing files.
Also in 3 projects that use this
MicrosoftSkillact-on-feedback
Act on user feedback attached to the current session. Use when the user submits feedback on the session's changes via the Submit Feedback button.
Also in 3 projects that use this
MicrosoftSkillgenerate-run-commands
Generate or modify run commands for the current session. Use when the user wants to set up or update run commands that appear in the session's Run button.
Also in 3 projects that use this
AWSSkillissue
Implement a GitHub issue end-to-end — branch, code, test, docs, and commit.
Also in 9 projects that use this
luischanciSkillvalidate-bib
Validate bibliography entries against citations in all manuscript files. Find missing entries and unused references.
Also in 3 projects that use this
- +2 more from luischanci
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- microsoft/vscode★ 196ksame name
- ToolJet/ToolJet★ 41ksame name
- openai/symphony★ 28ksame name
- EverMind-AI/EverOS★ 13ksame name
- GetStream/Vision-Agents★ 8.1ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- Windy3f3f3f3f/claude-code-from-scratch★ 2.7ksame name
- NeoLabHQ/context-engineering-kit★ 1.7ksame name
- pedrohcgs/claude-code-my-workflow★ 1.6ksame name
- bubblelabai/BubbleLab★ 1.1ksame name
183 more not listed
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 repository8 other files it gives its agents.
- comment-cleanupSkill
- difit-openSkill
- difit-resolveSkill
- difit-reviewSkill
- refactor-proseSkill
- refine-skillsSkill
- squashSkill
- ste-writingSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
7
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 27
Commit everything by default, but the tree often holds work from more than one task.
- Distinctive: line 32
Use git add -A / git add ..
- Distinctive: line 47
No bullet lists of files changed.
- Distinctive: line 60
Commit via heredoc to preserve formatting:
- Very specific: line 71
If a pre-commit hook fails: fix the underlying issue, re-stage, make a new commit.
- Distinctive: line 73
After all commits: git status to confirm clean (or only intentionally-left-unstaged files remain).
- Distinctive: line 80
No emojis in commit messages.
- Distinctive: line 81
No multi-paragraph essays in the body.
“Common” is measured: kept by at least 6 in 10 of the 174 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
Minimal commit workflow. Group sensibly, write short, ship.
Authorship
Commits go out in the user's name only. Never add Co-Authored-By: Claude or any other trailer. Never pass --author. Use the existing git config.
Step 1 — Inspect
Run in parallel:
git status(no-uall)git diff(unstaged)git diff --stagedgit log --oneline -15to match existing prefix style
Step 2 — Group
Split the working tree into the smallest number of sensible commits. Default to one commit. Split only when the changes serve clearly different concerns (e.g. a backend fix + an unrelated frontend tweak + a helm config bump).
Commit everything by default, but the tree often holds work from more than one task. If the user names a task, commit only that work and leave the rest in place. List the paths you left uncommitted.
Do not:
- Split a refactor from the behavior change it enables unless the user asked for that separation.
- Bundle untracked junk (logs,
.env, dotfiles,*.sqlite3and other local databases, MEDIA_ROOT uploads, cache files) — ask before staging anything suspicious. - Use
git add -A/git add .. Stage explicit paths.
Step 3 — Message format
Headline (≤72 chars):
<category>: <what changed, imperative, lowercase after colon>Pick the category from what the change actually touches. Look at recent git log for the conventions in use. Common ones in this repo: backend:, frontend:, helm:, docs:, bugfix:, chore:, refactor:, chat agent:, plus area-specific tags. If a change spans two areas cleanly, prefer splitting; if it genuinely doesn't, drop the prefix rather than inventing a hybrid.
Body (optional, only if the headline isn't enough):
- 1–3 short lines, high-level why not line-by-line what.
- No bullet lists of files changed. No restatement of the diff.
- Skip the body entirely for trivial changes.
Examples of good headlines (from this repo's history):
frontend: Simplify chat.js & eliminate dead code.bugfix: family background message partnerdocs: Add storage recommendations
Step 4 — Commit
For each group, in sequence:
- Stage explicit paths:
git add path/one path/two Commit via heredoc to preserve formatting:
git commit -m "$(cat <<'EOF' backend: fix profile creation when group missing Group lookup raised instead of creating; mirror the form path. EOF )"- If a pre-commit hook fails: fix the underlying issue, re-stage, make a new commit. Never
--amenda failed commit. Never--no-verify. - After all commits:
git statusto confirm clean (or only intentionally-left-unstaged files remain).
Don'ts
- No
Co-Authored-Bytrailer. No "Generated with Claude Code". - No
--amendunless the user explicitly asks. - No
git push. Committing ≠ pushing. - No emojis in commit messages.
- No multi-paragraph essays in the body.
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.

