ship
Get changes out with reviewer-ready discipline. Runs commit, push, PR, review, babysit, and merge as one loop until the PR lands. Also fixes failing CI, resolves merge conflicts, and rebases or takes over an old PR. Use when the user says ship it, commit this, open a PR, babysit, fix CI, full send, full stop, or sol loop. Skip read-only inspection.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- ship
- description
- Get changes out with reviewer-ready discipline. Runs commit, push, PR, review, babysit, and merge as one loop until the PR lands. Also fixes failing CI, resolves merge conflicts, and rebases or takes over an old PR. Use when the user says ship it, commit this, open a PR, babysit, fix CI, full send, full stop, or sol loop. Skip read-only inspection.
02 资源文件 18
- 其他includes.toml1.4 KB
- 参考文档references/babysit-pr/scripts/pr-wait24.1 KB
- 参考文档references/babysit-pr/SKILL.ref.md5.2 KB
- 参考文档references/pr/agents/openai.yaml93 B
- 参考文档references/pr/CREDITS.md604 B
- 参考文档references/pr/SKILL.ref.md4.1 KB
- 参考文档references/pstack-babysit.md4.6 KB
- 参考文档references/pstack-fix-ci.md901 B
- 参考文档references/pstack-fix-merge-conflicts.md988 B
- 参考文档references/pstack-get-pr-comments.md529 B
- 参考文档references/pstack-make-pr-easy-to-review.md2.2 KB
- 参考文档references/tstack-file-pr.md2.2 KB
- 参考文档references/tstack-full-send.md5.3 KB
- 参考文档references/tstack-full-stop.md2.2 KB
- 参考文档references/tstack-leaving-pr-comments.md1.6 KB
- 参考文档references/tstack-modernize.md4.4 KB
- 参考文档references/tstack-sol-loop.md5.0 KB
- 参考文档references/tstack-takeover.md2.0 KB
03 SKILL.md 正文
ship
Know the diff, prove it works, publish only the intended change, and leave a clean tree.
Pick the mode
- Ship (default): run the ship loop below, from the diff to a merged PR. If the user names a narrower step, such as "commit this", "push it", or "open a PR", stop after that step. "Ship it" runs the whole loop.
- Babysit: the PR is already open. Join the ship loop at step 8. Stop at the merge gate and report the PR as ready. Merge only if the user also asked you to merge or ship it.
- Full send: the user says "full send". Read
references/tstack-full-send.md. Run the ship loop under its grant and its testing permission. Its grant replaces the approval rules in Boundaries for this task only. - Full stop: the user says "full stop". Read
references/tstack-full-stop.md. Run the ship loop, but stop at the merge gate and never merge. - Sol loop: the user says "sol loop" and nothing more. Read
references/tstack-sol-loop.mdand run only its review loop. - Modernize: the user asks to rebase an old PR or to "modernize" it. Read
references/tstack-modernize.md. Choose MODERNIZE, REWORK, or CLOSE before you push. - Takeover: the user wants you to finish someone else's PR, branch, or agent thread. Read
references/tstack-takeover.md. Keep the original authors' credit. - Tidy: the user asks to make a PR easy to review or to clean up its commits. Read
references/pstack-make-pr-easy-to-review.md. Get approval before you rewrite history.
The ship loop
The loop has one goal: the change is merged into the default branch, every change has proof, and the tree is clean. You own the PR until the goal is met or the stop rule applies. Do not hand back to the user while checks or bots are pending. Wait on the watcher. In T3 Code, the watcher wakes you after you end the turn, so ending the turn to wait is correct there.
- Set the scope. Read
git status, the branch, and the staged and unstaged diffs. State what belongs to this shipment. Ask before you stage ambiguous changes. - Branch. Never commit new work to the default branch, usually
main. Create a branch first. - Verify. Run the narrowest meaningful test, lint, typecheck, or build. If it cannot run, say why. Never claim a pass you did not see. For proof beyond tests, use the
verificationskill. - Commit. Stage files by name. Make one cohesive commit per reviewable change. Write an imperative subject under 72 characters, with an optional body for why. Use the
writingskill for commit text. - Review. Run the review loop in
references/tstack-sol-loop.mdon the change. Fix the findings you agree with, verify again, and commit the fixes. - Push. Before the first push, rebase onto the latest default branch. Push to the remote that the branch tracks, with upstream set. A new branch uses the remote of the default branch, usually
origin. Do not force-push unless the user asks or a mode grants it. - Open the PR. Read
references/tstack-file-pr.mdand follow it for the duplicate check, the title, the opening, the model line, and filing. Shape the rest of the body with the sections inreferences/pr/SKILL.ref.md: a Summary visual, Evidence, and Merge Danger. Put them after the problem-first opening. Add one line that says how you proved the change. Use thewritingskill for the prose. Withoutgh, give the compare URL and stop at step 10. - Babysit. Follow Babysit below. Each round: wait on the watcher, triage, fix, verify the fix, commit, push, and wait again.
- Merge. Merge when the merge gate in
references/tstack-full-send.mdpasses on the latest commit. Follow that file's merge rules: the repo's merge method, merge queues, and no--adminor other bypass. - Clean up. Delete temp files, scratch scripts, and logs you made. Remove any worktree you created. Confirm
git statusis clean. If the PR merged in this session, switch to the default branch, pull, and delete the local and remote branch. - Report. Give the branch, the PR URL, the merge commit or the reason it did not merge, the proof, the review outcome, the decisions you made, and residual risk.
Stop rule. Stop the loop after three fix rounds in a row that do not bring the PR closer to the merge gate. Also stop on any blocker in the "Asking the user" section of references/tstack-full-send.md. Before you stop, remove the watcher. Then ask the user as that section says, with the harness's question tool (AskUserQuestion in Claude Code).
A subagent that opens a PR returns to its parent after step 7. It does not babysit or merge.
Babysit
- Read
references/babysit-pr/SKILL.ref.md. It is the main guide: one watcher per PR, rate limits, reviews, base branch, and merging. - Read
references/pstack-babysit.mdfor the triage order and its hard rules. Do not use its pacing loop orgh pr checks --watch. The watcher from step 1 replaces them. - Triage in this order: conflicts, then failing checks, then review comments.
- Conflicts: follow
references/pstack-fix-merge-conflicts.md. - Failing checks: follow
references/pstack-fix-ci.md. Fix the root cause in code or tests. - Review comments: collect them with
references/pstack-get-pr-comments.md. Then handle them as the babysit-pr guide says.
- Conflicts: follow
- Post every comment and reply in the format of
references/tstack-leaving-pr-comments.md. - When the merge gate passes, go to step 9 of the ship loop. When the stop rule applies, stop as it says.
Watching and T3 Code
The tstack files run in T3 Code and fall back outside it. Keep both paths working:
- In T3 Code, use the T3 tools that the files name:
watch_pull_request,unwatch_pull_request,orchestrator_capabilities, anddelegate_task. - Elsewhere, watch with
references/babysit-pr/scripts/pr-wait. Call it by its absolute path. In Claude Code, run it with the Monitor tool. - For sol loop outside T3 Code, run Sol through
codex exec, per the Routing rules in the Models section of../build/SKILL.md. Keep one session for all rounds withcodex exec resume. - When no route runs Sol, review with Fable instead (
fable @high, orclaudeAgent/claude-fable-5-2 @highin T3). Say so in the report, and write the PR line asReviewed with sol-loop: <N> rounds with Fable 5.2 (Sol unavailable). Verdict: approved. This replaces the file's rule that blocks without Sol. - Never write your own polling or
sleeploop.
Boundaries
- Merge only at step 9 of the ship loop, after the merge gate passes. Never merge in Full stop, or when the user named a narrower step.
- Do not amend, rebase, reset,
git clean, or delete branches that hold user work without approval. Modernize, the full modes, and the ship loop grant a rebase of the task's own branch and--force-with-lease, nothing more. - Do not rewrite history on a branch that other people may have pulled.
- Do not
git add .in a dirty tree. - Do not commit secrets, env files, logs, or unrelated dependency changes.
- Do not add unrelated cleanup to the PR. Keep the PR at the size the goal needs.
- Do not skip hooks with
--no-verify. Do not make a failing check optional so that CI passes. - Change a test's expected value only when the behavior changed on purpose.
Names in the included files
The included files name skills from tstack, pstack, and matt. h00man is standalone, so never load one from another plugin. Map them like this:
/babysit, the command or Cursor's built-in: Babysit mode in this skill.file-pr:references/tstack-file-pr.md.babysit-pr:references/babysit-pr/SKILL.ref.md. Its pr-wait script isreferences/babysit-pr/scripts/pr-wait.full-send, including the../full-send/SKILL.mdlink in full-stop:references/tstack-full-send.md.sol-loop:references/tstack-sol-loop.md.leaving-pr-comments:references/tstack-leaving-pr-comments.md.modernize:references/tstack-modernize.md.- fix-ci, fix-merge-conflicts, and get-pr-comments: the
references/pstack-*.mdfile of the same name. - The
poteto-modeBabysit playbook, the "platform mapping" lines, andbugbot-triage.mdare not part of this skill. Use the babysit-pr guide in their place. - The Claude Code
loopskill: do not use it here. Use the watcher. interrogate: thebuildskill.unslop: thewritingskill.GLOSSARY.mdin the pr template: the project's own glossary. Many projects name itCONTEXT.md.
Each upstream SKILL.md in references/ is named SKILL.ref.md, so that no harness loads it as a skill. When a reference links to a SKILL.md, read the SKILL.ref.md in that folder.
Sources
- h00man:ship, by h00man, the user's own skill, https://github.com/h00mankind/workflow, Apache-2.0. Takes the process, the cleanup and report steps, and the boundaries.
- tstack, by Theo Browne (https://github.com/t3dotgg/tstack), MIT. Takes
file-pr,babysit-prwith itspr-waitscript,full-send,full-stop,sol-loop,leaving-pr-comments,modernize, andtakeover. - pstack, by Lauren Tan, ported for Claude Code and Codex by h00man (https://github.com/cursor/plugins, folder
pstack), MIT. Takesbabysitfor the triage order and hard rules,fix-ci,fix-merge-conflicts,get-pr-comments, andmake-pr-easy-to-review. - matt, by Matt Pocock (https://github.com/mattpocock/skills), MIT. Takes
pr, the PR body template. Its Summary visuals come from Dex Horthy'sshow-meskill (Humanlayer), as itsCREDITS.mdsays.
04 同仓库更多 Skills
teach
Teach the user a subject, in explain mode (one plain account of code, a change, or a concept, in chat) or course mode (a learning workspace with a mission, lessons, and records over many sessions). Runs only when the user types /teach.
council
Get a review or a second opinion on existing work from several strong models of different providers. Runs only when the user types /council.
variant
Builds multiple variants of a component you're working on and helps you iterate and pick one.
teardown
Creates technical illustrations of physical objects and of how things work, such as display pixels or interface layers, with coherent views, fine linework and part fills.
state-machine
Renders every state of a component you choose on a throwaway page, with mock data and a switcher, so you can work on each state.
interface-review
Reviews a branch, pull request or uncommitted change for the interface problems it introduced or regressed, across accessibility, layout, writing, typography, color and UI.