{"slug":"claude-code-run-code-review-on-a-new-pull-request","title":"Run Claude Code Review on a new pull request","summary":"Claude Code handles this as a draft: After an admin turns on Code Review for a repository, a new pull request gets an automatic review. A person still merges. The product is for Team and Enterprise plans.","agent":"Claude Code","agentSlug":"claude-code","category":"Coding","categorySlug":"coding","roles":["Software engineer"],"roleSlugs":["software-engineer"],"industries":["Software"],"industrySlugs":["software"],"jobs":["code-review"],"topic":"Dev & Coding","topicSlug":"dev-and-coding","score":18,"difficulty":"medium","estCost":"Claude Code Review on a Team or Enterprise plan, as the announcement describes. It is not a Free-plan feature.","costTier":"medium","timeSaved":"A first pass on a pull request before a person reads it. The announcement says most reviews dropped from about 20 minutes to about 6 to 10 minutes. That is their figure, not a measurement from this catalog.","prompt":"Review this pull request. Report only bugs that matter.\n\nFor each finding, state the problem, what triggers it, and a fix in a few sentences. Cite the file. If you are not sure, say so and do not list it.\n\nDo not approve the pull request. Do not merge. Do not rewrite the change unless I ask for a patch in a follow-up. Stop at the findings.","steps":[{"title":"An admin enables Code Review for the repository","detail":"The announcement says Team and Enterprise admins turn it on in Claude Code settings, install the GitHub App, and choose repositories. Pick Quick, Standard, or Deep per repository. Standard is the default."},{"title":"Open a pull request and read the review","detail":"The announcement says reviews then run on new pull requests without a developer setting. Check each finding against the diff."},{"title":"Stop","detail":"You merge. The review does not replace that decision."}],"sourceUrl":"https://claude.com/resources/articles/code-review-is-now-generally-available","sourceNote":"Anthropic announcement, dated 15 Oct 2026 on the page. It returned HTTP 200 on 17 Oct 2026. Code Review left research preview for Team and Enterprise. Admins enable it, install the GitHub App, and pick Quick, Standard, or Deep. Reviews then run on new pull requests. Prompt and stop rules are an AI Playbook Gems adaptation, not a vendor quote; unverified.","date":"2026-10-17","verified":false,"status":"unverified","sponsorUrl":"","metrics":[{"label":"Hands-on time","value":"Reading the findings against the diff"},{"label":"You still approve","value":"Merge"}],"faq":[{"question":"Has this Claude Code playbook been re-run for the catalog?","answer":"No. Status is unverified. The announcement was checked on 17 Oct 2026. The prompt is an adaptation."},{"question":"What stays human?","answer":"Merging. An admin also chooses which repositories are reviewed and how deep the pass is."}],"url":"https://aiplaybookgems.com/usecases/claude-code-run-code-review-on-a-new-pull-request","jsonUrl":"https://aiplaybookgems.com/api/usecases/claude-code-run-code-review-on-a-new-pull-request"}