commit
Skill108 starsChanged 2 months agoMITView on GitHub
Stage and commit uncommitted changes with conventional commit messages. Use for committing changes or grouping commits by topic.
- Reads credentials
- Deletes or force-pushes
187 other projects use a version of this.
Adopted by
Most recently taken up by
- swjybky/deepwritetheir own version, first seen Nov 30, 2026
- Kindness-Kismet/Stellibertytheir own version, first seen Nov 29, 2026
- DGouron/review-flowtheir own version, first seen Nov 29, 2026
- cyberkaida/reverse-engineering-assistanttheir own version, first seen Nov 29, 2026
- elirantutia/vibeyardtheir own version, first seen Nov 29, 2026
- thoughtbot/the-processtheir own version, first seen Nov 29, 2026
Used with
Projects with it also use act-on-feedback, generate-run-commands 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.
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 4 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 4 projects that use this
MindgamesSkillbranch
Use when a user asks to create a new local git branch and start issue work (for example, "create branch" or "start working on issue XYZ"). Use this for issue-based branch naming in the `type/scope-short-description` pattern and for always syncing local `main` from `origin/main` before creating the new branch, creating the local tracking `main` branch first when needed.
Also in 9 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
thoughtbotSkillimplement-with-tdd
Implement a SPEC, plan, or feature outside-in, with TDD.
Also in 3 projects that use this
thoughtbotSkillmulti-lens-review
Review a change for defects, then against its spec, its codebase's conventions, the domains trying to emerge from it, and whatever still depends on what it replaced.
Also in 3 projects that use this
- +1 more from thoughtbot
Other versions187 projects use a version of this.
Word for word · 1
- Daniel-Gutierrez-0/claude_skills★ 0100% same
Edited · 0
None found.
Wrote their own version · 186
- microsoft/vscode★ 196ksame name
- TryGhost/Ghost★ 56ksame name
- ShareX/ShareX★ 41ksame name
- ToolJet/ToolJet★ 41ksame name
- openai/symphony★ 27ksame name
- ccusage/ccusage★ 20ksame name
- ryoppippi/ccusage★ 20ksame name
- windmill-labs/windmill★ 19ksame name
- EverMind-AI/EverMemOS★ 14ksame name
- EverMind-AI/EverOS★ 14ksame name
176 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 repository16 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- handoffSkill
- learnSkill
- organizeSkill
- q-educatorSkill
- q-infographicsSkill
- q-presentationsSkill
- q-edaSkill
- q-introSkill
- q-litreviewSkill
- q-methodsSkill
- q-multimodalSkill
- q-resultsSkill
- q-tfSkill
- q-scholarSkill
- shipSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 165 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Run both commands to get the full picture:
- Distinctive: line 42
If any modified files are scripts or data files:
- Distinctive: line 45
Verify consistency: Check that numbers, table data, file paths, and cross-references in downstream files match the current state of the …
- Distinctive: line 46
Fix discrepancies: Update any stale numbers, outdated references, or mismatched data in downstream files.
- Very specific: line 65
Follow conventional commits format from rules/git-workflow.md:
- Distinctive: line 77
Keep descriptions concise (under 70 chars).
- Very specific: line 94
After the commit succeeds, remove these patterns from the working tree (skip .git/):
“Common” is measured: kept by at least 6 in 10 of the 165 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
Git Commit Skill
Stages and commits uncommitted changes with conventional commit messages. Groups files by topic when multiple unrelated changes are pending, runs cascade and CLAUDE.md freshness checks, and sweeps temp files after each commit. Does not push — hand off to /ship for that.
Workflow
Step 1: Review changes
Run both commands to get the full picture:
git status --short
git diff --cached --name-statusgit status --short shows unstaged modifications and untracked files. git diff --cached catches files that are already staged but not yet committed. Use the union of both outputs.
If both commands return empty, report "nothing to commit" and stop.
Classify each change:
M— modified,??— untracked,D— deleted,R— renamed,A— staged new file
Step 2: Analyze changes and verify consistency
Classify file paths
| Path pattern | Type |
posts/, articles/, content/ | content/writing |
.claude/skills/ | skill config |
src/, *.go, *.py, *.ts, *.R, *.r | code/scripts |
*.md | documentation |
*.json, *.yaml, *.toml, *.csv | config/data |
Cascade check (skip if no scripts or data files changed)
If any modified files are scripts or data files:
- Identify downstream files: Find all markdown reports, appendices, and documentation that reference outputs or data from the modified files — search for filename references, table headers, variable names, and output patterns
- Verify consistency: Check that numbers, table data, file paths, and cross-references in downstream files match the current state of the modified scripts and their outputs
- Fix discrepancies: Update any stale numbers, outdated references, or mismatched data in downstream files. Include these fixes in the commit
CLAUDE.md freshness (always run)
If the working directory has a CLAUDE.md, read it and compare against the current project state — not just the changes being committed, but also decisions made during the session, new or renamed files on disk, and structural changes. Update CLAUDE.md before proceeding if any section reflects outdated state.
Step 3: Decide commit strategy
- Single topic: one commit for all files
- Multiple topics: group by directory/topic, one commit per group
Grouping priority:
- Content (one commit per article/document unit)
- Skills (one commit per skill)
- Code changes (group by module)
- Config files (group together)
Step 4: Generate commit message
Follow conventional commits format from rules/git-workflow.md:
<type>: <description>Types: feat, fix, refactor, docs, test, chore, perf, ci
Examples:
docs: add exploratory analysis notebookfeat: add batch processing to pipelinefix: correct citation formatting in reportchore: update project config
Keep descriptions concise (under 70 chars).
Step 5: Stage and commit
git add <file1> <file2> ...
git commit -m "<message>"Rules:
- Specify files explicitly — never use
git add .orgit add -A - Exclude temp files (
*.bak-*,.DS_Store,node_modules/) - Exclude test scaffolding (
tests/,test_*.py) from repos that ship as shared/public artifacts unless the user asks to include it - Exclude files that likely contain secrets, such as
.envorcredentials.json, from staging unless the user explicitly asks to include them
Step 6: Cleanup temp files
After the commit succeeds, remove these patterns from the working tree (skip .git/):
- Files:
*.bak-*,*.pyc,*.pyo,*.swp,*.swo,*~,.DS_Store,Thumbs.db - Directories:
__pycache__/,.pytest_cache/,.mypy_cache/,.ruff_cache/
List matches first, then delete. If nothing matches, note "no temp files to clean" and proceed.
find . -not -path '*/.git/*' -type f \( -name '*.bak-*' -o -name '*.pyc' -o -name '*.pyo' -o -name '*.swp' -o -name '*.swo' -o -name '*~' -o -name '.DS_Store' -o -name 'Thumbs.db' \) -print -exec rm -f {} +
find . -not -path '*/.git/*' -type d \( -name '__pycache__' -o -name '.pytest_cache' -o -name '.mypy_cache' -o -name '.ruff_cache' \) -print -exec rm -rf {} +Step 7: Confirm
Run: git log --oneline -3
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.

