Ship
Ship the current branch to main.
Install
npx skills add nightly-labs/openbot --skill ship -g -a claude-code -y- Repository
- nightly-labs/openbot4.5k
- Category
- Git and review
- Updated
- 3d ago
- License
- See repository
- Context cost
- Mediumabout 1,766 tokens
- Runs scripts
- No, instructions only
What it does
Ship the current branch to main. Review the diff, fix findings, open the pull request, babysit the NorbiAI review and CI until green, then squash-merge. Use when a feature is done and the user asks to ship it, open and merge a PR, or get the change to main.
Ship
Move one finished branch to main through five gates: local review, pull
request, NorbiAI review, CI, merge. Do each gate in sequence. Do not skip a
gate to go faster.
When the user invokes this skill, they approve the merge at the end, but only when every gate is green. Stop and ask when a gate needs a product decision, a force-push, or a bypass.
Before you start
- Read
AGENTS.mdand each nestedAGENTS.mdfor a directory in the diff. - Run
git statusandgit branch --show-current. When the branch ismain, create a branch first. Do not ship frommain. - Run
git fetch origin main. Get the change set withgit diff --stat origin/main...HEADandgit status --short. - When a pull request for the branch exists (
gh pr view --json number,state,url), continue from the first gate that is not done. - Keep a checklist in
TASKS.mdwith one item for each gate.
Gate 1, Review the diff locally
A local review is less expensive than a NorbiAI round. Find the problems before the push.
- Commit the finished work. Write the message in ASD-STE100 Simplified Technical English. Leave unrelated changes out of the commit.
- Review
origin/main...HEADfor correctness, data loss, the non-negotiable rules inAGENTS.md, and reuse. Use thecode-reviewskill when it is available, or a review subagent with the diff range. - Triage each finding as
babysitStep 2 says: fix only findings that you can prove. Record the others as not valid, with the reason. - Run the narrowest relevant test file and
biome check --write --max-diagnostics=none <changed paths>. Run one typecheck project for the code you changed, asAGENTS.mdsays. Do not run broad checks. - Commit the fixes. The pre-commit hook runs its own checks. Do not use
--no-verify. When the hook fails, fix the cause and commit again.

