commit
Skill1 starsChanged 3 months agoApache-2.0View on GitHub
Create a git commit for the pending changes, auto-generating a message in the repo's commit style and evaluating the actual diff (not just file names) to decide whether it should land as one commit or be split across several. Use whenever the user says "commit this", "commit these changes", "commit it", "make a commit", or otherwise asks to commit — even without typing /commit explicitly. Applies the "would I revert these together?" test to catch unrelated concerns (mixed features, refactor + feature, unrelated code areas) and always proposes the commit plan for approval before staging or committing anything.
- Reads credentials
188 other projects use a version of this, 1 of them edited.
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 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.
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 · 1
- dedalus-labs/wingman★ 18110% same
Wrote their own version · 187
- 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
177 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 repository24 other files it gives its agents.
- audit-fixSkill
- auditSkill
- deps-auditSkill
- digestSkill
- flowchartSkill
- git-undoSkill
- handoffSkill
- hone-skillSkill
- kickoffSkill
- math-researchSkill
- new-skillSkill
- next-stepsSkill
- prompt-engineerSkill
- prune-test-suiteSkill
- release-notesSkill
- repo-adoptSkill
- repo-issue-scoutSkill
- resolve-tester-bugsSkill
- scaffold-auditSkill
- session-reportSkill
- sidebarSkill
- sync-profile-readmeSkill
- rename-to-match-folderSkill
- worktree-cleanupSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 168 edited versions we read keep these.
5
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 17
Commit the current changes, splitting into multiple commits when they span unrelated concerns.
- Distinctive: line 34
All changes serve a single goal (feature + its tests + its docs)
- Distinctive: line 64
If the user requests changes (different groupings, different order, merge two groups, different message), revise and re-propose.
- Very specific: line 73
Do NOT stage files that likely contain secrets (.env, credentials.json, *.key, *.pem, etc.) — warn the user if you see any in the diff
- Distinctive: line 74
Create the commit with a message that:
- Distinctive: line 91
After all commits are created, run:
“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
Context
- Status: !
git status --short - Branch: !
git branch --show-current - Staged diff: !
git diff --cached --stat - Unstaged diff: !
git diff --stat - Recent commits: !
git log --oneline -10
Task
Commit the current changes, splitting into multiple commits when they span unrelated concerns.
Step 1 — Analyze scope
Review the status, diffs, and recent commit messages above. For any file where the --stat shows a non-trivial change, read the full diff (git diff <file> or git diff --cached <file>) so you understand what changed, not just which files.
Decide whether the changes should be one commit or split into multiple, using these signals:
Split when:
- Changes span unrelated features or bug fixes (e.g., a typo fix + a new API endpoint)
- Mixed refactor + feature — separate the refactor so it's reviewable and revertable on its own
- Changes touch unrelated areas of the codebase with no logical link (e.g., frontend styling + backend migration)
- The diff fails the "would I revert these together?" test
Keep as one commit when:
- All changes serve a single goal (feature + its tests + its docs)
- Refactor is small and directly supports the feature in the same diff
- Fixes are cohesive (e.g., one bug's root-cause fix + a regression test)
Small cohesive change = one commit. Don't split for the sake of splitting.
Step 2 — Propose the plan
Output a short plan before making any commits. Wait for user approval.
Single-commit case:
Plan: 1 commit
Files: a.ts, b.ts
Message: "{draft 1-2 sentence summary}"Multi-commit case:
Plan: 2 commits (reason: {one-line justification})
1. Files: a.ts, b.ts
Message: "{draft summary}"
2. Files: c.ts, d.ts
Message: "{draft summary}"If the user requests changes (different groupings, different order, merge two groups, different message), revise and re-propose. Do NOT stage or commit until the plan is explicitly approved.
Step 3 — Execute
For each commit in the approved plan, in the order given:
- Stage the group's files individually by name — do NOT use
git add -Aorgit add . - Do NOT stage files that likely contain secrets (
.env,credentials.json,*.key,*.pem, etc.) — warn the user if you see any in the diff - Create the commit with a message that:
- Follows the style and conventions of the recent commits shown above
- Focuses on the "why" rather than the "what"
- Is 1–2 sentences max
- Does NOT include a
Co-Authored-By:trailer or any Claude/Anthropic attribution
- Use HEREDOC format:
git commit -m "$(cat <<'EOF' Your commit message here. EOF )"
Step 4 — Confirm
After all commits are created, run:
git status— verify a clean working tree (or note any deliberately unstaged files)git log --oneline -N(N = number of commits created) — confirm commits landed in the right order with the right messages
Report a one-line summary to the user: which commits were created and whether anything was intentionally left unstaged.
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.

