PR Review Setup

Automated PR Review
Powered by Claude

Generate a Claude Routine prompt that reviews every GitHub pull request automatically. Configure in 30 seconds.

Set up PR Review Read the docs

Free. Requires a Claude account with Routines access.

How it works

1

Set your preferences

Choose your codebase language, what the reviewer should focus on (security, tests, style, etc.), and how strict it should be.

2

Copy the generated prompt

RepoSweeper generates a precise Claude Routine prompt tailored to your preferences. Copy it in one click.

3

Create your Routine

Paste the prompt into a new Claude Routine at claude.ai/code/routines. Set the trigger to 'PR opened' on your repo. Done.

What the reviewer catches

Security-first reviews
Flag injection vulnerabilities, auth bypass, secret exposure, and insecure dependencies automatically on every diff.
Test coverage analysis
Identify code paths that lack tests — especially edge cases and error branches that slip through manual review.
Performance issues
Catch N+1 queries, unnecessary re-renders, unoptimized loops, and missing indexes before they hit production.
Configurable strictness
Choose between suggestion mode, real-issues-only, or hard-block on critical bugs. No false positives.
Custom conventions
Add your team's specific rules — functional React only, camelCase APIs, no console.log in prod — and Claude enforces them.
Inline + summary comments
Each issue gets an inline comment on the exact line. Every review ends with an overall verdict and a count of blockers vs suggestions.

Common questions

What is a Claude Routine?

Claude Routines are scheduled or event-triggered Claude Code sessions that run automatically on Anthropic Cloud. When a PR is opened on your GitHub repo, the routine fires, reads the diff, and posts review comments — no server needed on your end.

Do I need to install anything?

No. The review runs on Anthropic's infrastructure. You need a Claude account with Routines access and a GitHub repo connected to it. RepoSweeper just generates the prompt.

Will it block my PRs automatically?

That depends on the strictness setting you choose. In 'Block on critical issues' mode the routine can request changes that block merge. In 'Suggest improvements' mode it only leaves comments.

Can I customize what it reviews?

Yes. The wizard lets you choose language, focus areas (security, tests, performance, style, dependencies), strictness level, and any custom conventions like naming rules or framework preferences.

Is my code sent to RepoSweeper?

No. The routine runs entirely inside Claude and GitHub — your code goes directly from GitHub to Claude via the Routine, not through RepoSweeper. RepoSweeper only generates the prompt.

Can I use it on private repos?

Yes, as long as you've connected your private GitHub repo to Claude Routines. Claude Routines support private repos through GitHub OAuth.

Ready to automate your reviews?

Configure your reviewer in 30 seconds, then let Claude handle every PR.

Get started free

No credit card. Requires Claude account with Routines access.