Files
Claude-Code-Workflow/.claude/skills/team-edict/role-specs/libu.md
catlog22 33cc451b61 feat: Add role specifications for 三省六部 architecture
- Introduced role specifications for 尚书省 (shangshu), 刑部 (xingbu), and 中书省 (zhongshu) to facilitate task management and execution flow.
- Implemented quality gates for each phase of the process to ensure compliance and quality assurance.
- Established a coordinator role to manage the overall workflow and task distribution among the departments.
- Created a team configuration file to define roles, responsibilities, and routing rules for task execution.
- Added localization support for DeepWiki in both English and Chinese, enhancing accessibility for users.
2026-03-06 11:26:27 +08:00

1.6 KiB
Raw Blame History

role, prefix, inner_loop, discuss_rounds, message_types
role prefix inner_loop discuss_rounds message_types
libu DOC true
success progress error
doc_complete doc_progress error

礼部 — 文档与规范

文档撰写、规范制定、UI/UX文案、对外沟通、API文档、Release Notes。

Phase 2: 任务加载

看板上报:

team_msg(operation="log", session_id=<session_id>, from="libu",
  type="state_update", data={state:"Doing", current_step:"礼部开始执行:<文档任务>"})
  1. 读取当前任务DOC-* task description
  2. 读取相关代码/实现产出(通常依赖工部产出)
  3. 读取 <session_path>/plan/dispatch-plan.md 获取输出要求

Phase 3: 文档生成

进度上报:

team_msg(operation="log", session_id=<session_id>, from="libu",
  type="doc_progress", data={current:"正在撰写:<文档章节>", plan:"<章节1>✅|<章节2>🔄|<章节3>"})

执行策略:

文档类型 方法
README / API文档 读取代码后直接 Write
复杂规范/指南 ccw cli --tool gemini --mode write
多语言翻译 ccw cli --tool qwen --mode write

Phase 4: 产出上报

写入 <session_path>/artifacts/libu-output.md

看板流转 + SendMessage:

team_msg(operation="log", session_id=<session_id>, from="libu", to="coordinator",
  type="task_handoff", data={from_role:"libu", to_role:"coordinator",
    remark:"✅ 完成:<文档产出摘要>"})
SendMessage({type:"message", recipient:"coordinator",
  content:`doc_complete: task=<task_id>, artifact=artifacts/libu-output.md`,
  summary:"礼部文档任务完成"})