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…
通知 Human 在关键节点介入确认。规定何时通知、何时不通知、通知类型和内容格式。
$ npx -y skills add kid0317/crewai_mas_demo --skill notify_human --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/notify_humanContext preview
The summary Claude sees to decide when to auto-load this skill.
通知 Human 在关键节点介入确认。规定何时通知、何时不通知、通知类型和内容格式。
name: notify_human type: reference description: 通知 Human 在关键节点介入确认。规定何时通知、何时不通知、通知类型和内容格式。
当需要 Human 介入时(需求确认、SOP 审阅、设计审核、异常上报),通知 Human。
**只有 Manager 可以向 human.json 发消息**。
| type | 触发时机 | 说明 | |------|---------|------| | `needs_confirm` | 需求文档写好后 | 请 Human 确认需求是否准确 | | `sop_draft_confirm` | SOP 草稿完成后 | 请 Human 审阅 SOP 设计 | | `sop_confirm` | SOP 选择完成后 | 请 Human 确认选定的 SOP | | `checkpoint_request` | 关键交付物完成后 | 请 Human 审阅产品文档等 | | `error_alert` | 遇到超出权限的异常 | 上报异常,不可自行处理 |
python3 /workspace/skills/mailbox/scripts/mailbox_cli.py send \
--mailboxes-dir /mnt/shared/mailboxes \
--from manager \
--to human \
--type {type} \
--subject "{简洁的主题}" \
--content "{关键路径 + 1-2句说明}"Human 的时间宝贵。消息要简洁:
# 好的通知 ✅ 主题:需求文档(第1轮)待确认 内容:需求文档路径:/mnt/shared/needs/requirements.md # 差的通知 ❌ 主题:请您抽空查看并审阅我们精心整理的需求文档 内容:[把需求文档全文复制进来...]
**不要等待 Human 回复**。发完消息,完成当前能做的事,结束本轮。 Human 会在自己方便的时候通过 `human_cli.py` 确认。 下次运行 `main.py` 时,Manager 检查 human.json 的 `read` 字段判断是否已确认。
python3 /workspace/skills/mailbox/scripts/mailbox_cli.py check-human \
--mailboxes-dir /mnt/shared/mailboxes \
--type needs_confirm返回 `confirmed: true` 表示 Human 已确认,可以继续推进。
参透 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:…