- Recipes
- /
- AI code review on every GitHub PR
RecipeHowToUpdated May 2026· 15 min to deploy
AI code review on every GitHub PR
When a PR opens, fetch the diff. AI reviews for bugs, security issues, and clarity. Posts findings as PR comments. Humans still own merge decisions.
GitHub
Anthropic
Steps
Build this in 15 min.
Each step is a single node on the canvas. Order matters; everything else is dragging.
- 1TriggerPR opened
GitHub PR Opened.
- 2TransformFetch diff
GitHub Get PR Diff.
- 3TransformAI review
Claude: 'Review this diff for bugs, security, performance, clarity. Return JSON: findings[] with severity, line, comment.'
- 4ActionPost comments
GitHub Submit PR Review as COMMENT (never APPROVE) with findings.
FAQ
Common questions about this recipe.
Why not auto-approve?
AI reviews are guidance, not gating. Humans own merge decisions for accountability. Auto-approving creates a single point of failure.
Clone this recipe in two minutes.
Free tier available. No credit card. No onboarding call.