Skip to content
Skill

/ship Command

by stefanhoelzl

AI Summary

Automates creating and merging pull requests with validation checks, allowing developers to ship code changes without leaving their IDE. Essential for teams using GitHub and automated CI/CD workflows.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "/ship Command" skill in my project.

Please run this command in my terminal:
# Install skill into the correct directory (9 files)
mkdir -p .claude/skills/commands && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/SKILL.md "https://raw.githubusercontent.com/stefanhoelzl/codehydra/main/.claude/commands/ship.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/ci-wait.ts "https://raw.githubusercontent.com/stefanhoelzl/codehydra/main/.claude/commands/ci-wait.ts" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/ci.md "https://raw.githubusercontent.com/stefanhoelzl/codehydra/main/.claude/commands/ci.md" && mkdir -p .claude/skills/commands/feature && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/feature/code-review.md "https://raw.githubusercontent.com/stefanhoelzl/codehydra/main/.claude/commands/feature/code-review.md" && mkdir -p .claude/skills/commands/feature && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/feature/implement.md "https://raw.githubusercontent.com/stefanhoelzl/codehydra/main/.claude/commands/feature/implement.md" && mkdir -p .claude/skills/commands/feature && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/feature/plan-review.md "https://raw.githubusercontent.com/stefanhoelzl/codehydra/main/.claude/commands/feature/plan-review.md" && mkdir -p .claude/skills/commands/feature && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/feature/plan.md "https://raw.githubusercontent.com/stefanhoelzl/codehydra/main/.claude/commands/feature/plan.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/review-quality.md "https://raw.githubusercontent.com/stefanhoelzl/codehydra/main/.claude/commands/review-quality.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/ship-wait.ts "https://raw.githubusercontent.com/stefanhoelzl/codehydra/main/.claude/commands/ship-wait.ts"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Create PR with auto-merge, wait for merge via client-side queue

/ship Command

Ship the current branch by creating a PR with auto-merge and waiting for it to merge.

Arguments

$ARGUMENTS • Empty: Auto-generate PR title and summary from commits • --keep-workspace: Keep workspace after successful merge (default: delete) • --resolves <issue>: Link PR to a GitHub issue • --resolves #123 or --resolves 123: Links to issue #123 • --resolves ?: List all open issues and prompt for selection

Execution

You are a BUILD AUTOMATION agent. Execute the workflow below. On FAILED or TIMEOUT, return immediately with a report - do NOT attempt to diagnose or fix issues.

0. Validate preconditions

Check for uncommitted changes: `bash git status --porcelain ` If output is non-empty: ABORT with: ` Cannot ship with uncommitted changes. Uncommitted files: <list of files> Commit your changes first, then run /ship again. ` Check we're not on main: `bash git branch --show-current ` If on main: ABORT with "Cannot ship from main branch" Check formatting: `bash pnpm format:check ` If formatting check fails: ABORT with: ` Cannot ship with formatting issues. Run pnpm format to fix, then commit and run /ship again. `

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 1mo ago
Active
AdoptionUnder 100 stars
10 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Stars10
Forks3
Issues5
Updated1mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code