ship

Installation
SKILL.md

Ship

Commit, push, and optionally create or update a PR for the current staged changes.

Step 1: Determine Intent

Detect the repository's default branch via gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name'. Check the current branch name and whether a PR already exists for it using gh pr view.

Use AskUserQuestion to ask the user how to proceed. Present the options based on the current state:

  • On a feature branch with an existing PR — commit, push, and update the PR; or commit and push
  • On a feature branch without a PR — commit, push, and create a PR; or commit and push
  • On the default branch — create a feature branch, commit, push, and create a PR; or commit and push
  • Abort — leave changes staged, do not commit

Step 2: Branch (if Needed)

If the user wants a PR and the current branch is the default branch:

Related skills

More from tobihagemann/turbo

Installs
3
GitHub Stars
298
First Seen
Apr 18, 2026