# 代码审查模板 name: 代码审查 description: AI 驱动的代码审查流程 — 分析变更、审查质量、通知结果 nodes: analyze: type: ai label: 分析代码变更 config: prompt: | 分析以下代码变更,识别: 1. 潜在 bug 和逻辑错误 2. 安全漏洞 3. 性能问题 4. 代码规范 persona_id: reviewer report: type: ai label: 生成审查报告 config: prompt: 基于分析结果,生成结构化审查报告,含优先级排序的改进建议 notify: type: notify label: 通知完成 config: type: desktop title: 代码审查完成 message: 审查报告已生成 edges: - from: analyze to: report - from: report to: notify