kukucaicndy/embedded_ai_skills/orchestration
Claude Code and agent skill by kukucaicndy/embedded_ai_skills
- community
Checking that the SKILL.md file is still in the repository.
Multi-agent orchestration pattern for drawing EasyEDA Pro schematics. Invoke when drawing a complete schematic from a design document. Coordinates a main planner agent, per-module drawer sub-agents, and reviewer sub-agents in a check-fix loop.
Install
npx vskill@latest install kukucaicndy/embedded_ai_skills/orchestrationSKILL.md
多 Agent 编排绘制流程
本文档定义完整流程模式的标准编排方式:一个主 Agent 统筹规划 + 每个模块由独立子 Agent 绘制 + 每个模块由另一个子 Agent 检查整改,形成闭环。目的:让 AI 专注于单个电路模块的绘制,避免一次性规划过多导致细节失误。
0. 整体编排模型
核心原则:
- 严格串行:任何时刻只有一个绘制 Agent 在工作,禁止并行放置器件。
- 边界明确:每个绘制 Agent 只负责自己模块的器件和连线,不得触碰其他模块的图元。
- 闭环整改:检查 Agent 不通过 → 主 Agent 整理整改清单 → 绘制 Agent 整改 → 再检查,直到 PASS。
- 人工兜底:每个模块闭环结束后,必须停下等用户确认再进入下一模块。
Phase A: 任务规划(主 Agent 必做)
A.1 阅读设计文档,划分电路模块
把整张原理图按功能切成 N 个独立模块。划分依据:
- 电气功能(核心功能电路、辅助输入、对外接口、电源去耦等)
- 物理布局(同一区域的器件归为一个模块)
- 器件数量(一个模块 3-10 个器件为宜,过多则再拆)
- 信号共享(共享行/列/总线等信号的电路应整体作为一个模块,不按物理行数拆分)
A.2 制定《模块任务卡》
每个模块一份任务卡,包含以下字段(缺一不可):
A.3 制定整张原理图的《全局布局方案》(Zone Plan)
在开始任何放置前,主 Agent 必须先画出 ASCII 区域图,明确每个模块占据的 BBox 和模块之间的安全间距:
安全间距硬性要求:
- 模块间最小间距:≥ 100 单位 (1 inch)
- 模块与 U1 主控最小间距:≥ 150 单位
- 同行/同列器件间距:≥ 50 单位
- 同模块内器件间距:≥ 40 单位
布局方案必须先用 `find-space` 验证可行性:
A.4 计划评审(用户确认)
主 Agent 把 A.1-A.3 的规划成果(模块清单 + 每个任务卡 + Zone Plan)整理成清单发给用户,得到用户确认后才能进入 Phase B。
Phase B: 循环执行(每个模块)
B.1 召唤《绘制子 Agent》
主 Agent 使用 Task 工具召唤一个 general_purpose_task 子 Agent,严格只让它做当前模块的绘制。
召唤模板(直接复制使用,仅替换 <...> 占位符):
./scripts/draw_cli.py check-wire-nets ./scripts/draw_cli.py check-duplicates ./scripts/draw_cli.py check-wire-through ./scripts/draw_cli.py check-overlap ./scripts/draw_cli.py check-unconnected ./scripts/draw_cli.py check-nc-coverage ./scripts/draw_cli.py check-shorts # 短路: 不同网络名连在一起 ./scripts/draw_cli.py check-pin-shorts # 引脚短路: 同器件多引脚在同一网络 (必跑! 最易漏检) ./scripts/draw_cli.py check-wire-conflicts # 导线冲突: 触碰不同网络的导线 ./scripts/draw_cli.py check-redundant-wires # 冗余导线: 同两点间多条导线
要点:模板从 4 个维度强化子 Agent:- 角色定位(资深硬件工程师,有空间想象力和坐标推理能力)- 工作流程(P0→P8 严格串行,每步做什么、跑什么命令)- 硬约束(边界、批量上限、规范禁令)- 返回格式(结构化清单 + 决策说明 + 检查证据)
B.2 召唤《检查子 Agent》
B.1 完成后,主 Agent 不直接接受结果,而是召唤另一个 general_purpose_task 子 Agent 专门做检查。
召唤模板(直接复制使用,仅替换 <...> 占位符):
./scripts/draw_cli.py list-components ./scripts/draw_cli.py verify-placement ./scripts/draw_cli.py verify-wiring ./scripts/draw_cli.py check-wire-nets ./scripts/draw_cli.py check-duplicates ./scripts/draw_cli.py check-wire-through ./scripts/draw_cli.py check-overlap ./scripts/draw_cli.py check-unconnected ./scripts/draw_cli.py check-nc-coverage ./scripts/draw_cli.py check-shorts # 短路: 不同网络名连在一起 ./scripts/draw_cli.py check-pin-shorts # 引脚短路: 同器件多引脚在同一网络 (必跑! 最易漏检) ./scripts/draw_cli.py check-wire-conflicts # 导线冲突: 触碰不同网络的导线 ./scripts/draw_cli.py check-redundant-wires # 冗余导线: 同两点间多条导线
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtools/easyeda-draw/orchestration/skill.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kukucaicndy/embedded_ai_skills/orchestration)