with one click
sop-design
技术设计文档 SOP——从需求到设计方案,产出 Markdown 文件到 workspace/demo_agent/output/
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
技术设计文档 SOP——从需求到设计方案,产出 Markdown 文件到 workspace/demo_agent/output/
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Manager 与用户对话澄清需求的思考框架(4 维:goal/boundary/constraint/risk)。当人类消息 classify=new_requirement 时**一定**加载本 skill。逐维评估覆盖度、一次问 2-3 个问题、全覆盖后转 requirements_write。所有'帮我做 X / 新需求'触发都走此 skill。
Manager 扫描并列出已有 SOP 集合的 skill。当用户问'有哪些 SOP / 流程'或 Manager 自检是否需新建 SOP 时**一定**加载本 skill。扫 workspace/manager/skills/sop_* 目录,读每个 SKILL.md frontmatter 的 description,组装成列表。所有'列一下现有流程'触发都走此 skill。
团队邮箱操作(读自己 inbox 或给其他角色发邮件)。直接调用 send_mail / read_inbox / mark_done 工具,不要手动操作 JSON 文件。
QA 在沙盒里执行 qa/test_plan.md 所有用例、收集失败、写 defect 的 skill。当 QA 收到 type=task_assign 且 subject 含'测试执行/run tests'的邮件时**一定**加载本 skill。按 test_plan 跑 pytest → 通过标 pass、失败写 qa/defects/defect_{id}.md → 汇总 qa/test_report.md + task_done。如有 defect,顺带发 task_assign 给 RD 修复。所有'QA 真的跑测试'的时刻走此 skill。
RD 按 tech_design.md 在沙盒里实现代码 + 单测 + 跑 pytest 通过。当 RD 收到 type=task_assign 且 subject 含'实现代码/code'的邮件时**一定**加载本 skill。五层分目录写代码 + 单测 ≥80% 覆盖 + 最多 3 次失败重试 → task_done 回 Manager。所有'开始写 feature code'的时刻走此 skill。
发布博客文章到微信公众号。用户说"发微信"、"发布微信"、"推送微信"、"微信发一下"、"发到公众号"等时触发。
| name | sop_design |
| description | 技术设计文档 SOP——从需求到设计方案,产出 Markdown 文件到 workspace/demo_agent/output/ |
| type | task |
收到功能需求后,按以下 4 步产出设计文档,并将结果写入文件:
用 2-3 句话概括需求的核心目标和边界。
列出 1-2 个关键 API 接口:
列出 1-2 个技术风险或需要和产品确认的问题。
输出要求:
workspace/demo_agent/output/design_doc.md{"errcode": 0, "errmsg": "success", "file_path": "workspace/demo_agent/output/design_doc.md"}