From ac-qa
Reviews GitHub PRs with parallel agents for expected changes validation, security audit, code quality checks via linters, test execution, and logic analysis.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ac-qa:gh-pr-reviewThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Review the GitHub pull request with comprehensive validation using multi-agent orchestration.
Review the GitHub pull request with comprehensive validation using multi-agent orchestration.
https://github.com/owner/repo/pull/123)tmp/mux/{date}-{uuid}/PR-{PR_NUMBER}-{UUID}.md)$1tmp/mux/{date}-{uuid}/Use gh CLI to gather PR information:
gh pr view <PR_NUMBER> --json title,body,author,state,baseRefName,headRefName,files,additions,deletions,commits
gh pr diff <PR_NUMBER>
gh pr view <PR_NUMBER> --json comments,reviews
gh pr checks <PR_NUMBER>
Store PR metadata for agent context.
Use the Task tool to spawn 5 agents in parallel. Each agent writes findings to its output file.
Subagent type: general-purpose
Task: Compare PR diff against expected changes: $2
{OUTPUT_DIR}/01_expected_changes.mdSubagent type: general-purpose
Task: Security review of PR diff
{OUTPUT_DIR}/02_security.mdSubagent type: general-purpose
Task: Code quality review of PR diff
{OUTPUT_DIR}/03_code_quality.mdSubagent type: general-purpose
Task: Discover and run tests from PR
{OUTPUT_DIR}/04_tests.mdSubagent type: general-purpose
Model: opus (requires deep reasoning)
Task: Critical evaluation of logic changes and bug introduction risk
For each issue found:
[SEVERITY] - [Category]
Location: file:line
Issue: [description]
Why it's a bug: [reasoning]
Fix suggestion: [if applicable]
{OUTPUT_DIR}/05_logic_bugs.mdAfter ALL agents complete:
{OUTPUT_DIR}/*.mdCreate report at: $3 or tmp/mux/{date}-{uuid}/PR-{PR_NUMBER}-{UUID}.md
# PR Review: #{PR_NUMBER}
**URL**: {PR_URL}
**Title**: {PR_TITLE}
**Author**: {AUTHOR}
**Branch**: {HEAD} -> {BASE}
**Review Session**: {UUID}
**Date**: {TIMESTAMP}
---
## Executive Summary
{Overall assessment: APPROVE / REQUEST_CHANGES / NEEDS_DISCUSSION}
### Scores
| Category | Score | Status |
|----------|-------|--------|
| Expected Changes Alignment | X/10 | {emoji} |
| Logic & Bug Risk | X/10 | {emoji} |
| Security | X/10 | {emoji} |
| Code Quality | X/10 | {emoji} |
| Tests | X/10 | {emoji} |
---
## Detailed Findings
### Expected Changes
{From Agent 1}
### Logic & Bug Risk (CRITICAL)
{From Agent 5 - This section requires careful review}
#### Logic Issues Found
{List of logic correctness problems}
#### Potential Bugs Introduced
{List of bug risks with severity and reasoning}
#### Impact Assessment
{Downstream effects and contract changes}
### Security
{From Agent 2}
### Code Quality
{From Agent 3}
### Test Results
{From Agent 4}
---
## PR Review Comments
| File | Line | Severity | Comment |
|------|------|----------|---------|
| path/file.py | 42 | ERROR | Issue description |
---
## PR Review Message
{Copy-paste ready message for GitHub PR comment}
### Recommendation
- APPROVE: Ready to merge
- REQUEST_CHANGES: Must address before merge
- COMMENT: No blocking issues
---
## Next Steps
{Actionable recommendations}
Output summary to user:
PR REVIEW COMPLETE
PR: #{PR_NUMBER} - {TITLE}
Report: {REPORT_PATH}
Top Issues:
{Critical findings}
Proposed Actions:
1. Post review: gh pr review {PR_NUMBER} --comment --body-file {REPORT}
2. Request changes: gh pr review {PR_NUMBER} --request-changes
3. Approve: gh pr review {PR_NUMBER} --approve
Which action?
npx claudepluginhub waterplanai/agentic-config --plugin ac-qaReviews GitHub pull requests for bugs, security, performance, and code quality issues with severity-based feedback.
Reviews GitHub pull requests or git diffs (staged changes/files) by delegating to specialist agents for code quality, security, performance, and documentation in parallel.
Reviews GitHub pull requests using parallel subagents for CLAUDE.md compliance, bugs, git history context, past feedback, and code comment adherence.