docs_for_coding_agent/examples/workflows/04_map_reduce_parallel_subagents/skills/master_planner/SKILL.md
总规划:把一个任务拆解为多个互不依赖子任务,并用 update_plan 同步进度(workflow 示例:Planner 角色)。
npx skillsauth add okwinds/skills-runtime-sdk master_plannerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
把“一个大任务”拆成若干 相互独立、互不影响 的子任务,并形成可审计的计划与拆解产物:
update_plan 记录计划(Plan 是证据链的一部分)file_write 落盘 subtasks.json(子任务定义)$[examples:workflow].master_planner。outputs/<name>.md)update_plan:更新结构化计划(生成 plan_updated 事件)file_write:写入 subtasks.json(写操作通常需要 approvals)subtasks.json 建议结构(示例){
"task_title": "...",
"subtasks": [
{"id": "research", "title": "...", "artifact_path": "outputs/research.md"},
{"id": "design", "title": "...", "artifact_path": "outputs/design.md"}
]
}
update_plan,再 file_write subtasks.jsondocumentation
用结构化流程生成一篇小说:大纲→概要→分章分段→组合→一致性自检。
documentation
用结构化流程写一篇文章:明确目标→大纲→分段写作→润色→一致性与事实自检。
business
规则报告(人类应用示例):汇总输入、规则与产物清单到 report.md。
tools
规则解析(人类应用示例):把自然语言规则转成结构化 plan.json。