[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-6f97bced-905e-48a0-bca8-0afd690e32ca":3,"$f6esg5wNLQE0Wk9k5z--HdP1ZPaB6DbHpd9kgwF4849g":43},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":34},"6f97bced-905e-48a0-bca8-0afd690e32ca","error-debugging-multi-agent-review","使用时进行错误调试多代理审查","cat_coding_review","mod_coding","sickn33,coding","---\nname: error-debugging-multi-agent-review\ndescription: \"Use when working with error debugging multi agent review\"\nrisk: unknown\nsource: community\ndate_added: \"2026-02-27\"\n---\n\n# Multi-Agent Code Review Orchestration Tool\n\n## Use this skill when\n\n- Working on multi-agent code review orchestration tool tasks or workflows\n- Needing guidance, best practices, or checklists for multi-agent code review orchestration tool\n\n## Do not use this skill when\n\n- The task is unrelated to multi-agent code review orchestration tool\n- You need a different domain or tool outside this scope\n\n## Instructions\n\n- Clarify goals, constraints, and required inputs.\n- Apply relevant best practices and validate outcomes.\n- Provide actionable steps and verification.\n- If detailed examples are required, open `resources\u002Fimplementation-playbook.md`.\n\n## Role: Expert Multi-Agent Review Orchestration Specialist\n\nA sophisticated AI-powered code review system designed to provide comprehensive, multi-perspective analysis of software artifacts through intelligent agent coordination and specialized domain expertise.\n\n## Context and Purpose\n\nThe 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:\n\n- **Depth**: Specialized agents dive deep into specific domains\n- **Breadth**: Parallel processing enables comprehensive coverage\n- **Intelligence**: Context-aware routing and intelligent synthesis\n- **Adaptability**: Dynamic agent selection based on code characteristics\n\n## Tool Arguments and Configuration\n\n### Input Parameters\n- `$ARGUMENTS`: Target code\u002Fproject for review\n  - Supports: File paths, Git repositories, code snippets\n  - Handles multiple input formats\n  - Enables context extraction and agent routing\n\n### Agent Types\n1. Code Quality Reviewers\n2. Security Auditors\n3. Architecture Specialists\n4. Performance Analysts\n5. Compliance Validators\n6. Best Practices Experts\n\n## Multi-Agent Coordination Strategy\n\n### 1. Agent Selection and Routing Logic\n- **Dynamic Agent Matching**:\n  - Analyze input characteristics\n  - Select most appropriate agent types\n  - Configure specialized sub-agents dynamically\n- **Expertise Routing**:\n  ```python\n  def route_agents(code_context):\n      agents = []\n      if is_web_application(code_context):\n          agents.extend([\n              \"security-auditor\",\n              \"web-architecture-reviewer\"\n          ])\n      if is_performance_critical(code_context):\n          agents.append(\"performance-analyst\")\n      return agents\n  ```\n\n### 2. Context Management and State Passing\n- **Contextual Intelligence**:\n  - Maintain shared context across agent interactions\n  - Pass refined insights between agents\n  - Support incremental review refinement\n- **Context Propagation Model**:\n  ```python\n  class ReviewContext:\n      def __init__(self, target, metadata):\n          self.target = target\n          self.metadata = metadata\n          self.agent_insights = {}\n\n      def update_insights(self, agent_type, insights):\n          self.agent_insights[agent_type] = insights\n  ```\n\n### 3. Parallel vs Sequential Execution\n- **Hybrid Execution Strategy**:\n  - Parallel execution for independent reviews\n  - Sequential processing for dependent insights\n  - Intelligent timeout and fallback mechanisms\n- **Execution Flow**:\n  ```python\n  def execute_review(review_context):\n      # Parallel independent agents\n      parallel_agents = [\n          \"code-quality-reviewer\",\n          \"security-auditor\"\n      ]\n\n      # Sequential dependent agents\n      sequential_agents = [\n          \"architecture-reviewer\",\n          \"performance-optimizer\"\n      ]\n  ```\n\n### 4. Result Aggregation and Synthesis\n- **Intelligent Consolidation**:\n  - Merge insights from multiple agents\n  - Resolve conflicting recommendations\n  - Generate unified, prioritized report\n- **Synthesis Algorithm**:\n  ```python\n  def synthesize_review_insights(agent_results):\n      consolidated_report = {\n          \"critical_issues\": [],\n          \"important_issues\": [],\n          \"improvement_suggestions\": []\n      }\n      # Intelligent merging logic\n      return consolidated_report\n  ```\n\n### 5. Conflict Resolution Mechanism\n- **Smart Conflict Handling**:\n  - Detect contradictory agent recommendations\n  - Apply weighted scoring\n  - Escalate complex conflicts\n- **Resolution Strategy**:\n  ```python\n  def resolve_conflicts(agent_insights):\n      conflict_resolver = ConflictResolutionEngine()\n      return conflict_resolver.process(agent_insights)\n  ```\n\n### 6. Performance Optimization\n- **Efficiency Techniques**:\n  - Minimal redundant processing\n  - Cached intermediate results\n  - Adaptive agent resource allocation\n- **Optimization Approach**:\n  ```python\n  def optimize_review_process(review_context):\n      return ReviewOptimizer.allocate_resources(review_context)\n  ```\n\n### 7. Quality Validation Framework\n- **Comprehensive Validation**:\n  - Cross-agent result verification\n  - Statistical confidence scoring\n  - Continuous learning and improvement\n- **Validation Process**:\n  ```python\n  def validate_review_quality(review_results):\n      quality_score = QualityScoreCalculator.compute(review_results)\n      return quality_score > QUALITY_THRESHOLD\n  ```\n\n## Example Implementations\n\n### 1. Parallel Code Review Scenario\n```python\nmulti_agent_review(\n    target=\"\u002Fpath\u002Fto\u002Fproject\",\n    agents=[\n        {\"type\": \"security-auditor\", \"weight\": 0.3},\n        {\"type\": \"architecture-reviewer\", \"weight\": 0.3},\n        {\"type\": \"performance-analyst\", \"weight\": 0.2}\n    ]\n)\n```\n\n### 2. Sequential Workflow\n```python\nsequential_review_workflow = [\n    {\"phase\": \"design-review\", \"agent\": \"architect-reviewer\"},\n    {\"phase\": \"implementation-review\", \"agent\": \"code-quality-reviewer\"},\n    {\"phase\": \"testing-review\", \"agent\": \"test-coverage-analyst\"},\n    {\"phase\": \"deployment-readiness\", \"agent\": \"devops-validator\"}\n]\n```\n\n### 3. Hybrid Orchestration\n```python\nhybrid_review_strategy = {\n    \"parallel_agents\": [\"security\", \"performance\"],\n    \"sequential_agents\": [\"architecture\", \"compliance\"]\n}\n```\n\n## Reference Implementations\n\n1. **Web Application Security Review**\n2. **Microservices Architecture Validation**\n\n## Best Practices and Considerations\n\n- Maintain agent independence\n- Implement robust error handling\n- Use probabilistic routing\n- Support incremental reviews\n- Ensure privacy and security\n\n## Extensibility\n\nThe tool is designed with a plugin-based architecture, allowing easy addition of new agent types and review strategies.\n\n## Invocation\n\nTarget for review: $ARGUMENTS\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,181,1809,"2026-05-16 13:16:54",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"编程开发","coding","mdi-code-braces","代码生成、调试、审查，提升开发效率",2,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":32,"skillCount":33,"createdAt":26},"代码审查","review","mdi-magnify-scan","代码质量分析、安全审查",4,145,[35],{"id":36,"skillId":4,"version":37,"fileName":38,"fileSize":39,"filePath":40,"fileHash":41,"manifest":42,"createdAt":19},"98be21d5-8bb7-4c0a-a71b-67fe394bd484","1.0.0","error-debugging-multi-agent-review.zip",2897,"uploads\u002Fskills\u002F6f97bced-905e-48a0-bca8-0afd690e32ca\u002Ferror-debugging-multi-agent-review.zip","985f9c71768a8fddab4bcfc73710b344e806adae4483cc0bcd2d9b4da7e4af7b","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":7093}]",{"code":44,"message":45,"data":46},200,"success",{"items":47,"stats":48,"page":51},[],{"averageRating":49,"totalRatings":49,"ratingCounts":50},0,[49,49,49,49,49],{"limit":52,"offset":49,"hasMore":53,"nextOffset":52,"ratedOnly":16},15,false]