← Gallery

Review my open PR

Finds the pull request for the current branch and reviews the diff for bugs, missing tests and unclear code, like a careful teammate would.

Kind
Recipe
By
Plexiform (@CallumJB125) self-declared
License
CC0-1.0
Added
2026-10-10
Updated
2026-10-10
Stacks
any
Tools
claude
Tags
review, pull-request
sha256
cb12da9173a2846f9db87b4ce8a957d49b38298ac96737aff67ec1fe4c11e173

Finds the pull request for the current branch and reviews the diff for bugs, missing tests and unclear code, like a careful teammate would.

Read-only: it plans and reports, and never changes files. Cost: Medium: reads the diff and nearby files. Larger PRs cost more.

The prompt

Review the open pull request for the current branch.

1. Find it with `gh pr view --json number,title,body,baseRefName` if the GitHub CLI is available; otherwise compare against the default branch with `git diff $(git merge-base HEAD origin/HEAD)...HEAD`.
2. Read the whole diff and the files around each change.
3. Report, most important first: real bugs, missing or weak tests, security or data-loss risks, confusing names or logic. For each, give the file and line and a concrete suggestion.
4. End with a one-line verdict: ready to merge, merge after small fixes, or needs more work.

Do not change any files and do not post anything to GitHub.

To add it: in Plexiform, open Discover in the sidebar, then Add. You see everything it contains before anything is saved.