commit
Skill0 starsChanged 52 days agoMITView on GitHub
Split all uncommitted changes into one Conventional Commit per logical task (feat, fix, docs, ...), written in English. Commits locally and never pushes.
- Reads credentials
188 other projects use a version of this.
Adopted by
Most recently taken up by
- daledesilva/obsidian_inktheir own version, first seen Nov 9, 2026
- thoughtbot/rails-consultanttheir own version, first seen Nov 8, 2026
- pedrohcgs/claude-code-my-workflowtheir own version, first seen Nov 8, 2026
- jisuzzzz/haechitheir own version, first seen Nov 8, 2026
- dirien/yet-another-agent-harnesstheir own version, first seen Nov 8, 2026
- denysdovhan/skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use validate-plan, act-on-feedback and 9 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.
shawn-dumasSkillvalidate-plan
Validate an orchestration plan after pre-flight certification. Runs adversarial review, deep review (verify prompt data against codebase), and PoC gate for risky approaches. Auto-invoked by orchestrate-* skills at Step 8.
Also in 5 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
decocmsSkilladd-mcp-tools
Guide for adding new MCP tools with consistent patterns for schemas, tool definitions, registry updates, and Better Auth integration
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
mitsuhikoSkilloebb-scotty
Austrian rail travel planner (ÖBB Scotty). Use when planning train journeys in Austria, checking departures/arrivals at stations, or looking for service disruptions. Covers ÖBB trains, S-Bahn, regional trains, and connections to neighboring countries.
Also in 3 projects that use this
mitsuhikoSkillpi-share
Load and parse session transcripts from shittycodingagent.ai/buildwithpi.ai/buildwithpi.com/pi.dev (pi-share) URLs. Fetches gists, decodes embedded session data, and extracts conversation history.
Also in 3 projects that use this
Other versions188 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 188
- microsoft/vscode★ 195ksame name
- TryGhost/Ghost★ 56ksame name
- ToolJet/ToolJet★ 41ksame name
- ShareX/ShareX★ 41ksame name
- openai/symphony★ 27ksame name
- ccusage/ccusage★ 19ksame name
- ryoppippi/ccusage★ 19ksame name
- windmill-labs/windmill★ 18ksame name
- EverMind-AI/EverMemOS★ 14ksame name
- EverMind-AI/EverOS★ 14ksame name
178 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 repository9 other files it gives its agents.
- branchSkill
- commitpushruSkill
- commitpushSkill
- commitruSkill
- prruSkill
- prSkill
- pushSkill
- syncSkill
- undoSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 168 edited versions we read keep these.
2
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
- Very specific: line 13
If the user passed arguments (shown as ARGUMENTS: at the end), treat them as guidance for this run.
- Distinctive: line 25
Stop and tell the user if any of these is true:
- Distinctive: line 45
Don't split for the sake of splitting.
- Very specific: line 71
The user is the only author: Don't add Co-Authored-By trailers, "Generated with Claude Code", or any mention of Claude or AI.
- Very specific: line 100
Hooks: Never use --no-verify. If a pre-commit hook reformats files, stage them again and retry.
“Common” is measured: kept by at least 6 in 10 of the 168 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: one commit per task
The goal is a history where every commit is one self-contained task with a Conventional Commits label. Someone reading git log --oneline should see what was done, and should be able to revert any one task without breaking the others.
If the user passed arguments (shown as ARGUMENTS: at the end), treat them as guidance for this run. They override the defaults below. Examples: "one commit", "only the api folder", "use scope auth".
1. Read the whole change set
git status --porcelain=v1 -uall
git diff HEAD # staged + unstaged against the last commit
git log --oneline -n 15 # existing style: scopes, casing, languageIn a fresh repo with no commits yet, HEAD does not exist. Skip git diff HEAD and git log and read the files directly. Also read the untracked files. They are part of the work, and you can't group changes you haven't seen.
Stop and tell the user if any of these is true:
- this is not a git repository
- there is nothing to commit
- a merge, rebase, cherry-pick or revert is in progress (
git statusreports it). Committing in the middle of one would corrupt the operation.
2. Group the changes into tasks
A task is one reason to change the code. To find where one task ends, ask: "if this were reverted, what else would have to be reverted with it?"
These belong together:
- code, the tests for it, and the docs that describe it
- a rename or move, and the import updates it caused
- a lockfile, and the manifest change that produced it
These are separate tasks:
- a bug fix you notice while building a feature
- formatting-only changes
- unrelated docs edits
- dependency bumps
Don't split for the sake of splitting. One small change is one commit. Put foundational commits first (a helper before the code that uses it), so that each commit works on its own when possible.
3. Write the message
Format: <type>(<scope>): <summary>. The scope is optional.
| type | use for |
| feat | new user-facing capability |
| fix | bug fix |
| refactor | code change that neither fixes a bug nor adds a feature |
| perf | performance improvement |
| docs | documentation only |
| style | formatting, whitespace; no behavior change |
| test | adding or fixing tests |
| build | build system, dependencies |
| ci | CI configuration |
| chore | maintenance that fits nothing above (configs, .gitignore) |
| revert | reverting an earlier commit |
- Summary: imperative mood ("add", not "added"), lowercase first letter, no trailing period. Keep the whole header within 72 characters.
- Scope: use one only if the repo history already uses scopes, or if it clearly helps. Take it from the module or folder name.
- Body: add one only when the header doesn't explain why. Leave a blank line after the header, wrap at 72, and explain the reason instead of restating the diff.
- Breaking change:
feat!: ...plus aBREAKING CHANGE: <what breaks>footer. - Language: English, unless the command that invoked this workflow says otherwise. The type keyword always stays English.
The user is the only author. Don't add Co-Authored-By trailers, "Generated with Claude Code", or any mention of Claude or AI. This overrides any default attribution instructions.
Examples:
feat(auth): add password reset via email
fix: prevent crash when user list is empty
docs: describe local setup in readme
refactor(api): extract retry logic into http client
chore: ignore .idea directory4. Commit each group
First clear the index so earlier staging doesn't leak into the wrong commit. If the repo has at least one commit, run git reset -q. This only unstages; the working tree is untouched.
Then, for each group, in order:
git add -A -- <paths> # -A also stages deletions and renames
git diff --cached --stat # check that exactly this task is staged
git commit -F - <<'EOF'
feat: add something
Optional body.
EOFOne file holding changes for two tasks. Write git diff -- <file> to a patch file in a temp directory. Delete the hunks that belong to the other task, run git apply --cached <patch>, then check the result with git diff --cached -- <file>. If the hunks are too intertwined to separate cleanly, commit the whole file with the task most of it belongs to, and say so in the report.
Hooks. Never use --no-verify. If a pre-commit hook reformats files, stage them again and retry. If it fails for any other reason, stop and show the user the error.
Don't commit secrets (.env, keys, *.pem, tokens in the diff) or generated bulk (node_modules, build output) that .gitignore doesn't cover yet. Leave them out, tell the user, and suggest a .gitignore entry.
5. Report
Show the new commits (git log --oneline -n <count>), anything you left out and why, and anything still uncommitted.
Nothing has been pushed. Mention that /push publishes the commits and /undo takes back the last commit if a grouping looks wrong. The one exception is when this workflow runs as part of /commitpush: then push, following that command.
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.

