esingh25/Claude PR Reviewer
AI-powered pull request review using the Claude API
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 29, 2026
- License
- MIT
Pinned Snippet
uses: esingh25/claude-pr-reviewer@c907be3c561994863ab989065b18b8be17beab39 # v1.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| anthropic-api-key | Anthropic API key used to call Claude | yes | — |
| github-token | Token used to fetch PR diffs and post review comments | no | ${{ github.token }} |
| model | Claude model to use for review | no | claude-sonnet-4-6 |
| max-diff-chars | Maximum diff characters sent to Claude per file | no | 12000 |
| max-files | Maximum number of changed files to review per PR (bounds API cost) | no | 50 |
| enable-cross-file-context | Include excerpts of related files (detected via import/include statements) as extra context for Claude. Sends more file content per review than diffs alone; set to 'false' for privacy-sensitive private repos that want to limit what leaves the org boundary. | no | true |
Outputs
| name | description |
|---|---|
| metrics | JSON record of this review run (repo, PR number, head SHA, model, timestamp, files reviewed, comments posted, severity breakdown, duration). Also written to the job's step summary as a readable markdown block. |