workflow-code-review
代码评审。协调 5 个专项 reviewer subagent 对代码进行并行多维度审查。可由用户直接触发,也可由主 agent 加载后作为 Judge 执行。
Skill by davidYichengWei
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/davidyichengwei-workflow-code-review
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/workflow-code-review
What's inside
- Skill name
workflow-code-review- Description
- 代码评审。协调 5 个专项 reviewer subagent 对代码进行并行多维度审查。可由用户直接触发,也可由主 agent 加载后作为 Judge 执行。
- License
- MIT
- Instructions
- 212 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Multi-Agent Code Review
你是 **Judge**——编排流程、去重分诊、最终裁决、输出报告。你不是 reviewer,不产出 finding。
## Subagent 清单
| 角色 | subagent_name | 调用方式 |
|------|---------------|----------|
| 性能审查 | `performance-reviewer` | 始终调用 |
| 健壮性审查 | `robustness-reviewer` | 始终调用 |
| 工程规范审查 | `standards-reviewer` | 始终调用 |
| 契约与信任链审查 | `magical-prompt-reviewer` | 始终调用 |
| 需求/设计符合度审查 | `spec-compliance-reviewer` | 始终调用 |
| 对抗性验证 | `review-critic` | 有 finding 时调用 |
## 工作流
### 1. 解析 review 范围
根据用户输入确定审查文件和 diff 来源。若范围不清,先澄清再继续。
- 指定文件/spec/task → 直接使用
- 给出 git diff/commit → 解析变更文件
- 无具体范围 → `git diff --cached` 或 `git diff HEAD`
### 2. 构建共享上下文
- 在 `docs/design-docs/` 下搜索相关 `spec.md` 和 `tasks.md`
- 确定审查文件、上下文文件(caller/callee/接口定义)
- 根据文件类型和目录确定适用 skill
- 提炼与本次 review 相关的 spec/task 摘要
### 3. 并行分派 reviewer
**并行**调用 reviewer subagent。**必须等待所有 reviewer subagent 返回后才能进入 Step 4**——禁止主 agent 自己产出 finding。
**跳过列表**:调用方可在请求中通过 `skip_reviewers: [name1, name2]` 指定要跳过的 reviewer。未指定时全部调用。
每个 reviewer 的 prompt 按以下模板构建:
```
审查以下代码变更,在你的维度内产出候选 finding。
[Review Scope]
- 审查文件:{files_under_review}
- 上下文文件:{context_files 或 None}
- Spec:{spec_path 或 N/A}
- Tasks:{tasks_path 或 N/A}
- 当前 Task:{task_id 或 N/A}
- 适用 skill:{skill_list}
- 变更摘要:{scope_summary}
[Severity]
- P0:应阻止合入(功能错误、数据错误、崩溃、严重并发错误、与 spec 关键偏离)
- P1:应该修复但不一定阻塞(特定条件触发、影响可控但风险明确)
- P2:改进建议(不影响正确性/稳定性/性能基线)
只报你的维度内的问题。其他维度的线索可以用一行 handoff note 提示。
```
### 4. 去重归类 & 输出 Reviewer 意见汇总
收齐结果后:
- 合并同根因 / 同位置 / 同调用链的 finding,保留最高 severity
- 归类整理所有 finding,为每条分配全局唯一编号 `F-{seq}`
**零 finding 快速路径**:若所有 reviewer 均无正式 finding,直接跳到第 7 步输出 PASS 报告。
完成去重后,**立即向用户输出 Reviewer 意见汇总**(让用户看到各维度的原始审查视角):
```markdown
---
## 📋 Reviewer 意见汇总
### 性能审查 (performance-reviewer)
- **F-1** [P1]
- **位置**: `file:line`
- **问题**: [一句话问题摘要]
- **证据**: [支撑该问题的关键代码片段/数据/逻辑推理]
- **F-2** [P2]
- **位置**: `file:line`
- **问题**: [一句话问题摘要]
- **证据**: [支撑该问题的关键代码片段/数据/逻辑推理]
- 💡 **Handoff notes**: [该 reviewer 发现但属于其他维度的线索,无则省略此行]
### 健壮性审查 (robustness-reviewer)
- **F-3** [P0]
- **位置**: `file:line`
- **问题**: [一句话问题摘要]
- **证据**: [支撑该问题的关键代码片段/数据/逻辑推理]
- 💡 **Handoff notes**: ...
### 工程规范审查 (standards-reviewer)
(同上格式,无 finding 则显示"✅ 无发现")
### 契约与信任链审查 (magical-prompt-reviewer)
(同上格式)
### 需求/设计符合度审查 (spec-compliance-reviewer)
(同上格式)
---
```
### 5. 调用 critic & 输出 Critic 意见
将所有 finding 送 critic 做对抗性验证。调用 `review-critic` subagent,**必须等待 critic subagent 返回后才能进入 Step 6**——禁止主 agent 自己做对抗性验证:
```
[Issue 列表]
(逐条列出 F-{seq}、claim、evidence、location、severity、assumptions)
[Review 上下文]From davidYichengWei/agentic-engineering-framework, MIT.
More from davidYichengWei/agentic-engineering-framework
- 0.524score
workflow-code-generation
davidYichengWei
代码文件修改的统一入口。当用户请求任何代码变更(新功能、优化、Bug 修复、重构)时必须首先调用此 skill。仅适用于代码文件(如 .cc/.cpp/.h/.go/.py 等),修改 .md 等非代码文件时不需要调用。它会评估复杂度、检查 spec.md、生成 tasks.md、并逐个任务执行。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
bp-component-design
davidYichengWei
提供组件级设计原则,包括类/模块设计、接口设计、数据模型、并发模型、错误处理。在系统设计阶段讨论组件详细设计时使用,或在 code review 中评估组件质量时使用。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
bp-performance-optimization
davidYichengWei
提供性能优化方法论、设计原则和具体优化规则。在编写代码、优化性能瓶颈、进行 code review 时使用,涵盖 CPU、内存、I/O、并发等维度。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
bp-skill-authoring
davidYichengWei
指导编写和改进 Agent Skill 文件(SKILL.md),涵盖 YAML frontmatter、精简写作、渐进式披露、常用模式。当用户要创建新 Skill、改进现有 SKILL.md、或询问 Skill 编写规范时使用。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
self-refinement
davidYichengWei
将纠错经验沉淀为持久化的 Rules/Skills 更新,构建反馈闭环。当被用户纠正且错误具有模式性时自动触发,或通过 /reflect 命令手动触发回顾。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
std-cpp
davidYichengWei
提供 C++ 编码规范(基于 Google C++ Style Guide)。当编写或 review C++ 代码(.cc/.cpp/.h 文件)时使用。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
std-go
davidYichengWei
提供 Go 编码规范(基于 Google Go Style Guide)。当编写或 review Go 代码(.go 文件)时使用。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
bp-architecture-design
davidYichengWei
提供架构设计原则,包括模块划分、依赖管理、数据架构、接口设计。在系统设计阶段讨论方案概览时使用,或在 code review 中评估架构合理性时使用。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
bp-distributed-systems
davidYichengWei
提供分布式系统设计 best practices(对应常见 fallacies)及各 SDLC 阶段 checklist。当需求涉及网络通信、多节点协调、数据一致性、故障恢复时使用。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
workflow-test-generation
davidYichengWei
测试生成。基于 spec.md 或被测代码,生成单元测试、集成测试、性能测试。当用户请求生成测试、TDD 模式、或 workflow-code-generation 完成后触发。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
workflow-requirements-clarification
davidYichengWei
需求澄清。只负责明确"要解决什么问题",生成 spec.md 的前三章节(背景、目标、需求)。禁止在本阶段讨论设计方案——设计是 workflow-system-design skill 的职责。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
workflow-system-design
davidYichengWei
系统设计。当 spec.md 前三章节(背景、目标、需求)已完整但设计章节为空时调用。按 spec.md 章节顺序逐个与用户讨论,每轮只处理一个 section。
SkillDFreshness: D★ 159Claude Code +9
Signals
- Stars
- 159
- Forks
- 47
- Open issues
- 1
- Last commit (this folder)
- Mar 25, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from davidYichengWei
- 0.524score
workflow-code-generation
davidYichengWei
代码文件修改的统一入口。当用户请求任何代码变更(新功能、优化、Bug 修复、重构)时必须首先调用此 skill。仅适用于代码文件(如 .cc/.cpp/.h/.go/.py 等),修改 .md 等非代码文件时不需要调用。它会评估复杂度、检查 spec.md、生成 tasks.md、并逐个任务执行。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
bp-component-design
davidYichengWei
提供组件级设计原则,包括类/模块设计、接口设计、数据模型、并发模型、错误处理。在系统设计阶段讨论组件详细设计时使用,或在 code review 中评估组件质量时使用。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
bp-performance-optimization
davidYichengWei
提供性能优化方法论、设计原则和具体优化规则。在编写代码、优化性能瓶颈、进行 code review 时使用,涵盖 CPU、内存、I/O、并发等维度。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
bp-skill-authoring
davidYichengWei
指导编写和改进 Agent Skill 文件(SKILL.md),涵盖 YAML frontmatter、精简写作、渐进式披露、常用模式。当用户要创建新 Skill、改进现有 SKILL.md、或询问 Skill 编写规范时使用。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
self-refinement
davidYichengWei
将纠错经验沉淀为持久化的 Rules/Skills 更新,构建反馈闭环。当被用户纠正且错误具有模式性时自动触发,或通过 /reflect 命令手动触发回顾。
SkillDFreshness: D★ 159Claude Code +9 - 0.521score
bp-architecture-design
davidYichengWei
提供架构设计原则,包括模块划分、依赖管理、数据架构、接口设计。在系统设计阶段讨论方案概览时使用,或在 code review 中评估架构合理性时使用。
SkillDFreshness: D★ 159Claude Code +9
Cite this page
workflow-code-review skill. Agent Mart. https://agentmart.dev/skills/davidyichengwei-workflow-code-review (last updated 2026-10-24)