← Back to projects

PR Deep Review Bot

A multi-agent deep PR reviewer that catches cross-file breakage, security vulnerabilities, convention violations, test gaps, and dependency issues that single-pass reviewers miss. Built with claude-agent-sdk as a 3-phase pipeline: triage, parallel specialist analysis, and synthesis.

PR Deep Review Bot architecture: GitHub Action trigger, Haiku triage, parallel Sonnet specialists (cross-file breakage, security, architecture, test gaps, dependencies), Haiku synthesis, confidence-scored PR comments
  • 3-phase pipeline: Triage (haiku, classifies risk and picks specialists) → Specialists (sonnet, run in parallel: cross-file breakage, security, architecture, test gaps, dependencies) → Synthesis (haiku, dedups and formats findings)
  • Confidence scoring: every finding gets a 0-100 score, with configurable per-category thresholds to filter noise
  • Dedup against existing PR comments using semantic matching, not just string comparison
  • Per-repo learnings stored in JSON — specialists receive past findings as context to avoid re-flagging known issues
  • GitHub Action triggers: on-demand via PR comment, or automatic on PR open/synchronize above a configurable changed-files threshold
  • External, versioned prompt templates — editable without code changes
PythonClaude SDKGitHub APITyperPydantic
View code →