sop_dev
Use this skill when you are a Dev agent and need to produce a technical design document for a feature. Triggers: receiving a…
从 SOP 模板库中选出最匹配当前任务的 SOP,复制为 active_sop.md,通知 Human 确认。
$ npx -y skills add kid0317/crewai_mas_demo --skill sop_selector --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/sop_selectorContext preview
The summary Claude sees to decide when to auto-load this skill.
从 SOP 模板库中选出最匹配当前任务的 SOP,复制为 active_sop.md,通知 Human 确认。
name: sop_selector type: task description: 从 SOP 模板库中选出最匹配当前任务的 SOP,复制为 active_sop.md,通知 Human 确认。
从 SOP 模板库(`/mnt/shared/sop/`)中选出最匹配当前任务的 SOP。
⚠️ 重要:通过 `skill_loader` 加载本 Skill 后,在沙盒中执行以下命令。
cat /mnt/shared/needs/requirements.md
ls /mnt/shared/sop/
**过滤规则**(以下文件不参与选择):
1. **需求分析**:从需求文档中提取关键特征(产品类型、规模、技术约束等) 2. **候选评分**:对每个可用模板评分(0-10分),说明理由 3. **推荐**:选出得分最高的,说明选择理由
cp /mnt/shared/sop/{选中的模板名}.md /mnt/shared/sop/active_sop.mdpython3 /workspace/skills/mailbox/scripts/mailbox_cli.py send \
--mailboxes-dir /mnt/shared/mailboxes \
--from manager \
--to human \
--type sop_confirm \
--subject "SOP 已选定,请确认后继续" \
--content "选定模板:{模板名}\n理由:{选择理由}\n路径:/mnt/shared/sop/active_sop.md"| 文件 | 说明 | |------|------| | `/mnt/shared/sop/active_sop.md` | 本次任务的 SOP(从模板复制) |
SOP 库中必须有至少一个可用模板(非 draft_、非 active_sop.md)。 如果库为空,输出错误信息并终止:「SOP 库为空,请先运行 sop_setup.py 创建 SOP 模板」。
参透 CrewAI 底层逻辑,攻克多 Agent 落地难题 本仓库是《企业级多智能体设计实战》在线视频课程的配套示例代码仓库。
Use this skill when you are a Dev agent and need to produce a technical design document for a feature. Triggers: receiving a…
Use this skill when you are a Manager agent and need to decompose a business requirement into a structured task list. Triggers:…