Multi-Agent Code Review Orchestration Tool
Use this skill when
- Working on multi-agent code review orchestration tool tasks or workflows
- Needing guidance, best practices, or checklists for multi-agent code review orchestration tool
Do not use this skill when
- The task is unrelated to multi-agent code review orchestration tool
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open
resources/implementation-playbook.md.
Role: Expert Multi-Agent Review Orchestration Specialist
A sophisticated AI-powered code review system designed to provide comprehensive, multi-perspective analysis of software artifacts through intelligent agent coordination and specialized domain expertise.
Context and Purpose
The Multi-Agent Review Tool leverages a distributed, specialized agent network to perform holistic code assessments that transcend traditional single-perspective review approaches. By coordinating agents with distinct expertise, we generate a comprehensive evaluation that captures nuanced insights across multiple critical dimensions:
- Depth: Specialized agents dive deep into specific domains
- Breadth: Parallel processing enables comprehensive coverage
- Intelligence: Context-aware routing and intelligent synthesis
- Adaptability: Dynamic agent selection based on code characteristics
Tool Arguments and Configuration
Input Parameters
$ARGUMENTS: Target code/project for review
- Supports: File paths, Git repositories, code snippets
- Handles multiple input formats
- Enables context extraction and agent routing
Agent Types
- Code Quality Reviewers
- Security Auditors
- Architecture Specialists
- Performance Analysts
- Compliance Validators
- Best Practices Experts
Multi-Agent Coordination Strategy
1. Agent Selection and Routing Logic
2. Context Management and State Passing
- Contextual Intelligence:
- Maintain shared context across agent interactions
- Pass refined insights between agents
- Support incremental review refinement
- Context Propagation Model:
class ReviewContext:
def __init__(self, target, metadata):
self.target = target
self.metadata = metadata
self.agent_insights = {}
def update_insights(self, agent_type, insights):
self.agent_insights[agent_type] = insights
3. Parallel vs Sequential Execution
- Hybrid Execution Strategy:
- Parallel execution for independent reviews
- Sequential processing for dependent insights
- Intelligent timeout and fallback mechanisms
- Execution Flow:
def execute_review(review_context):
# Parallel independent agents
parallel_agents = [
"code-quality-reviewer",
"security-auditor"
]
# Sequential dependent agents
sequential_agents = [
"architecture-reviewer",
"performance-optimizer"
]
4. Result Aggregation and Synthesis
- Intelligent Consolidation:
- Merge insights from multiple agents
- Resolve conflicting recommendations
- Generate unified, prioritized report
- Synthesis Algorithm:
def synthesize_review_insights(agent_results):
consolidated_report = {
"critical_issues": [],
"important_issues": [],
"improvement_suggestions": []
}
# Intelligent merging logic
return consolidated_report
5. Conflict Resolution Mechanism
6. Performance Optimization
7. Quality Validation Framework
- Comprehensive Validation:
- Cross-agent result verification
- Statistical confi
1---
2name: performance-testing-review-multi-agent-review
3description: Use when working with performance testing review multi agent review
4category: AI & Agents
5source: antigravity
6tags: [python, ai, agent, workflow, design, security, rag, cro]
7url: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/performance-testing-review-multi-agent-review
8metadata:
9 source: https://skillmd.com/skills/sickn33/performance-testing-review-multi-agent-review
10---
11
12
13# Multi-Agent Code Review Orchestration Tool
14
15## Use this skill when
16
17- Working on multi-agent code review orchestration tool tasks or workflows
18- Needing guidance, best practices, or checklists for multi-agent code review orchestration tool
19
20## Do not use this skill when
21
22- The task is unrelated to multi-agent code review orchestration tool
23- You need a different domain or tool outside this scope
24
25## Instructions
26
27- Clarify goals, constraints, and required inputs.
28- Apply relevant best practices and validate outcomes.
29- Provide actionable steps and verification.
30- If detailed examples are required, open `resources/implementation-playbook.md`.
31
32## Role: Expert Multi-Agent Review Orchestration Specialist
33
34A sophisticated AI-powered code review system designed to provide comprehensive, multi-perspective analysis of software artifacts through intelligent agent coordination and specialized domain expertise.
35
36## Context and Purpose
37
38The Multi-Agent Review Tool leverages a distributed, specialized agent network to perform holistic code assessments that transcend traditional single-perspective review approaches. By coordinating agents with distinct expertise, we generate a comprehensive evaluation that captures nuanced insights across multiple critical dimensions:
39
40- **Depth**: Specialized agents dive deep into specific domains
41- **Breadth**: Parallel processing enables comprehensive coverage
42- **Intelligence**: Context-aware routing and intelligent synthesis
43- **Adaptability**: Dynamic agent selection based on code characteristics
44
45## Tool Arguments and Configuration
46
47### Input Parameters
48- `$ARGUMENTS`: Target code/project for review
49 - Supports: File paths, Git repositories, code snippets
50 - Handles multiple input formats
51 - Enables context extraction and agent routing
52
53### Agent Types
541. Code Quality Reviewers
552. Security Auditors
563. Architecture Specialists
574. Performance Analysts
585. Compliance Validators
596. Best Practices Experts
60
61## Multi-Agent Coordination Strategy
62
63### 1. Agent Selection and Routing Logic
64- **Dynamic Agent Matching**:
65 - Analyze input characteristics
66 - Select most appropriate agent types
67 - Configure specialized sub-agents dynamically
68- **Expertise Routing**:
69 ```python
70 def route_agents(code_context):
71 agents = []
72 if is_web_application(code_context):
73 agents.extend([
74 "security-auditor",
75 "web-architecture-reviewer"
76 ])
77 if is_performance_critical(code_context):
78 agents.append("performance-analyst")
79 return agents
80 ```
81
82### 2. Context Management and State Passing
83- **Contextual Intelligence**:
84 - Maintain shared context across agent interactions
85 - Pass refined insights between agents
86 - Support incremental review refinement
87- **Context Propagation Model**:
88 ```python
89 class ReviewContext:
90 def __init__(self, target, metadata):
91 self.target = target
92 self.metadata = metadata
93 self.agent_insights = {}
94
95 def update_insights(self, agent_type, insights):
96 self.agent_insights[agent_type] = insights
97 ```
98
99### 3. Parallel vs Sequential Execution
100- **Hybrid Execution Strategy**:
101 - Parallel execution for independent reviews
102 - Sequential processing for dependent insights
103 - Intelligent timeout and fallback mechanisms
104- **Execution Flow**:
105 ```python
106 def execute_review(review_context):
107 # Parallel independent agents
108 parallel_agents = [
109 "code-quality-reviewer",
110 "security-auditor"
111 ]
112
113 # Sequential dependent agents
114 sequential_agents = [
115 "architecture-reviewer",
116 "performance-optimizer"
117 ]
118 ```
119
120### 4. Result Aggregation and Synthesis
121- **Intelligent Consolidation**:
122 - Merge insights from multiple agents
123 - Resolve conflicting recommendations
124 - Generate unified, prioritized report
125- **Synthesis Algorithm**:
126 ```python
127 def synthesize_review_insights(agent_results):
128 consolidated_report = {
129 "critical_issues": [],
130 "important_issues": [],
131 "improvement_suggestions": []
132 }
133 # Intelligent merging logic
134 return consolidated_report
135 ```
136
137### 5. Conflict Resolution Mechanism
138- **Smart Conflict Handling**:
139 - Detect contradictory agent recommendations
140 - Apply weighted scoring
141 - Escalate complex conflicts
142- **Resolution Strategy**:
143 ```python
144 def resolve_conflicts(agent_insights):
145 conflict_resolver = ConflictResolutionEngine()
146 return conflict_resolver.process(agent_insights)
147 ```
148
149### 6. Performance Optimization
150- **Efficiency Techniques**:
151 - Minimal redundant processing
152 - Cached intermediate results
153 - Adaptive agent resource allocation
154- **Optimization Approach**:
155 ```python
156 def optimize_review_process(review_context):
157 return ReviewOptimizer.allocate_resources(review_context)
158 ```
159
160### 7. Quality Validation Framework
161- **Comprehensive Validation**:
162 - Cross-agent result verification
163 - Statistical confi