agentleFS
telagodtelagod/code-abyss/skills/operating-kicad-eda/SKILL.md

operating-kicad-eda

Skill242 starsChanged 5 months agoMITView on GitHub

KiCad EDA orchestration via kicad-mcp MCP server. Routes 17 tools for schematic creation, PCB layout, autorouting, DRC, and Gerber export. Enforces serialized PCB ops, library-first lookup, and autoroute-only routing.

The file

Files
SKILL.md

Operating KiCad EDA

判断先于执行:决定「是否做 / 选什么 / 如何取舍」(栈、方案、架构、权衡)前,先读领域判断内核 skills/_kernel/hardware/SKILL.md——它管 judgment,本秘典管 execution;冲突时以内核判断为准。

MCP tool router for KiCad 9. Never guess, never hand-route, never parallelize PCB writes.

When to use

ScenarioUseApproach
Create schematic from design docYesschematic() operations
Generate PCB from schematicYesbuild_pcb_from_schematic
Route a PCBYesautoroute(operation="run") only
Fix DRC violationsYesdrc(operation="autofix")
Export manufacturing filesYesexport() Gerber/BOM/render
Hand-place a single traceNOLLM traces violate clearances

Iron rules

  1. NEVER hand-route — pcb(add_trace/add_via) produces DRC-failing garbage. Use autoroute(operation="run").
  2. NEVER guess names — footprint and symbol names change between KiCad versions. Always library(operation="search") first.
  3. SERIALIZE PCB ops — MCP PCB tools do load/modify/save. Parallel calls corrupt the .kicad_pcb file.
  4. VERIFY after changes — drc(operation="run") + audit(operation="all") before declaring done.

MCP tool routing table

TaskMCP ToolOperation
Search partslibrarysearch
Create/edit schematicschematiccreate_symbol, add_wire, add_label
Build PCB from schematicbuild_pcb_from_schematic— (standalone)
Place footprintspcbplace_footprint
Set board outlinepcbset_board_outline
Add zones (copper pour)pcbadd_zone
Auto-routeautorouterun
Run DRCdrcrun
Auto-fix DRCdrcautofix
Export Gerberexportgerber
Export BOMexportbom
3D renderexportrender
Estimate board sizeestimate_board_size— (standalone)
Suggest placementsuggest_placement— (standalone)
Full auditauditall

Standard pipeline

1. library(search) → find symbols and footprints
2. schematic(create_symbol) → place all components
3. schematic(add_wire/add_label) → connect nets
4. [Python] footprint injection script → fix kicad-cli lookup
5. build_pcb_from_schematic → initial PCB
6. pcb(set_board_outline) → product form factor
7. suggest_placement or pcb(place_footprint) → position components
8. autoroute(run) → FreeRouter
9. drc(run) → check
10. drc(autofix) → fix violations
11. pcb(add_zone) → GND copper pour both layers
12. export(gerber) → manufacturing files
13. export(render) → 3D views

References

TopicFile
KiCad 9 parse quirkskicad9-quirks.md
DRC fix strategiesdrc-strategies.md
Footprint injectionfootprint-injection.md

Exit criteria

  • ERC: 0 errors (warnings acceptable)
  • DRC: 0 violations
  • All nets routed (no unconnected)
  • Gerber zip exportable

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.