chore: 添加 /review skill,多 agent 并行代码审查 - #6
Conversation
安全/逻辑/架构三维度并行审查,支持本地变更和 PR review。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Claude finished @lishuceo's task in 2m 14s —— View job Code Review:
|
|
|
||
| ## 多 Agent 并行审查 | ||
|
|
||
| 使用 TeamCreate 创建审查团队,启动 **3 个并行 agent**,每个专注一个维度。 |
There was a problem hiding this comment.
🟡 Warning (Confidence: 90)
TeamCreate is not a real Claude Code tool or feature. This reference will either be ignored or cause confusion during execution.
The correct mechanism for spawning parallel agents from within a skill is the Task tool with subagent_type. When multiple Task tool calls are made in a single message, they run in parallel automatically.
| 使用 TeamCreate 创建审查团队,启动 **3 个并行 agent**,每个专注一个维度。 | |
| 使用 Task 工具启动 **3 个并行 agent**(在同一条消息中发起多个 Task 调用即可并行),每个专注一个维度。 |
- 移除 disable-model-invocation 让 skill 出现在可用列表中 - 补充 untracked 文件发现逻辑,审查范围更完整 - 增加初始仓库(0/1 commit)的边界处理 - 增加无效参数校验和用法提示 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Claude finished @lishuceo's task in 1m 9s —— View job Code Review:
|
|
|
||
| ## 多 Agent 并行审查 | ||
|
|
||
| 使用 TeamCreate 创建审查团队,启动 **3 个并行 agent**,每个专注一个维度。 |
There was a problem hiding this comment.
🟡 Warning (Confidence: 90)
TeamCreate is still not a real Claude Code tool. This was flagged in the previous review and remains unfixed after the latest commit.
The correct mechanism for parallel agent execution is the Task tool with subagent_type. When multiple Task tool calls are made in a single response message, they run in parallel automatically.
| 使用 TeamCreate 创建审查团队,启动 **3 个并行 agent**,每个专注一个维度。 | |
| 使用 Task 工具启动 **3 个并行 agent**(在同一条消息中发起多个 Task 调用即可并行),每个专注一个维度。 |
* chore: 添加 /review skill,多 agent 并行代码审查 安全/逻辑/架构三维度并行审查,支持本地变更和 PR review。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: 完善 review skill 边界处理和参数校验 - 移除 disable-model-invocation 让 skill 出现在可用列表中 - 补充 untracked 文件发现逻辑,审查范围更完整 - 增加初始仓库(0/1 commit)的边界处理 - 增加无效参数校验和用法提示 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
.claude/skills/review/SKILL.md,输入/review启动多 agent 并行代码审查Test plan
/review审查本地变更/review <PR号>审查指定 PR🤖 Generated with Claude Code