一键导入
review-work
Multi-specialist collaborative work review using independent subagents for comprehensive analysis
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Multi-specialist collaborative work review using independent subagents for comprehensive analysis
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Generate professional git commit message based on changes
Generate focused documentation for components, functions, APIs, and features
Use when designing or architecting Elixir/Phoenix/LiveView applications, creating comprehensive project documentation, planning OTP supervision trees, defining domain models, structuring multi-app projects with path-based dependencies, or preparing handoff documentation for Director/Implementor AI collaboration
Multi-specialist collaborative analysis to understand how features, functions, or components work
基于 SOC 职业分类
| name | review-work |
| description | Multi-specialist collaborative work review using independent subagents for comprehensive analysis |
| allowed-tools | Bash, Grep, Read, Glob, LS, Task |
| argument-hint | [optional file/area to focus on] |
Execute a multi-specialist work review using independent subagents.
Usage: /review-work-agent [optional file/area to focus on]
Arguments: Optional specific file path or area to focus the review on
Execute this multi-specialist review using the Task tool to create independent subagents:
First, analyze the work type and determine 4-6 specialist roles needed. Then launch parallel subagents using the Task tool, including a parallel Codex "Fresh Eyes" review:
Example Implementation:
// Launch parallel specialist subagents
Task 1: "Code Quality Specialist"
- Prompt: "As a code quality specialist, review [target] by running git diff/git status, examining code for readability, maintainability, design patterns, and project conventions. Focus on framework-specific patterns, language idioms, and overall code structure based on the detected file types."
Task 2: "Security Engineer"
- Prompt: "As a security engineer, analyze [target] by examining git changes for vulnerabilities, exposed secrets, input validation issues, SQL injection risks, and XSS protection. Check authentication and authorization patterns."
Task 3: "Performance Analyst"
- Prompt: "As a performance analyst, evaluate [target] changes for efficiency, database query optimization, React re-renders, algorithmic complexity, and scalability concerns using git diff analysis."
Task 4: "Test Coverage Specialist"
- Prompt: "As a test coverage specialist, assess [target] for testing adequacy, edge cases, integration points, and Playwright E2E testing needs. Use Tidewave MCP for Ecto schema analysis if applicable."
Task 5: "Codex Fresh Eyes Review" (PARALLEL)
- MCP: codex
- Prompt: "Review these git changes from scratch without specialist bias. Focus on overall design decisions, architectural consistency, alternative approaches, and anything that feels 'off' from a fresh perspective. What patterns do you recognize from similar codebases that might indicate future issues?"
[Additional specialists as needed based on file types...]
Each subagent operates independently with access to git analysis, file reading, and MCP tools.
Specialist Selection Criteria:
After receiving all specialist reports, launch a second round of subagents:
Use the Task tool to launch subagents that:
1. Review all other specialists' findings for intersections and conflicts
2. Identify systemic issues spanning multiple domains
3. Cross-validate findings from their specialist perspective
4. Flag integration risks and broader impact
5. Assess collective severity of identified issues
After specialist synthesis, launch final Codex review:
Task: "Codex Synthesis Challenge"
- MCP: codex
- Input: All specialist findings + initial synthesis
- Prompt: "Review this multi-specialist analysis. What patterns do you see differently? What risks weren't considered? How would you re-prioritize these findings? Challenge the assumptions and provide alternative perspectives from your different training set."
For all rounds:
Each specialist should evaluate against these standards:
Moderator Responsibilities:
Specialist Guidelines:
=== MULTI-AGENT WORK REVIEW: [Target] ===
Files: [X] changed, +[Y] lines, -[Z] lines | Specialists: [Dynamic assignment]
--- ROUND 1 ---
🔍 SPECIALIST ANALYSIS
[Each specialist's git diff analysis and domain findings]
🧠 CODEX FRESH EYES
[Independent Codex perspective on changes and design decisions]
🎯 CROSS-VALIDATION
[Specialists engage with and validate each other's findings]
⚖️ INTEGRATION ASSESSMENT
[Overall coherence and systemic issue identification]
🔄 CODEX META-ANALYSIS
[Codex challenges to specialist synthesis and alternative perspectives]
--- PRIORITIZED FINDINGS ---
🚨 CRITICAL ISSUES (must fix before commit)
- Security vulnerabilities
- Breaking changes
- Data loss risks
- Performance regressions
⚠️ WARNINGS (should fix)
- Code quality issues
- Missing error handling
- Incomplete implementations
- Test coverage gaps
💡 SUGGESTIONS (consider improving)
- Code style improvements
- Better naming conventions
- Refactoring opportunities
- Documentation additions
--- ACTIONABLE RECOMMENDATIONS ---
🎯 IMMEDIATE ACTIONS
[Concrete steps for critical issues with file:line references and fix examples]
📋 IMPROVEMENT PLAN
[Structured approach for addressing warnings and suggestions]
⚠️ REMAINING CONCERNS
[Issues requiring further investigation or discussion]
Execute the multi-agent work review starting with git analysis and dynamic specialist assignment based on detected changes.
$ARGUMENTS
Begin the multi-agent work review now, examining recent changes and launching appropriate specialists.