push
Skill4 starsChanged 3 months agoMITView on GitHub
Push the local `main` branch to origin — invoke when the user asks in plain words to push ("push das", "lad das hoch", "push to origin"). `finish`/`flow` deliberately leave commits local; this runs from the controller session (never a dispatched subagent) so auth prompts and errors stay visible.
- Commits and pushes
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
- aymericbeaumet/dotfiles★ 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.
The file
Files
/ticket-flow:push — Push merged commits to origin
Args: none.
Why this exists
/ticket-flow:finish (Phase 3) merges the worktree branch into main but deliberately does not run git push — and /ticket-flow:flow --parallel likewise leaves its merges local. So after a flow chain, main carries commits that are not yet on the remote.
/ticket-flow:push is the one explicit "upload now" step. Keeping push separate and explicit means auth/network failures (gh login, 2FA, keychain, a diverged remote) surface here, in the session you are watching — not silently somewhere else.
Steps
REPO="$(git rev-parse --show-toplevel)" && cd "$REPO"
git fetch origin --quiet 2>/dev/null || true
git push origin main- Success → report
✓ pushed main → originand the commit range that went up. - Failure → surface the raw
git pusherror, do not retry automatically:- non-fast-forward (someone pushed to origin in the meantime) →
git pull --rebase origin main, then re-run/ticket-flow:push. - auth / 401 →
gh auth login(or fix the keychain), then re-run. - connection error → re-run when back online.
- non-fast-forward (someone pushed to origin in the meantime) →
What it doesn't do
- Force-push (never).
- Push branches other than
main— the merge target of/ticket-flow:finish. - Repo creation for a first-time publish — that is
/ticket-flow:publish. - Auto-retry on transient errors — you decide.
Related
/ticket-flow:publish— first-time publish of a new repo (gh repo create+ initial push)
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.

