[WIP] Add domain-specialist review agents for pre-push code review#16702
[WIP] Add domain-specialist review agents for pre-push code review#16702jhadvig wants to merge 1 commit into
Conversation
Introduces three Claude Code agent types for domain-specific code review: plugin-api-guardian (SDK breaking changes, changelogs), go-backend-reviewer (Go correctness, security, patterns), and frontend-reviewer (React, i18n, PatternFly, K8s resource handling). Rewrites the pre-push-review skill to use these agents instead of the CodeRabbit + monolithic Claude review approach, reducing review time from 7-30 minutes to seconds. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (4)
👮 Files not reviewed due to content moderation or server errors (4)
Warning Walkthrough skippedFile diffs could not be summarized. 🚥 Pre-merge checks | ❌ 10❌ Failed checks (10 inconclusive)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jhadvig The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@jhadvig: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Summary
.claude/agents/) for domain-specific code review:/pre-push-reviewskill to use these agents instead of the previous CodeRabbit + monolithic Claude approach, reducing review time from 7-30 minutes to secondsDetails
Each agent is a specialist that only reviews files in its domain. The main agent triages the diff, spawns relevant agents in parallel, and synthesizes their findings into a unified report.
plugin-api-guardianfrontend/packages/console-dynamic-plugin-sdk/**frontend-reviewerfrontend/**(excluding SDK)go-backend-reviewerpkg/**,cmd/**,*.goThe simplified
/pre-push-reviewflow:Screenshots / Recordings
N/A — this is a tooling/DX change with no UI impact.
Test plan
/pre-push-reviewon a branch with mixed frontend + backend changes and verify both agents spawn/pre-push-reviewon a frontend-only branch and verify only the frontend agent spawns/pre-push-review --stagedand verify it reviews only staged changes🤖 Generated with Claude Code