Launch a multi-reviewer parallel code review with specialized review dimensions
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-agents-0aec1d1441d7 ,按照其中的说明把「team-review」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Orchestrate a multi-reviewer parallel code review where each reviewer focuses on a specific quality dimension. Produces a consolidated, deduplicated report organized by severity.
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 is set$ARGUMENTS:
<target>: file path, directory, git diff range (e.g., main...HEAD), or PR number (e.g., #123)--reviewers: comma-separated dimensions (default: security,performance,architecture)--base-branch: base branch for diff comparison (default: main)git diff {range} --name-only to get changed filesgh pr diff {number} --name-only to get changed filesTeamCreate tool to create the team with team_name: "review-{timestamp}" and descriptionAgent tool to spawn a teammate:
name: {dimension}-reviewer (e.g., "security-reviewer")subagent_type: "agent-teams:team-reviewer"prompt: Include the dimension assignment, target files, and diff contentTaskCreate for each reviewer's task:
TaskList periodically)Present consolidated report:
## Code Review Report: {target}
Reviewed by: {dimensions}
Files reviewed: {count}
### Critical ({count})
[findings...]
### High ({count})
[findings...]
### Medium ({count})
[findings...]
### Low ({count})
[findings...]
### Summary
Total findings: {count} (Critical: N, High: N, Medium: N, Low: N)
Send shutdown_request to all reviewers
Call TeamDelete to remove team resources