commit
Skill6 starsChanged 3 days agoMITView on GitHub
Commit, pull, and push changes using make push with a message prefixed by the work item's number
- Commits and pushes
186 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 versions186 projects use a version of this.
Word for word · 0
None found.
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 repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- playwright-cliSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 165 edited versions we read keep these.
4
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
- Very specific: line 7
Commit the current working tree changes using this project's make push target.
- Distinctive: line 21
Run these commands in parallel to understand what will be committed:
- Distinctive: line 44
Avoid shell-special characters (quotes, backticks, dollar signs) in the message
- Distinctive: line 48
Do not ask the user to approve the commit (owner ruling, 2026-11-12).
- Distinctive: line 64
Ask the user only when what one side meant cannot be told.
“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
Commit the current working tree changes using this project's make push target.
make push = make commit + git push. make commit alone typechecks, pulls, lints, builds, tests,
stages and commits, but does NOT push — so this skill uses make push. The chain is the Makefile's, and this
skill never repeats it step by step: it runs the one command.
The work item's number is: $ARGUMENTS
1. Validate the work item's number
If $ARGUMENTS is empty or non-numeric, stop and ask the user for the number of the work item on the team's Brigade Board that the change belongs to (e.g., /commit 270). Do not proceed, and do not invent a number. One case needs none: a clean tree that is only ahead of origin, where step 2 pushes and no commit is made.
2. Analyze changes
Run these commands in parallel to understand what will be committed:
git status(never use-uall)git diffgit diff --cachedgit log --oneline -5
If the working tree is clean (no staged, unstaged, or untracked changes), there is nothing to commit. If git status also says the branch is ahead of origin (a merge you concluded, or commits not yet pushed), run make push with no message: the chain says there is nothing to commit and pushes what is ahead. Report that, and skip steps 3 to 5. Otherwise inform the user there is nothing to commit and stop.
Remember: make push runs git add --verbose :/ . before committing, so ALL working tree changes will be included, not just staged files. It also runs git pull BETWEEN typecheck and lint, so lint, build and test run against the MERGED tree rather than a stale one.
3. Check for secrets
Scan every added line (+ prefix) in the diff output — in ALL files, not just code files — for anything that looks like a secret: API keys, passwords, tokens, connection strings, private keys, or credentials. Non-code files (markdown, prompts, config notes) are just as likely to contain secrets. If found, warn the user and do not proceed until they confirm the files are safe.
4. Generate the commit message
Based on the changes, write a commit message:
- Format:
<work item>: <Message>(e.g.,270: Let the commit skill run without asking for approval) - One line, under 72 characters when possible
- Imperative mood, capitalized first word after the number
- Summarize the intent (why), not a list of files changed
- Avoid shell-special characters (quotes, backticks, dollar signs) in the message
5. Execute
Do not ask the user to approve the commit (owner ruling, 2026-11-12). Print the command, then run exactly:
make push "message=<work item>: <generated message>"This typechecks, pulls, lints (make lint), builds, tests, stages, commits and pushes, in that order. A step that fails stops the chain: none of the work is staged, committed or pushed, and the merge of origin, when there was one, stays. The only stops before it are the ones in steps 1 to 3.
6. Report the result
- On success, confirm the commit was pushed.
- On a build error, a test failure or a lint issue, report the error clearly. Do not retry automatically.
- A merge conflict is not a failure to report and leave: it is yours to resolve in place, by the steps of
docs/agent/repository/conventions.md("A merge conflict is the session's to resolve, in place"). The pull insidemake pusheither stops in a merge with markers, or refuses because an uncommitted change would be overwritten; the rule has the steps for each. Nevergit merge --abort, never a rebase, never a force-push. Ask the user only when what one side meant cannot be told.
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.

