Leo Px Backport Staging Dev — Git skill for Claude Code
Back-port origin/staging into dev with a no-squash merge commit and push.
How to install Leo Px Backport Staging Dev
Installs to ~/.claude/skills/leobo96-leo-agent-harness-leo-px-backport-staging-dev/SKILL.md
mkdir -p ~/.claude/skills/leobo96-leo-agent-harness-leo-px-backport-staging-dev && curl -fsSL https://raw.githubusercontent.com/leobo96/leo-agent-harness/HEAD/commands/leo-px-backport-staging-dev.md -o ~/.claude/skills/leobo96-leo-agent-harness-leo-px-backport-staging-dev/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Leo Px Backport Staging Dev does
description: Back-port origin/staging into dev with a no-squash merge commit and push disable-model-invocation: true
Back-port `origin/staging` into `dev` using a real merge commit (never squash) — the required convention for the long-lived dev↔staging branches.
Run every step from the primary repo with absolute paths. Stop and report if any step fails; never force-push. Staging rules: `leo-git-and-release-workflow` § Git safety.
- Verify location + clean tree. `git rev-parse --a
Alternatives in Git
- Maestro Merge — Merge session worktree branch back to main 530 ★
- Create Worktree + Spawn Agent — git worktree add ../feat-custom-templates -b feat/custom-templates origin/main cd ../feat-custom-templates && 211 ★
- Kyde — Fast native Git client and side-by-side diff editor for macOS and Linux — hunk staging, 3-way merge, commit gr 80 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Merge Main
Merge the latest origin/$MAIN_BRANCH into the current branch, resolve conflicts preserving both sides' intent,
Copush
Pull, version-bump, commit all changes, and push to origin
Ship And Babysit
Commit, push to origin, open a PR against bendourthe/Gemma-Code:main, then poll Gemma-Code's own CI every ~270
Idexal Git Cleanup
Safe recipes to squash messy branches, split a stalled commit, and prepare a clean pull request without losing
Worktree Spawn
Spawn an isolated git worktree with a deterministic PORT_BASE so heavy multi-port dev servers can run in paral
Bat Ship.SKILL
Ship a Beyond and Tabs PR end to end: check, push once, route CI across both 20-runner pools, wait, auto-merge
Related Agents
Scala Coder
Implements a single coding task end-to-end in an assigned git worktree for this Scala project. Owns the FULL l
GitOps
Git operations specialist. MUST BE USED for branch management, conflict resolution, git history analysis, work
Gitter
The only agent that writes git — every other agent is read-only. Delegate each worktree setup, commit, merge,