Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

claude.dev 18 min read How-to mediumAdept

A practical guide to shipping with Claude Code

Claude Code's /ship command commits pending changes, opens a PR, runs /code-review and fixes valid findings, then watches the PR for up to seven days. While watching it fixes failing checks, resolves conflicts and addresses review comments, and it escalates design-level questions after at most three attempts on an issue. The guide covers the /code-review effort levels and flags, /steward for existing PRs, and the security caveats of the local watch. Merging the base branch runs code under your credentials, and git hooks are bypassed. Recurring feedback should be encoded in CLAUDE.md, REVIEW.md, and verify and steward skill files before asking admins to pilot Claude Ship team-wide with protected branches.

Assumes: GitHub pull requestsGit branching and worktreesClaude Code basics

Related posts

  • How we're shipping faster with Claude Code and Git Worktrees

    incident.io mediumAdept

    incident.io engineers run four to seven Claude Code agents in parallel, each isolated in its own Git worktree so concurrent sessions don't clobber a shared working directory. A small open-source bash function, `w`, creates per-user worktrees under ~/projects/worktrees, autocompletes them, and runs commands such as `claude` or `git status` inside a worktree without changing directory. Examples include building a multiline JavaScript editor in about 10 minutes and spending $8 of Claude credit to parallelize Makefile API codegen for an 18% (30 second) speedup. The team also leans on Plan Mode to leave agents running safely, uses voice dictation for long context dumps, and wants per-PR ephemeral environments with their own database and backend.

  • Keeping code moving with clearer review expectations

    Sourcegraph mediumAdept

    Sourcegraph is experimenting with an AI agent that routes each pull request to one of three review paths: Ship (no review), Show (review after merge) or Ask (review before merge). The agent inspects the diff, surrounding code and the author's history, and application code applies explicit rules to pick a path. Familiarity requires two merged, reviewed PRs plus a relevant contribution in the past 30 days, and changes to authentication or sensitive-data exposure always require review. Early lessons: familiarity must be scoped to specific components, visible reasoning makes decisions contestable, and the bot's own comments can become interruptions. Fewer stamp requests so far says little about review quality.

  • Agentic Coding on Railway: A Practical Guide for 2026

    Railway mediumAdept

    Railway's official MCP server, per-PR preview environments with isolated databases, one-call rollback, environment promotion and per-environment secrets let agents like Claude Code, Cursor and Codex deploy, debug and validate their own PRs without leaving the loop. Five workflows are walked through: scaffolding and deploying a service, adding Postgres with migrations, creating preview environments, debugging failed deploys from structured logs, and agents testing their own PRs against preview URLs. Long-running migrations, multi-service ordering and cost reasoning still stall. The advice is to scope agent tokens to non-production environments, require human approval for production promotions, set spend alerts, watch for revert loops, add observability via MCP, and write business constraints where the agent can read them.

  • Enabling branch deployments through IssueOps with GitHub Actions

    GitHub Engineering mediumAdept

    GitHub's branch-deploy Action brings the branch deploy model to any repository through IssueOps: comment commands like `.deploy` or `.deploy noop` on a pull request trigger a GitHub Actions workflow that deploys the branch before it is merged. Because changes are deployed and validated before merging, `main` stays stable and rollback means simply redeploying `main`. A sample workflow shows how the action's `continue`, `noop` and `ref` outputs gate deployment steps. The action also respects branch protection, supports deploy locks and configurable environments, and GitHub and npm use it internally, mainly for Terraform infrastructure repos where ChatOps isn't available.

  • Automating cross-repo documentation with GitHub Agentic Workflows

    GitHub Engineering mediumAdept

    Aspire's team uses GitHub Agentic Workflows to auto-draft documentation pull requests in a separate docs repo whenever a product pull request merges, with the shipping engineer assigned as reviewer. The agent gets read-only access and emits intent, while a narrowly scoped safe-outputs handler with a two-repo GitHub App token, branch allow-lists, protected files and draft-only PRs performs the writes. A deterministic bash resolver maps milestones to docs release branches before the agent runs. Over 30 days, 396 runs produced 82 docs PRs, all merged, at a median 44.8 hours, after the prompt was tightened with negative examples to cut an initial ~13% false-positive rate.

The quest for software engineering knowledge.

Look:
Layout: