---
type: "post"
id: "a-practical-guide-to-shipping-with-claude-code-27ca09"
slug: "a-practical-guide-to-shipping-with-claude-code-27ca09"
title: "A practical guide to shipping with Claude Code / claude.dev Blog"
description: "Addy Osmani’s guide describes using Claude Code to take on work after a GitHub pull request is opened, aimed at developers and tech leads without repository admin privileges."
retrieval_nugget: "Addy Osmani’s guide describes using Claude Code to take on work after a GitHub pull request is opened, aimed at developers and tech leads without repository admin privileges. The latest Claude Code includes /ship, which can be used before an admin enables Claude Ship agents. (claude.dev)"
published_at: "2026-11-25"
updated_at: "2026-11-25"
record_date: "2026-11-25"
date_kind: "published_at"
topics: ["claude","claude-code","github"]
entities: ["Anthropic","Claude Code","Claude Ship","Addy Osmani","Claude Approvals","PR Steward"]
related_patterns: ["verification-bandwidth-is-the-scarce-resource"]
novelty_label: "new_fact"
what_changed: "Anthropic’s guide explains how to use Claude Code’s /ship command and configure repository-specific rules to automate pull-request follow-up."
prior_refs: ["https://newruntime.com/posts/claude-ship-claude-code-docs-72875e/"]
source_url: "https://claude.dev/blog/the-work-after-you-open-a-pr"
source_urls: ["https://claude.dev/blog/the-work-after-you-open-a-pr"]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:a-practical-guide-to-shipping-with-claude-code-27ca09"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/a-practical-guide-to-shipping-with-claude-code-27ca09/","markdown":"https://newruntime.com/posts/a-practical-guide-to-shipping-with-claude-code-27ca09.md","json":"https://newruntime.com/posts/a-practical-guide-to-shipping-with-claude-code-27ca09.json"}
markdown_url: "https://newruntime.com/posts/a-practical-guide-to-shipping-with-claude-code-27ca09.md"
---

# A practical guide to shipping with Claude Code / claude.dev Blog

## Retrieval answer

Addy Osmani’s guide describes using Claude Code to take on work after a GitHub pull request is opened, aimed at developers and tech leads without repository admin privileges. The latest Claude Code includes /ship, which can be used before an admin enables Claude Ship agents. (claude.dev)

## Summary

Addy Osmani’s guide describes using Claude Code to take on work after a GitHub pull request is opened, aimed at developers and tech leads without repository admin privileges. The latest Claude Code includes `/ship`, which can be used before an admin enables Claude Ship agents. ([claude.dev](https://claude.dev/blog/the-work-after-you-open-a-pr))

## What happened

On a branch without a pull request, `/ship` can commit pending changes, push the branch, open a pull request, review it and fix findings it considers valid. Once a pull request exists, it watches for failing checks, conflicts and review comments for up to seven days, stopping when the PR is merged or closed. Before committing, it behaves as if `git add -A` had run, while respecting `.gitignore`; it notifies the user and allows an abort with Esc.

For an existing PR, `/steward 41` starts the watch on its checked-out branch without reviewing first. This local command runs as the user in their session, unlike the team PR Steward service, which runs as `claude[bot]`.

The guide puts PR-maintenance instructions in `.claude/skills/steward/SKILL.md`, read by `/ship`, `/steward` and PR Steward. Application startup and exercise instructions belong in `.claude/skills/verify/SKILL.md`. Code Review and PR Steward read `REVIEW.md`, but local `/code-review` reads `CLAUDE.md` instead.

For a given issue, the watch pushes at most three times; if it cannot resolve the problem, it reports attempted solutions to the author. Larger decisions are meant to be escalated.

## What the archive adds

This is the local counterpart to the earlier coverage of Claude Ship as a team-wide set of GitHub agents: Code Review is generally available, while PR Steward and Claude Approvals are in beta. An admin is needed to enable agents to work automatically across a team’s pull requests. ([earlier New Runtime note](https://newruntime.com/posts/claude-ship-claude-code-docs-72875e/))

## Why it matters

The watch may merge the base branch into its working branch and run commands such as tests. That gives people able to land changes on the base branch a path to trigger commands on the user’s machine. Claude is instructed not to merge, and unattended `gh` and `git` commands are constrained against direct merging and force-pushing; nevertheless, GitHub auto-merge could merge a PR after a watch-made fix. Since watch commits and pushes bypass repository git hooks, keep required checks in CI and enforce them with branch rules.

## Limits and uncertainty

The watch runs as you on your machine, uses your quota and stops if you close the laptop. It requires GitHub CLI authentication, only watches PRs you opened, and needs the branch to stay checked out. Outside auto mode it stops at prompts; it will not run in bypass-permissions mode. Windows can open and review the PR but does not start the watch, and a `PreToolUse` or `PermissionRequest` hook on Bash in `.claude/settings.json` prevents startup.

It will not automatically commit files that look like secrets or rule-setting files such as `CLAUDE.md`, `REVIEW.md` and files under `.claude/` or `.github/`. In public repositories, pending changes must be committed manually. One session can run only one watch at a time; starting another ends the previous one. The watch consumes model turns against plan usage or the API bill. It will not run on a PR already labeled Steward.

`/code-review --fix` applies findings to the working tree, and edits made during a background review may not be caught by `/rewind`. `/code-review ultra` runs in the cloud, requires a claude.ai login and may be billed separately. Code Review does not read `REVIEW.md` from the PR being reviewed.

## Skill to build now

Start with `git status` and inspect what is pending before running `/ship`; then run `/ship` to see the watch’s full terms. For a focused review, `/code-review` checks branch commits and uncommitted changes for correctness bugs. If a review rule recurs on at least two PRs, the guide suggests considering a shared rule, with a person approving the PR that adds it. By default, `/ship` reads comments from you, people with write access and the Claude GitHub App; add other bots with `+name` if needed.

## Reader takeaway

Use /ship as a local, user-run way to handle follow-up after opening a pull request—not as a team-wide unattended service. Inspect pending changes first, keep the branch and session available, and rely on CI and branch rules for required checks. Its access to the base branch means trust and auto-merge settings matter.

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Claude](https://newruntime.com/topics/claude.md): Explore the claude topic hub.
- topic hub: [Claude Code](https://newruntime.com/topics/claude-code.md): Explore the claude-code topic hub.
- topic hub: [Github](https://newruntime.com/topics/github.md): Explore the github topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
