Claude Ship's rules for agent PRs, as gates your agent can't skip

5 min read · For developers letting Claude Code and other agents work on their pull requests

TL;DR: On November 25, 2026 Addy Osmani published a practical guide to shipping with Claude Code, alongside the launch of Claude Ship. Under the product, it is a set of habits the Claude Code team uses: review before you push, stop after three failed rounds, write a rule only after a comment repeats, verify before you claim, and keep rule files under a person's eye. Habits written in a prompt can be skipped. ThumbGate turns the ones that happen at the tool call into hooks that block.

What Claude Ship is

From the guide, Claude Ship is three agents for the work after a PR is opened:

For one developer, /code-review, /ship and /steward run the same ideas in a local Claude Code session.

The rules worth keeping, with or without Claude Ship

  1. Three strikes. During a watch Claude pushes at most three times for one issue, then reports the attempts. If a check keeps failing after three rounds, the approach is probably wrong.
  2. A rule needs two repeats. A review comment becomes a written rule only after it shows up on at least two PRs, and a person approves the PR that adds it. Delete rules that stop paying off.
  3. Repeat setup becomes a verify skill. Write down how to boot and exercise the app, and end with "Don't report success without" the steps you ran.
  4. Repeat maintenance becomes steward rules. Known flaky checks, how to regenerate the lockfile, what to leave to the author.
  5. Observe before you enforce. Run a policy in a mode that only logs, compare it with what reviewers did, then turn it on.
  6. Rule files need a person. The watch never commits CLAUDE.md, REVIEW.md, .claude/ or .github/. Anyone who can merge can change the rules, so review those changes like CI changes.
  7. The person who called the agent owns the change. As if they typed it themselves.

Where a prompt rule stops working

Rules one, three and five are about what the agent does next, in the middle of a long session. That is where written instructions are weakest: after a context compaction, or on the fourth try at a red test, the agent is reasoning about the failure, not about your house rules. A hook runs on every tool call whether the agent remembers the rule or not.

How ThumbGate enforces them

Turn on the PR gates with THUMBGATE_PR_DISCIPLINE=1. The wiring is in the anti-babysitting gates guide. Every gate fails open on an internal error.

What ThumbGate does not do

Sources

ThumbGate is an independent project and is not affiliated with or endorsed by Anthropic.

Make your agent stop at strike three

Install ThumbGate, then turn on the PR gates.

npx thumbgate init
Three strikes, then a new approach npx thumbgate init Setup guide