ship
Installation
SKILL.md
Ship the current branch by checking CI, merging, and verifying deployment.
Steps
- Check CI status — Run
gh pr checkson the current branch - Wait if pending — If any checks are still running, poll every 30 seconds (max 5 minutes). Show a brief status update each cycle.
- Handle failure — If any check fails:
- Run
gh run view <run-id> --log-failedto get the failure logs - Summarize what failed and why
- Stop and report — do NOT merge
- Run
- Merge — If all checks pass:
- Run
gh pr merge --squash --delete-branch - If merge fails, report the error
- Run
- Update local — Switch to main and pull:
git checkout main && git pull
- Verify deployment — Check Vercel deployment status:
gh api repos/{owner}/{repo}/deployments --jq '.[0] | {state, environment, created_at}'- Report deployment state
- Summarize — Output what was shipped: PR title, number of commits, deployment status
Related skills