Claude Code /ship Command and PR Approvals: Workflow Setup, PR Steward & Policy Config
Introduced by Anthropic on November 23, 2026, Claude Ship automates the post-PR software lifecycle from Claude Code via the /ship command. Running /ship pushes your local branch, opens a GitHub pull request, and coordinates three specialized agents: Code Review (GA) for severity-ranked inline review, PR Steward (Beta) to fix failing CI checks and merge conflicts without merge authority, and Claude Approvals (Beta) to evaluate repository-defined natural-language policies in .claude/approvals.yml.
Scope & operational note: Available to **Claude Team and Enterprise** customers using **GitHub** repositories. Excluded for organizations using Zero Data Retention (ZDR), HIPAA configurations, or customer-managed encryption keys (CMEK). Start Claude Approvals in observe-only mode before granting automated approval authority, and keep GitHub branch protection rules enforced.
1. How /ship coordinates the three Claude Ship agents
Running /ship in Claude Code replaces manual push → open PR → monitor CI → respond to review loops with a structured three-agent handoff:
| Agent | Release Stage | Responsibility | Permission Boundary |
|---|---|---|---|
| Code Review | Generally Available (GA) | Inspects PRs across logic, security, and edge cases; posts severity-ranked inline comments | Advisory comments only |
| PR Steward | Beta | Resolves failing CI/CD checks, merge conflicts, and review feedback by pushing follow-up commits | Cannot approve or merge PRs; steerable via @claude or halted with @claude stop |
| Claude Approvals | Beta | Evaluates PR risk against natural-language team rules in .claude/approvals.yml | Approves routine PRs that pass policy while respecting GitHub branch protection rules |
2. Configuring .claude/approvals.yml and observe-only rollout
Anthropic describes .claude/approvals.yml as a policy-aware companion to CODEOWNERS: teams define in plain language which changes qualify for automated approval and which paths always require human sign-off.
Recommended Rollout Pattern
- Enable in observe-only mode first: Let Claude Approvals evaluate live PRs and log whether it would have approved them without granting actual GitHub approval status.
- Scope narrow low-risk rules: Start with documentation updates, dependency lockfile bumps with green CI, or non-production test additions.
- Hard-block sensitive paths: Keep authentication, billing/payment handlers, infrastructure IaC, and
.github/workflows/explicitly reserved for human reviewers via both.claude/approvals.ymland GitHub branch protection. - Choose trigger scope: Organization admins can allow developers to invoke
/shipper branch or enable repository-wide automatic activation on every opened PR.
Mid-Run Steering in GitHub PR Comments
- Mention
@claudeon the PR thread to redirect PR Steward toward a specific fix or test constraint. - Post
@claude stopto halt automated follow-up commits immediately.
3. Plan eligibility, exclusions & pre-ship hygiene
- Supported plans & host: Claude Team and Enterprise workspaces connected to GitHub repositories.
- Compliance exclusions: Not available for workspaces with Zero Data Retention (ZDR), HIPAA configurations, or customer-managed encryption keys (CMEK).
- Pre-ship security & slop cleanup: Before running
/ship, strip accidental.claude/settings.local.jsonleaks and AI boilerplate using safe-anything and deslop-please.
Frequently asked questions
Can PR Steward merge or approve pull requests on its own?
No. PR Steward is explicitly restricted from approving or merging PRs; it only pushes fixes for failing checks, merge conflicts, and review comments. Automated approval is handled separately by Claude Approvals under repository policy rules.
How do you stop PR Steward during an active pull request?
Comment @claude stop on the GitHub pull request thread to halt PR Steward immediately, or mention @claude to steer its next commit.
Who can use Claude Code /ship and Claude Approvals?
Claude Ship is available for Claude Team and Enterprise customers using GitHub repositories, excluding organizations with Zero Data Retention (ZDR), HIPAA configurations, or customer-managed encryption keys.