Files
agents/tools/multi-agent-review.md
Seth Hobson ce7a5938c1 Consolidate workflows and tools from commands repository
Repository Restructure:
- Move all 83 agent .md files to agents/ subdirectory
- Add 15 workflow orchestrators from commands repo to workflows/
- Add 42 development tools from commands repo to tools/
- Update README for unified repository structure

This prepares the repository for unified plugin marketplace integration.
The commands repository functionality is now fully integrated, providing
complete workflow orchestration and development tooling alongside agents.

Directory Structure:
- agents/    - 83 specialized AI agents
- workflows/ - 15 multi-agent orchestration commands
- tools/     - 42 focused development utilities

No breaking changes to agent functionality - all agents remain accessible
with same names and behavior. Adds workflow and tool commands for enhanced
multi-agent coordination capabilities.
2025-10-08 08:25:17 -04:00

2.3 KiB

model
model
claude-sonnet-4-0

Perform comprehensive multi-agent code review with specialized reviewers:

[Extended thinking: This tool command invokes multiple review-focused agents to provide different perspectives on code quality, security, and architecture. Each agent reviews independently, then findings are consolidated.]

Review Process

1. Code Quality Review

Use Task tool with subagent_type="code-reviewer" to examine:

  • Code style and readability
  • Adherence to SOLID principles
  • Design patterns and anti-patterns
  • Code duplication and complexity
  • Documentation completeness
  • Test coverage and quality

Prompt: "Perform detailed code review of: $ARGUMENTS. Focus on maintainability, readability, and best practices. Provide specific line-by-line feedback where appropriate."

2. Security Review

Use Task tool with subagent_type="security-auditor" to check:

  • Authentication and authorization flaws
  • Input validation and sanitization
  • SQL injection and XSS vulnerabilities
  • Sensitive data exposure
  • Security misconfigurations
  • Dependency vulnerabilities

Prompt: "Conduct security review of: $ARGUMENTS. Identify vulnerabilities, security risks, and OWASP compliance issues. Provide severity ratings and remediation steps."

3. Architecture Review

Use Task tool with subagent_type="architect-reviewer" to evaluate:

  • Service boundaries and coupling
  • Scalability considerations
  • Design pattern appropriateness
  • Technology choices
  • API design quality
  • Data flow and dependencies

Prompt: "Review architecture and design of: $ARGUMENTS. Evaluate scalability, maintainability, and architectural patterns. Identify potential bottlenecks and design improvements."

Consolidated Review Output

After all agents complete their reviews, consolidate findings into:

  1. Critical Issues - Must fix before merge

    • Security vulnerabilities
    • Broken functionality
    • Major architectural flaws
  2. Important Issues - Should fix soon

    • Performance problems
    • Code quality issues
    • Missing tests
  3. Minor Issues - Nice to fix

    • Style inconsistencies
    • Documentation gaps
    • Refactoring opportunities
  4. Positive Findings - Good practices to highlight

    • Well-designed components
    • Good test coverage
    • Security best practices

Target for review: $ARGUMENTS