Ship

Single command that takes your feature branch from current state to an open PR. Merge main, test, review, commit, push, create PR—all in one orchestrated pipeline.

What This Skill Does

Ship orchestrates the full handoff workflow so you don’t have to run a dozen commands and risk skipping a step. It detects your branch, determines the correct target (main or dev), and executes each stage in sequence with rollback on failure.

When to Use

  • Feature work is complete and ready for review
  • Shipping a hotfix that needs to bypass dev
  • Beta release to dev branch
  • Dry-running before actually shipping

Modes

ModeTarget BranchWhen
officialmainProduction release
betadevBeta / staging release
auto-detectinferred from branch nameDefault behavior

Branch name patterns for auto-detection:

  • feature/*, hotfix/*, bugfix/* → targets main (official)
  • dev/*, beta/*, experiment/* → targets dev (beta)

Arguments

ArgumentDescription
[mode]official, beta, or auto-detect (default)
--skip-testsSkip test suite
--skip-reviewSkip code review step
--skip-journalSkip journal entry creation
--skip-docsSkip docs impact evaluation
--dry-runShow pipeline plan without executing

Example Usage

/ck:ship
/ck:ship beta
/ck:ship official --skip-journal
/ck:ship --dry-run

Pipeline Stages

1. Merge main/dev into current branch
2. Run test suite
3. Code review (code-review skill)
4. Stage and commit staged changes
5. Push branch to remote
6. Create PR with conventional title
7. (optional) Write journal entry
8. (optional) Evaluate docs impact

Each stage must pass before the next begins. On failure, Ship reports which stage failed and what to fix.

  • Git — git operations Ship orchestrates
  • Test — test suite Ship runs
  • Code Review — review gate Ship enforces
  • Deploy — deploy after PR merges