ship
Installation
SKILL.md
Ship
A ship run ends in a PR URL with passing CI, in one of the three stops below, or in a failure it names (step 7). It never ends in a question: anything you could not tick is written into the PR body, not handed back to the caller. It never ends in silence either.
The only three stops
- You are on the default branch (
git rev-parse --abbrev-ref HEAD). The work should have been built on a branch. Say so and stop. - A PR is already open for this branch
(
gh pr list --head "$(git rev-parse --abbrev-ref HEAD)"). Run everything below anyway — the push is what puts the new commits on it — then report its URL and open no second one. - A conflict you cannot resolve from the diff (below). An ordinary conflict is not one of these: you resolve that one yourself and carry on to the PR.
Ship onto the current base
A ship run merges its current base first, gates the merged branch, and opens the PR on that.