Loading...
Loading...
PR review with parallel specialized agents. Use when reviewing pull requests or code.
npx skill4agent add yonatangross/skillforge-claude-plugin review-pr/review-pr 123
/review-pr feature-branchOpus 4.6: Parallel agents use native adaptive thinking for deeper analysis. Complexity-aware routing matches agent model to review difficulty.
AskUserQuestion(
questions=[{
"question": "What type of review do you need?",
"header": "Focus",
"options": [
{"label": "Full review (Recommended)", "description": "Security + code quality + tests + architecture"},
{"label": "Security focus", "description": "Prioritize security vulnerabilities"},
{"label": "Performance focus", "description": "Focus on performance implications"},
{"label": "Quick review", "description": "High-level review, skip deep analysis"}
],
"multiSelect": false
}]
)# 1. Create main review task IMMEDIATELY
TaskCreate(
subject="Review PR #{number}",
description="Comprehensive code review with parallel agents",
activeForm="Reviewing PR #{number}"
)
# 2. Create subtasks for each phase
TaskCreate(subject="Gather PR information", activeForm="Gathering PR information")
TaskCreate(subject="Launch review agents", activeForm="Dispatching review agents")
TaskCreate(subject="Run validation checks", activeForm="Running validation checks")
TaskCreate(subject="Synthesize review", activeForm="Synthesizing review")
TaskCreate(subject="Submit review", activeForm="Submitting review")
# 3. Update status as you progress
TaskUpdate(taskId="2", status="in_progress") # When starting
TaskUpdate(taskId="2", status="completed") # When done# Get PR details
gh pr view $ARGUMENTS --json title,body,files,additions,deletions,commits,author
# View the diff
gh pr diff $ARGUMENTS
# Check CI status
gh pr checks $ARGUMENTS| Task | Use | Avoid |
|---|---|---|
| Fetch PR diff | | Reading all changed files individually |
| List changed files | | |
| Search for patterns | | |
| Read file content | | |
| Check CI status | | Polling APIs |
gh pr viewgh pr diffgh pr checkscode-review-playbooksecurity-scanningtype-safety-validationtesting-patterns# Approve
gh pr review $ARGUMENTS --approve -b "Review message"
# Request changes
gh pr review $ARGUMENTS --request-changes -b "Review message"pr-status-enricherORCHESTKIT_PR_URLORCHESTKIT_PR_STATEclaude --from-pr 123
claude --from-pr https://github.com/org/repo/pull/123praise:nitpick:suggestion:issue:question: