What this agent helps you do
A CodeRabbit and GitHub review remediation agent turns review findings into concrete pull request work. CodeRabbit supplies AI review observations and risk hints, while GitHub supplies the diff, checks, review comments, labels, files, and author context needed to prioritize them.
When to use this workflow
Use it before merge, after large automated review runs, during release hardening, or when authors need a clean checklist instead of a long review thread.
How CodeRabbit and GitHub give the agent context
Connect both plugins and provide the pull request, branch, or release-critical change set. CodeRabbit should provide candidate findings; GitHub should validate whether each finding matters in the actual diff, tests, checks, and review state. Keep PR comments, labels, and requested changes approval-based.
Example starter prompt
Review CodeRabbit findings for this GitHub pull request, inspect the surrounding diff, checks, tests, and comments, then prepare a remediation checklist grouped by must-fix, should-fix, and optional. Do not comment on the PR without approval.
Suggested workflow steps
Start with CodeRabbit findings, then inspect the relevant GitHub files and comments for context. Have the agent remove duplicates, confirm whether tests already cover the concern, group items by risk, and draft a concise author response.
Expected handoff
Ask for must-fix items, optional improvements, suggested tests, unresolved questions, source links, and an approval-ready PR comment or status update.