easyeda-pcb
Installation
SKILL.md
EasyEDA PCB
Drive easyeda-agent typed actions. Run easyeda actions for the live machine-readable
list. Prefer typed actions; only fall back to debug.exec_js when a typed action is
missing and the user explicitly accepts a debug path.
PCB design rules live in the sibling
easyeda-conventionsskill — especiallypcb-layout-conventions.md(placement priority P0–P7, stackup-conditioned decoupling, thermal/SI/DFM/grid rules, each with a data-detectable check). This operational skill links to it — single source, never copy the rules here.
Coordinate system & model (load-bearing)
- Data unit =
1 mil(schematics are10 mil/ 0.01in — different). y-UP: +y renders upward. - Every component is bound to a layer (
TOP/BOTTOM). No left/right mirror — only flip (change layer viapcb.component.modify). - No programmatic undo. Snapshot before/after into the audit log; pull a fresh
primitiveIdright before mutating. pcb.component.deletereturns a boolean meaning "operation completed", not "actually deleted something" — don't rely on it; verify withpcb.components.list.- Layout actions (
align/distribute/grid_snap/components.move/components.arrange) act on the current selection by default; passprimitiveIdsto target a specific set. With nothing selected and noprimitiveIds, they error (0 targets).