Claude
Skills
Sign in
Back

ship

Included with Lifetime
$97 forever

Ship a feature branch: prepare a clean PR (strip working files with intelligent suggestions), create/update the GitHub PR, then merge to main with GPG signing when ready. Detects lifecycle stage automatically. Use when: "ship", "prep pr", "create pr", "open pr", "merge to main", "submit for review", "push for review", "ship this branch".

Code Review

What this skill does


# Ship

Unified workflow for shipping a feature branch. Detects where you are in the
lifecycle and dispatches to the right phase.

## Context

- Branch: !`git branch --show-current`
- PR: !`gh pr view --json number,headRefName 2>/dev/null`
- Repo root: !`git rev-parse --show-toplevel 2>/dev/null`
- Config: !`cat .shiprc.json 2>/dev/null`

## Decision tree

Based on the context above, take exactly one path:

### No `.shiprc.json` found (Config = none)

Invoke `/ship-setup` to interactively create the config for this project.
After setup completes, re-evaluate the context and continue to the appropriate phase.

### No PR exists (PR = none)

Invoke `/ship-prep` to strip working files and create a PR.

### PR exists

Invoke `/ship-merge` to merge the PR branch into main.
Files: 1
Size: 1.2 KB
Complexity: 12/100
Category: Code Review

Related in Code Review