What problem does it solve? Publishing work from an alternate git worktree to the primary branch is error-prone: uncommitted changes get lost, non-fast-forward merges create conflicts, and unrelated user work can be accidentally staged. This Skill enforces a safe, deterministic sequence for committing the current worktree, fast-forwarding main/master, and pushing without bypassing branch history. ## Core Features & Use Cases - Worktree-safe publishing: Commits the current worktree first, then updates the main worktree only via git merge --ff-only, never overwriting uncommitted changes. - Guardrailed git operations: Refuses to force-push, stash, reset, rebase, or create pull requests unless the user explicitly asks, and stops cleanly when fast-forwarding fails. - Detached HEAD and upstream handling: Works with detached worktrees by using the HEAD commit as the merge target, and only pushes the current branch when it already has an upstream. - Use Case: You finished a feature in a secondary worktree created with git worktree add. Ask the agent to push to main, and it commits your work, fast-forwards the main worktree, pushes main, and returns you to your original directory. ## Quick Start Ask the agent to commit the current worktree, fast-forward main to its HEAD, and push it to the remote.