PR Review Agent

Automatically review GitHub PRs with AI-powered code analysis via webhook triggers.

Set up a GitHub webhook that fires on pull_request events. The agent spawns a coding sub-agent to fetch the diff, analyze code quality, security issues, and style, then posts inline review comments on GitHub.

Tags: github, code-review, devops, automation, webhook

Category: devops

Tips

  • Use Claude Sonnet for best code review quality
  • Set max file size limits to avoid token waste