How to use Claude Code to handle post-PR follow-up
Brief
Claude Code can review a branch and watch your PR for follow-up work. The guide explains how to try it locally, configure repository instructions and roll out team-wide automation cautiously.
Commands for your own PRs
- /code-review checks branch commits and uncommitted changes; options include --fix, --comment and effort levels.
- /ship can commit pending changes, open a PR, review it and watch for failing checks, conflicts and review comments for up to seven days.
- /steward watches an existing PR without reviewing it first. Local watches run as you, use your quota and stop if your machine sleeps.
Configure and use with care
- Use CLAUDE.md for code conventions, REVIEW.md for review rules, and .claude/skills/verify/SKILL.md or steward/SKILL.md for recurring verification or PR-maintenance instructions.
- The cloud-based ultra review may be billed separately; PR watches also use plan quota or incur API costs.
- Only run local watches in repositories where you trust people who can land changes on the base branch. Keep existing tests, scanners and human reviewers.
Team rollout
- Team-wide Claude Ship requires admin setup, including enabling Code Review and PR Steward and configuring an approval policy.
- The guide recommends starting in observe mode and reviewing decisions for a week or two before enforcement. Policies that invoke Code Review or custom classifiers can incur charges, even in observe mode.
- Claude approvals count as real GitHub approvals, so teams should review approval policies alongside branch rules.
Generated by AI from the original article. Check the source for full details.