feat: Claude PR Reviewer agent — structured Markdown code reviews#513
Open
FraktalDeFiDAO wants to merge 1 commit intoclaude-builders-bounty:mainfrom
Open
feat: Claude PR Reviewer agent — structured Markdown code reviews#513FraktalDeFiDAO wants to merge 1 commit intoclaude-builders-bounty:mainfrom
FraktalDeFiDAO wants to merge 1 commit intoclaude-builders-bounty:mainfrom
Conversation
- CLI tool: claude-review --pr <URL> for structured PR reviews - AI-powered analysis via Claude (Anthropic API) - Template fallback mode (pattern detection, no API key needed) - Structured Markdown output: summary, risks, suggestions, confidence - --post flag to comment directly on PR - --output flag to save review to file - Claude Code agent config (agents/pr-reviewer.md) - GitHub Action workflow (.github/workflows/pr-review.yml) - Tested on 3 real PRs (TypeScript, Deno, Next.js) Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔍 Claude PR Reviewer Agent
What this does
A Claude Code sub-agent that takes a PR diff as input, analyzes it, and returns a structured Markdown review comment.
Acceptance Criteria Met
claude-review --pr https://github.com/owner/repo/pull/123.github/workflows/pr-review.ymlArchitecture
Two Modes
ANTHROPIC_API_KEY): Sends diff to Claude for deep analysisUsage
Test Outputs
See
test-outputs/for real PR review samples:typescript-review.md— microsoft/TypeScript#63364deno-review.md— denoland/deno#33224nextjs-review.md— vercel/next.js#92576