pbansal-monotype/AI PR Reviewer

AI-powered PR review with configurable company guidelines for security, testing, performance, cost, and custom checks

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
providerAI provider to use: "anthropic", "openai", or "azure"yesanthropic
api_keyAPI key for the AI provider. If not set, reads from ANTHROPIC_API_KEY, OPENAI_API_KEY, or AZURE_API_KEY secret automatically based on provider.no""
azure_endpointAzure OpenAI endpoint URL (required when provider is "azure"). Accepts the full deployment URL (e.g. https://<resource>.cognitiveservices.azure.com/openai/deployments/<deployment>/chat/completions?api-version=...) or just the bare resource URL. Can also be set via the AZURE_ENDPOINT env var.no""
modelModel to use. For Azure, this is the deployment name (e.g. "gpt-5.4-nano"). For Anthropic: "claude-sonnet-4-20250514". For OpenAI: "gpt-4o".no""
github_tokenGitHub token for accessing PR data and posting comments. Defaults to the built-in GITHUB_TOKEN.no${{ github.token }}
review_categoriesComma-separated list of categories to review: security,tests,performance,code,customnosecurity,tests,performance,code
security_guidelinesCustom security review guidelinesno""
test_guidelinesCustom test case review guidelinesno""
performance_guidelinesCustom performance review guidelinesno""
code_guidelinesCustom code quality review guidelines (error handling, correctness, patterns)no""
repo_contextRepository overview — tech stack, architecture, key files, conventions. Sent alongside PR data so agents understand the codebase.no""
review_policyReview policy and standards — coding rules, compliance requirements, team conventions. Injected into every agent system prompt.no""
ignore_pathsComma-separated glob patterns for files to skip (e.g. "**/migrations/**,**/*.generated.ts")no""
incremental_reviewEnable incremental reviews — only review new changes since the last reviewed commit (true/false). Requires a state store to persist the last reviewed SHA.notrue
state_storeWhere to persist review state for incremental reviews. "comment-marker" embeds state in the PR review comment (zero config). "gist" stores state in a GitHub Gist (requires state_gist_id). "none" disables state persistence.nocomment-marker
state_gist_idGitHub Gist ID for state persistence when state_store is "gist". Create a gist with any content and paste its ID here.no""
namedescription
review_bodyThe full review text generated by the AI
has_critical_issuesWhether critical issues were found (true/false)
categories_reviewedComma-separated list of categories that were reviewed
findings_countNumber of structured findings returned by the AI