commit-push
Skill12 starsChanged 8 months agoMITView on GitHub
Batch commit all uncommitted changes (or only the given files) and push to the remote repository.
- Reads credentials
- Commits and pushes
19 other projects use a version of this.
Adopted by
Most recently taken up by
- Adonis0123/adonis-skillstheir own version, first seen Nov 7, 2026
- Ssoulisack/claude-skillstheir own version, first seen Oct 15, 2026
- Diego-Romero/claude-skillstheir own version, first seen Oct 13, 2026
- drewmerc302/claude-skillstheir own version, first seen Oct 13, 2026
- Nucleify/Nucleifytheir own version, first seen Oct 8, 2026
- Eatgrapes/WinIslandtheir own version, first seen Oct 8, 2026
Used with
Projects with it also use open-pr.
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.
Google CloudSkillopen-pr
Commits local changes to a new Git branch and opens a GitHub pull request through the configured GitHub MCP server. Use when proposing code changes in a new pull request. Don't use for local-only commits without a remote GitHub repository.
Also in 3 projects that use this
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- anyproto/anytype-ts★ 9.1ksame name
- Eatgrapes/WinIsland★ 405same name
- Nucleify/Nucleify★ 171same name
- DataCovey/nornweave★ 30same name
- Adonis0123/adonis-skills★ 4same name
- Mitscherlich/skills★ 3same name
- wzh4464/claude-skills★ 3same name
- d-gangz/dgang-skills★ 2same name
- gtapps/skills★ 2same name
- ernesto27/skills★ 1same name
9 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 repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-testsSkill
- best-practiceSkill
- bootstrapSkill
- briefSkill
- changesSkill
- claude-code-reviewSkill
- claude-plan-reviewSkill
- codex-code-reviewSkill
- codex-plan-reviewSkill
- depsSkill
- design-researchSkill
- designSkill
- doc-driftSkill
- doc-syncSkill
- doc-tidySkill
- executeSkill
- explainSkill
- full-briefSkill
- goSkill
- grandmaSkill
- planSkill
- post-design-reviewSkill
- recordSkill
- self-reviewSkill
- tech-researchSkill
- testSkill
- timelineSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
4
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 14
If qq-project-state.py is available, run it first:
- Distinctive: line 20
if the user explicitly says to force the push anyway, note the risk and continue
- Distinctive: line 22
Run git status -u and git diff --stat to view the uncommitted changes
- Distinctive: line 26
Write the message in the style of the repo's recent commits (conventional-commit style when there is no established style)
- Distinctive: line 27
After all commits are done, run git push
- Very specific: line 31
If this session entered the worktree with EnterWorktree, then call ExitWorktree with action: "keep", and pass --project <worktree path> …
- Very specific: line 36
If closeout still refuses: a merge conflict or a rejected push sits in the source checkout, so resolve it there.
“Common” is measured: kept by at least 6 in 10 of the 16 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
Run qq scripts as
${CLAUDE_PLUGIN_ROOT}/bin/<name>: they are not on PATH, so a bareqq-project-state.pyexits 127.
Respond in the user's preferred language (detect from their recent messages, or fall back to the language setting in CLAUDE.md).
Arguments: $ARGUMENTS
- File paths: commit only these files
Steps
- If
qq-project-state.pyis available, run it first:${CLAUDE_PLUGIN_ROOT}/bin/qq-project-state.py --prettyrecommended_next == "/qq:commit-push"→ normal ship path, continue- otherwise → stop and tell the user the actual next step first
- if the user explicitly says to force the push anyway, note the risk and continue
- with file arguments that are all docs/config (no engine source, e.g. the doc-only commit
/qq:doc-synchands over), skip this check
- Run
git status -uandgit diff --statto view the uncommitted changes - Group them by logical relationship (do not mix unrelated changes into one commit): feature code (feat/fix/refactor), asset files (prefabs, assets, scenes), config/docs. One commit is fine when everything belongs to the same feature.
- For each group:
git add -- <files>thengit commit -- <files>(nevergit add -A/commit -a; the pathspec on the commit keeps out changes another session staged). While a merge is in progress (MERGE_HEADexists) git refuses a partial commit:git add -- <resolved files>, then a plaingit commit --no-edit- Write the message in the style of the repo's recent commits (conventional-commit style when there is no established style)
- After all commits are done, run
git push - Worktree closeout (skip when not in a linked worktree):
- From inside the worktree, run
${CLAUDE_PLUGIN_ROOT}/bin/qq-worktree.py status --prettyfirst. Continue only whenisManagedWorktreeandsourceWorktreeCleanare true andlocalChangesis false; otherwise stay in the worktree and tell the user why (anEnterWorktreeworktree that/qq:executeor/qq:gonever seeded is not qq-managed). - Clear the auto-pipeline here, before leaving the worktree, if one is active:
${CLAUDE_PLUGIN_ROOT}/bin/qq-execute-checkpoint.py pipeline-clear --project . --status completed - If this session entered the worktree with
EnterWorktree, then callExitWorktreewithaction: "keep", and pass--project <worktree path>below: closeout deletes the worktree directory. - Close out in one step. It merges into the source branch recorded in
.qq/state/worktree.json, pushes it, then removes the worktree and its branch:${CLAUDE_PLUGIN_ROOT}/bin/qq-worktree.py closeout --auto-yes --delete-branch --pretty - If closeout still refuses: a merge conflict or a rejected push sits in the source checkout, so resolve it there; for any other refusal, go back with
EnterWorktreepath: <worktree path>before making further edits. Fall back to separatemerge-back/cleanuponly when debugging.
- From inside the worktree, run
- Clear auto-pipeline (if active and step 6 did not already):
${CLAUDE_PLUGIN_ROOT}/bin/qq-execute-checkpoint.py pipeline-clear --project . --status completed
Never commit
.env, API keys, credentials, or other sensitive files.obsidian/
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.

