Claude Ship: How to Set Up AI Code Review, PR Steward, and Approvals in Your GitHub Workflow (2026)
AI & Productivity

Claude Ship: How to Set Up AI Code Review, PR Steward, and Approvals in Your GitHub Workflow (2026)

Ricardo Gil
December 2, 2026
11 min read
#claude-code #claude-ship #github #code-review #ai-development

Gear recommended in this guide

Amazon affiliate links

As an Amazon Associate I earn from qualifying purchases at no extra cost to you.

On November 23, 2026, Anthropic launched Claude Ship — a GitHub integration that connects three AI agents directly to your pull request workflow: Code Review (generally available), PR Steward (public beta), and Claude Approvals (public beta). If you already use Claude Code for development, this is the natural extension: instead of running reviews manually or waiting for a teammate to catch something, Claude can review every PR automatically, respond to failing checks and merge conflicts, and approve routine changes based on a policy file your team controls. This guide covers how to set up all three components, including the full .claude/approvals.yml configuration.

What Claude Ship Is (and What It Doesn't Do)

Claude Ship is not an AI that merges your code for you. It's three separate agents, each with a narrowly defined role, that layer on top of GitHub's existing branch protection model. Per Anthropic's official product page, Claude Ship is in beta and available only on Team and Enterprise plans, GitHub only. It's not available to organizations using Zero Data Retention, HIPAA configuration, or customer-managed encryption keys.

Here's what each component does:

  • Code Review (generally available): Uses multiple agents to find bugs before they hit production. Findings are ranked as Normal (a real bug, should be fixed), Nit (minor issue, not blocking), or Pre-existing (bug that existed before this PR). You tune what gets flagged with a REVIEW.md file at the repo root.
  • PR Steward (public beta): Runs in the cloud and responds to review feedback, failing checks, and merge conflicts. It keeps the PR branch up to date but never approves or merges — that's left to your branch protection rules.
  • Claude Approvals (public beta): Reads a .claude/approvals.yml policy file your team writes. It can approve routine changes automatically, comment without approving on others, or block changes that need a human. Your team defines what qualifies as "routine."

These three work independently. You can run just Code Review, or add PR Steward and Approvals incrementally once the team is comfortable with the first. That's actually the approach Anthropic recommends: start with one repo, one agent, check the costs, then expand.

Prerequisites Before You Enable Anything

Before enabling Claude Ship in settings, confirm you have the following:

  • Claude plan: Team or Enterprise. Standard individual plans don't have Claude Ship.
  • GitHub organization owner access: You'll need permission to install a GitHub App in your GitHub organization (not just a repo).
  • Claude organization owner role: Only Owners and Primary Owners of a Claude organization can enable Claude Ship in settings.
  • For the /ship local command: Claude Code v2.1.330 or later, GitHub CLI 2.63 or later, git 2.38 or later. You can verify with claude --version, gh --version, and git --version.

Billing is usage-based, separate from your plan quota. Each agent draws from your organization's usage credits. Before enabling everything at once, the official docs suggest checking per-review costs in a test repo first. Code Review at the Deep level on a large diff can cost more than Standard — start with Standard (the default) and tune from there.

One thing that catches people off guard: Claude Ship costs bill against usage credits, which are a separate pool from plan-included token usage. You can set a spend cap per repository for Code Review in Organization settings. Set a conservative cap initially — the per-review cost depends on review level, diff size, and trigger frequency, so the first few reviews are the best way to calibrate your estimate.

Setting Up Code Review

Code Review is the most mature component and the right starting point. According to Anthropic's setup documentation, the steps are:

  1. Go to Organization settings → Claude Code and find the Code Review section.
  2. Click Configure to begin the GitHub App installation flow.
  3. Install the Claude GitHub App in your GitHub organization. It requests read and write access to contents, issues, and pull requests.
  4. Choose which repositories to enable. If a repo is missing from the list, verify the app has access to it in GitHub App settings.
  5. Set a Review Behavior (trigger mode) for each repository.

There are three trigger modes to choose from:

  • Once after PR creation: Runs when a PR is opened or marked ready for review. The most predictable cost.
  • After every push: Runs on each commit to the PR branch. Most thorough, most expensive. Avoid this on high-volume repos until you know your per-review cost.
  • Manual: Runs only when someone with write access comments @claude review on the PR. Best for getting started without surprise costs.

I'd start in Manual mode on a test repo. Once you've seen a few reviews and confirmed the feedback quality matches what you need, switch to "Once after PR creation." The Deep review level exists for cases where you want maximum coverage — but Standard, which uses multiple passes internally, catches most issues at a fraction of the token cost.

To customize what Code Review flags, add a REVIEW.md at your repository root on the default branch. Claude reads it automatically — no config needed. The file is plain English. For example:

markdown
# Code Review Guidelines

## Always flag
- API routes that add or modify authentication logic without integration tests
- Database migrations that drop columns without a matching rollback plan
- .NET controller actions that don't return a typed ActionResult

## Skip
- Generated files in `/src/generated/**`
- Changes to `*.designer.cs` files
- Whitespace-only changes in XML config files

The REVIEW.md is read from the base or default branch, not from the PR itself — so a contributor can't weaken the review rules in the same change they're submitting.

Setting Up PR Steward

PR Steward runs in Anthropic's cloud and watches open PRs for things to fix: a reviewer's comment, a failing check, a merge conflict with main. It doesn't approve or merge — it just prepares the PR for human decision. Because it modifies code autonomously in the cloud, the official docs strongly recommend requiring at least one human approval before merging, with stale approval dismissal enabled.

Start with Manual mode. In Manual mode, PR Steward only activates on a PR when someone with write access comments @claude steward. This gives your team control over when it runs before making it default.

To configure it:

  1. In Organization settings, under Claude Ship, find the PR Steward section for each repository.
  2. Set the mode to Manual initially.
  3. Open a test PR, comment @claude steward, and watch how it responds to review feedback.
  4. Once your team is comfortable, switch to On (activates on newly opened PRs) or On (including drafts).

To stop PR Steward on a specific PR at any time, comment @claude stop or remove the claude-pr-steward-watching label. If a check is run by another bot, you can tell PR Steward to read its output with /steward +bot-name in the Claude Code CLI.

PR Steward doesn't approve or merge — it prepares. The design keeps humans in the merge decision loop while offloading the mechanical parts: rebasing on main, re-running tests, addressing lint failures, responding to reviewer nits. If your CI is flaky or your team is spread across time zones, this is where you'll feel the most impact. Per Anthropic's docs, PR Steward requires the same GitHub App and organization access as Code Review, so if you've already installed the GitHub App for Code Review, there's no additional installation step for Steward.

Setting Up Claude Approvals (The Policy File)

Claude Approvals is the most powerful component and the one that requires the most deliberate configuration. It reads a .claude/approvals.yml file from your default branch and uses it to decide whether to approve, comment on, or block each PR.

Start with observe mode, where Claude posts its decision as a comment but takes no action. This lets you see whether its decisions match what your team would do, before you enforce anything.

Here's a minimal starter policy, based on the configuration format documented by Claude Ship early adopters and the ComputingForGeeks breakdown:

yaml
# .claude/approvals.yml
version: 1
mode: observe  # Remove this line to enforce when ready

rules:
  - purpose: "All changes need two people. If Claude's code review passes, one reviewer plus Claude is enough."
    paths: ["**"]
    verdict: { claude: comments, seats: 2 }
    override:
      - { if: "claude/code_review = pass", verdict: { claude: approves, seats: 1 } }
    advisory: [claude/code_review]

  - purpose: "Changes to Claude policy files always need two humans."
    paths: ["**/.claude/**"]
    nested: inherit
    verdict: { claude: comments, seats: 2 }

Breaking down the key fields:

  • mode: observe — Claude posts decisions as comments only. Remove this line to switch to enforce mode.
  • claude: comments — Claude doesn't approve, it only comments. Use claude: approves to allow Claude to post an approving review.
  • seats: 2 — Two approvals required. The PR author can count as one of these, so in practice you need one other person.
  • override — Changes the verdict when a condition is met. The condition claude/code_review = pass means Code Review found no Normal-level bugs.
  • advisory: [claude/code_review] — Keeps Code Review running on PRs covered by this rule. Without it, adding the policy file can silently stop reviews.

Some useful conditions you can use in overrides, per the policy documentation:

  • pr/diff_lines <= 20 — Small changes only
  • ALL pr/authors = bot:dependabot — Dependency bump PRs only
  • pr/base = 'release/**' — PRs targeting a release branch

Once you're confident the decisions match your team's judgment, enforce it by removing mode: observe. Then, in GitHub branch protection, require the Claude Approvals status check and set its source to the Claude app (app ID 1236702). Setting it to "any source" is risky — anything named "Claude Approvals" would satisfy the check.

The /ship Command: What Developers Actually Run

Beyond the cloud agents, Claude Ship includes a local command for individual developers: /ship in the Claude Code CLI. Per Anthropic's Claude Code guide and the Dev.to walkthrough, /ship does the following in one command:

  1. Commits all uncommitted files (including untracked ones) — no confirmation prompt
  2. Pushes the branch to origin
  3. Opens a pull request if one doesn't exist
  4. Runs /code-review on the PR
  5. Starts a watch that monitors and fixes failing checks, conflicts, and reviewer comments

Important: /ship commits everything without asking. Run git status first and stash anything you don't want committed (git stash push -u -- scratch.txt). If you cancel after the commit but before the push, recover with git reset HEAD~1 — your files stay.

If the PR already exists and you just want the watch, use /steward instead of /ship. The watch responds to failing CI, merge conflicts, and review comments until the PR merges or you stop it.

This is where the integration with the work I do on Claude Code hooks becomes interesting: hooks can trigger before or after /ship runs, letting you run your own pre-push checks first. And if you're already using CLAUDE.md to customize Claude Code's behavior per project, the same project context applies when Claude reviews PRs in that repo.

Practical Tips Before You Go All-In

A few things worth knowing before you roll this out to a full team:

Billing is usage credits, not plan seats. Code Review, PR Steward, and /ship all bill against organization usage credits, separately from plan quota. Per Anthropic's billing docs, turning off usage credits doesn't stop switched-on agents immediately — shut down in this order: Approvals first, then PR Steward, then Code Review. Each has its own off switch in Organization settings.

The check run never hard-fails. The "Claude Code Review" GitHub check run never returns a failed status, so it can't block merges on its own. Use Claude Approvals (and GitHub branch protection) if you want a gate.

Enterprise promotional credits exist. Per Anthropic's docs, eligible paid Enterprise organizations can claim $10,000–$50,000 in credits (sized by active Claude Code seats) through January 15, 2027. Credits last 30 days from the claim date.

Start narrow. One repo, Code Review only, Manual trigger. Once the team trusts what it flags, expand. The multi-agent pattern that works in Claude Code applies here too — you want to verify each layer independently before stacking them. And if you're evaluating Claude Code against other AI tools for your team, the comparison with Cursor and GitHub Copilot I wrote earlier is worth reading alongside this.

REVIEW.md belongs on the default branch. A contributor can't soften the review rules in the same PR they're submitting, because Claude reads REVIEW.md from the base branch, not the PR branch. Same logic as keeping CODEOWNERS on main.

Want Claude dialed in for your workflow?

Book a 1-on-1 Claude setup call: 60 minutes, live, in English or Spanish, recorded for you. $127. Book the call →

Or start with the Claude Prompt Pack: 50 bilingual prompts, $17, instant download.

If you want to go deeper on the theoretical side of building AI-assisted development systems, AI Engineering by Chip Huyen covers how agents, evaluation, and feedback loops work at a system level — the mental model maps directly to what Claude Ship is doing under the hood.

Ricardo Gil is a full-stack developer (.NET/Angular) with 6+ years of experience. He uses AI tools daily — Claude Code, n8n automations, and local LLMs via Ollama on his homelab. More about Ricardo →

Ready to build it? The gear from this guide

Amazon affiliate links

As an Amazon Associate I earn from qualifying purchases at no extra cost to you.

📬Weekly Newsletter

Get the best home lab & AI content

No spam. One email per week. Unsubscribe anytime.

Share this article