push
Skill15 starsChanged 3 months agoMITView on GitHub
Synchronize and push existing commits without staging or committing. Use when the user asks to push or publish the current branch.
20 other projects use a version of this.
Adopted by
Most recently taken up by
- theCodeDrift/seamuxtheir own version, first seen Oct 3, 2026
- GavinGreenwood/agentic-workflow-templatetheir own version, first seen Oct 2, 2026
- egregore-labs/egregoretheir own version, first seen Oct 1, 2026
- AsiaOstrich/universal-dev-standardstheir own version, first seen Sep 30, 2026
- tyler-berggren/tb-claude-kittheir own version, first seen Sep 29, 2026
- lklimek/claudiustheir own version, first seen Sep 23, 2026
Used with
Projects with it also use test, plan and 1 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.
Microsoft AzureSkilltest
Also in 3 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 4 projects that use this
AWSSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 3 projects that use this
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 20
- openai/symphony★ 28ksame name
- cashew-labs/libretto★ 904same name
- kdlbs/kandev★ 899same name
- egregore-labs/egregore★ 291same name
- sterlingcrispin/claude_slash_commands★ 200same name
- kv0906/pm-kit★ 138same name
- atherio-danp/cde-dotnetcc★ 109same name
- AsiaOstrich/universal-dev-standards★ 76same name
- toy-crane/claude-code-playbook-template★ 73same name
- iagocavalcante/claude-turbo-search★ 15same name
10 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 repository11 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- .codex/AGENTS.mdAGENTS.md
- .grok/AGENTS.mdAGENTS.md
- blueprintSkill
- bonsaiSkill
- commitSkill
- handoutSkill
- pullrequestSkill
- squashSkill
- typesafe-aiSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 8
Do not stage files or create, amend, squash, or otherwise rewrite commits except for the explicit upstream rebase below.
- Distinctive: line 30
If rebase conflicts occur, resolve clear conflicts, stage only the resolutions, and continue the rebase.
- Distinctive: line 35
Never force-push or bypass hooks.
“Common” is measured: kept by at least 6 in 10 of the 17 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
Push
Do not stage files or create, amend, squash, or otherwise rewrite commits except for the explicit upstream rebase below. Preserve all staged and unstaged worktree changes.
- Inspect the current branch, worktree and index status, configured upstream, recent commits, and
remotes before changing directories. Record the source branch, HEAD, synchronization upstream,
and Git's resolved push remote and destination ref. Use
@{push}where resolvable and honorbranch.<name>.pushRemote,remote.pushDefault,remote.<name>.push, andpush.default. The synchronization upstream can differ from the push destination. Fall back tooriginand the source branch name only for an unconfigured first publication. Stop when configuration forbids a default push, leaves the target ambiguous, or would publish additional refs. - Require a bonsai worktree using the bonsai skill's existing-work handoff, unless the repository's
AGENTS.mddesignates direct work on its default branch; then stay in the current checkout and skip the handoff. Preserve the recorded source HEAD and destination; leave pending source changes untouched. A new task branch must use--base <source-head>and must not become a different remote branch merely because of the move. - Fetch the recorded remotes. Compare the intended commits with the synchronization upstream, when one exists, and separately with the push destination. When the synchronization upstream is ahead or histories diverged, require clean source and destination worktrees and indexes, then rebase onto that upstream. Recheck the captured source HEAD before synchronization; stop on concurrent changes. Keep the original source branch consistent with any synchronized HEAD without overwriting pending work. Stop if the resulting push would not be a fast-forward; never change its destination to avoid a rejection.
- If rebase conflicts occur, resolve clear conflicts, stage only the resolutions, and continue the rebase. If a resolution is ambiguous or risky, abort the rebase and stop the pipeline.
- Push the synchronized HEAD to the recorded remote and full destination ref explicitly. If no upstream existed, configure it for the intended source branch after a successful push. Never infer the destination from a temporary task branch's name or upstream.
- Never force-push or bypass hooks.
Report the branch, synchronization performed, and push result.
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.

