/kicad:schematic-designfrom kicad
Executes KiCad schematic placement plans mechanically. Reads a plan file and performs component placement, wiring, and annotation via MCP tools without manual file editing.
Ships in kicad. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
EVERY KiCad operation has a corresponding MCP tool. Do NOT claim a tool does not exist without first listing all available tools. Key tools that MUST be used instead of file writes:
add_symbol — create custom symbol definitions in .kicad_sym filescreate_symbol_library — create new .kicad_sym library filescreate_schematic — create new .kicad_sch filescreate_project — create new .kicad_pro project files
If you find yourself thinking "there's no MCP tool for this," you are
wrong. Check the tool list again.
This skill executes schematic plans mechanically. All intelligence (component selection, coordinate calculation, wiring decisions) happened in prior phases. This skill reads a plan and executes it.
When this skill activates, announce the mode:
Then proceed directly to the pre-flight checks for the appropriate mode. Do not ask the user what to do — the plan or user instructions are the input. Report progress as each placement/wiring step completes, but keep updates brief (one line per step).
Reads specs/schematic-plan.md and executes mechanically. The plan
file is the sole source of truth — ignore prior conversation context
about how the plan was created. Read the plan, execute the plan.
Pre-flight checks:
specs/schematic-plan.md exists and its reviewer returned
APPROVEDset_page_size immediately if
not A4list_lib_symbolsExecution order:
create_project, create_schematic, etc.)create_sym_lib_table)add_symbol)place_component per coordinate table)wire_pins_to_net callannotate_schematic to assign reference designators.
For hierarchical designs, pass project_path to avoid cross-sheet
ref conflicts.validate_hierarchy from root to check
for orphaned labels, direction mismatches, duplicate refs,
junctions and bus entry ends left inside wires, and flags and wire
ends left off the pins of mirrored, rotated parts; for each issue
with a repair, make that call (one with a note instead: see
the verification skill).No plan artifact required. User instructions serve as the plan.
Pre-flight checks:
list_schematic_componentslist_lib_symbols to
verify its lib_id exists before placementFollow existing spacing/wiring/naming conventions in the schematic.
| Situation | Response |
|---|---|
| Symbol not found | STOP. Do not fuzzy-match or substitute. Report the error. If a previously-verified symbol is missing, instruct the user to re-run from circuit-design to re-validate the BOM. |
| Position outside page bounds | STOP. Report error. The plan's page calculation should have prevented this. Instruct the user to re-run schematic-plan. |
| connect_pins fails | Try wire_pins_to_net for that connection. If that fails, report and continue with remaining wiring. |
wire_pins_to_net refuses | Act on the bracketed code, per the table below. |
| ERC violations | Report violations. Invoke verification skill. |
wire_pins_to_net refusalsA refused call writes nothing and lists every refused pin with a
bracketed code, the obstacle and a remedy. Fix the cause and call
again with the same pins. Never work around a refusal with add_label
or add_wires: they check none of this, so they can merge nets
silently.
| Code | Meaning | Do this |
|---|---|---|
validation | An argument is malformed: an empty or padded name, a leading /, ${, a KiCad auto-name such as Net-(...), bus syntax, an unknown direction, a stub not a multiple of 1.27 mm or over 1000 mm | Fix the argument |
resolve | The reference is not on this sheet, the pin does not exist, or a pin name matches pads at different points | Pass the pad numbers the message lists, or wire the pin on the sheet that holds its unit |
names | The pin's net already carries another name | If that name is a Net-(...) label connect_pins wrote, remove it with remove_label as the message says, then call again. If the pin belongs on the net, call again with its name as the message shows it; otherwise stop and report |
touch | Every stub and label position would touch something | Pass another direction, or move the part; otherwise stop and report |
netclass | Wiring would move a net into another net class | Stop and report |
nc_type | The pin is a no-connect type pin | Pick another pin |
nc_flag | The pin has a no-connect flag | If it should be connected, remove_no_connect, then call again |
dup_ref | Another part shares the reference somewhere in the hierarchy, or a sheet of the hierarchy cannot be read, so sharing cannot be ruled out | Give each part its own reference (annotate_schematic numbers ? references), then call again. For an unreadable sheet, stop and report which one the message names |
bus, bus_entry, sheet_pin, text_var, jumper, unit0_unplaced, units_disagree | The pin's net may reach something this tool cannot judge | Stop and report |
derived, unloadable | A symbol on the sheet has pins KiCad's file does not define, or defines twice, or an angle KiCad cannot load | Stop and report |
When auto_place_decoupling_cap meets one of these after placing the
cap, its error says what it left on disk and the calls that remove it;
any library symbol it copied into the file stays, and no net depends on
it.
IMPORTANT: Use TodoWrite to create todos for EACH checklist item below.
specs/schematic-plan.md exists and is APPROVED? refs remaining| Thought | Reality |
|---|---|
| "This pin name is close enough" | Use the exact pin name from the plan. The plan was verified against get_symbol_info. |
| "I can adjust the coordinates slightly" | Use the exact coordinates from the plan. The plan was verified against page bounds. |
| "I'll add an extra component not in the plan" | Do not improvise. If the design needs changes, go back to schematic-plan. |
| "The plan is probably outdated, I'll adapt" | The plan is the source of truth. If it's wrong, re-plan. Don't patch on the fly. |
Run run_erc. Zero violations → proceed to pcb-layout.
Violations → invoke verification skill.
Commit strategy: Commit after schematic-design completes and ERC passes (not after each chunk). If ERC fails, fix violations via verification skill, then commit the clean state. Do not commit intermediate broken states.
All coordinates are on the 1.27mm grid (auto-snapped by the tools).
Minimum spacing (for modification mode and plan verification):
Title block clearance: ~108x32mm at bottom-right corner. On A4 landscape (297x210mm), keep components within X < 180mm and Y < 175mm.
Use connect_pins (direct Manhattan wire) when:
Use wire_pins_to_net (batch: multiple pins to one net label) when:
What wire_pins_to_net writes: a short stub away from each pin with
the label at its end, or the label on the pin end when the stub would
touch something. It never writes a junction, and a pin already on the
net is left alone. Read the result's notes: "new local net" means
nothing on this sheet carried that name, so a power symbol or global
label of that name elsewhere does not join it (use add_power_symbol
or add_global_label to reach those); on a sheet used more than once,
the wiring lands in every instance, and the note names each one.
add_power_symbol for VCC, GND, and named power railswire_pins_to_net for custom power nets (VIN_PROT, 5V_REL, etc.)PWR_FLAG on every power net that would otherwise trigger
"power pin not driven" ERC errorsadd_power_symbol
(lib_id power:PWR_FLAG), once per net that needs it_N (e.g., RESET_N, CS_N)Reading / inspection:
get_schematic_summary — get item counts for a sheetlist_schematic_components — list symbols on a sheetlist_schematic_labels — list net labels on a sheetlist_schematic_wires — list wires on a sheetlist_schematic_global_labels — list global labels on a sheetlist_schematic_hierarchical_labels — list hierarchical labels on a sheetlist_schematic_sheets — list hierarchical sheet blocks on a sheetlist_schematic_junctions — list junctions on a sheetlist_schematic_no_connects — list no-connect flags on a sheetlist_schematic_bus_entries — list bus entries on a sheetget_symbol_pins — get pin names and types for a placed symbolget_pin_positions — get placed pin coordinates (for wiring)get_net_connections — trace a net to see what's connectedlist_unconnected_pins — find pins that need wiring or no-connectPlacing components:
place_component — place a symbol instance on the schematicmove_component: move or turn a placed component. Its fields travel with it, wires stay put and the result names the pins whose connections changed; called at the symbol's own position it turns the symbol in place. Place and move parts before wiring, and after a move reconnect the pins the result names.remove_component — delete a placed componentset_component_property — change reference, value, footprint, etc.set_page_size — resize the schematic sheetadd_lib_symbol — load a symbol from a library into the schematicWiring and connectivity:
connect_pins — direct Manhattan wire between two pinswire_pins_to_net — connect multiple pins to a named net labeladd_wires — add raw wire segments by coordinateadd_label — place a net labeladd_global_label — place a global (cross-sheet) labeladd_junctions — add junction dots at wire intersectionsno_connect_pin — mark a pin as intentionally unconnected (idempotent)remove_no_connect — clear no-connect flag(s) from a pinremove_label / remove_wire / remove_junction — cleanup (labels and global labels)Power and decoupling:
add_power_symbol — place VCC, GND, +3V3, PWR_FLAG, etc.auto_place_decoupling_cap — auto-place a decoupling cap near an ICAnnotations and hierarchy:
add_text — add text annotations to the sheetadd_hierarchical_label — add a hierarchical label for sheet-to-sheet connectionsremove_hierarchical_label — remove a hierarchical label by name or UUIDmodify_hierarchical_label — modify text, shape, or position of a hierarchical labelannotate_schematic — auto-assign reference designators (project server)remove_text — remove text annotations by position or contentHierarchy management (project server):
add_hierarchical_sheet / remove_hierarchical_sheet — create/remove sub-sheet blocksmodify_hierarchical_sheet — change sheet name, file, dimensions (pins, fields and the wires
on pins follow a resize; a size below what the pins need is refused)add_sheet_pin / remove_sheet_pin — manage pins on sheet blocksvalidate_hierarchy — check for orphaned labels/pins, direction mismatches
and junctions and bus entry ends left inside wires, and flags and
wire ends left off the pins of mirrored, rotated parts, with the call
that repairs each where a tool canlist_hierarchy / get_sheet_info — inspect hierarchy structureis_root_schematic — check if a schematic is root or sub-sheetmove_hierarchical_sheet — reposition a sheet block on the canvasreorder_sheet_pages: change the page numbers, and so the page order, of hierarchical sheets
(call it on the root schematic)duplicate_sheet: create a copy of a sheet with new UUIDs and its own part references
(a sheet that has sub-sheets of its own is refused)flatten_hierarchy: write a single flat schematic whose netlist is the hierarchy's; it
refuses, writing nothing, where it could not keep that (bus names on sheet pins or in
sub-sheets, for one)trace_hierarchical_net — trace a net across the hierarchy for debuggingexport_hierarchical_netlist — export netlist with hierarchy info
(use instead of export_netlist for hierarchical designs)add_hierarchical_sheet — create the sub-sheet block on the parentadd_sheet_pin — add pins to the sheet block for each signal crossing the boundary
(an edge with no free slot is refused with the height that fits; grow the sheet with
modify_hierarchical_sheet first)add_hierarchical_label for each pinvalidate_hierarchy — verify pins match labels, no orphansduplicate_sheet: creates a copy with new UUIDs, a new file and its own part references
(the first free number of each prefix), so the copy needs no annotationvalidate_hierarchy from the root: confirms no reference is shared across the copiesannotate_schematic with project_path — assign refs to all ? componentsvalidate_hierarchy from root — check for duplicates, orphans, mismatchesset_component_property to reset to X?, then re-annotaterun_erc — only after validate_hierarchy is cleantrace_hierarchical_net — follow the net across sheet boundariesget_net_connections — check connections on each sheetlist_cross_sheet_nets — see all nets crossing boundariesadd_sheet_pin, add_hierarchical_label, or connect_pinsflatten_hierarchy: merge all sheets into one new file whose netlist is the hierarchy's; the
hierarchy is left alone, and a design it cannot flatten faithfully is refusedmove_hierarchical_sheet — reposition sheet blocks on the parentreorder_sheet_pages on the root: change the page numbers the sheets are ordered byvalidate_hierarchy — verify structure is still validremove_text — delete temporary text annotationsvalidate_hierarchy — check for new orphaned labels or direction mismatchesannotate_schematic — reassign any ? refs introduced during modificationsVerification and export:
run_erc — run electrical rules checkexport_schematic — export schematic as PDF/SVGexport_netlist — generate a netlist file (PCB import itself is update_pcb_from_schematic on the PCB server)export_bom — export bill of materialsSymbol authoring (when a part isn't in KiCad's libraries):
create_symbol_library — create a project-local .kicad_sym fileadd_symbol — define a custom symbol with pins, footprint, datasheetlist_lib_symbols / get_symbol_info — browse available symbolsWhen a part is not in KiCad's built-in libraries, create a custom symbol using MCP tools — NEVER by writing .kicad_sym files directly:
create_symbol_library — create a project-local .kicad_sym file
(if it doesn't exist yet)add_symbol — define the symbol with pin names, pin types, pin
numbers, footprint, and datasheetadd_lib_symbol — load the custom symbol into the schematicAfter completing placement and wiring:
run_erc to check for violationswire_pins_to_net or no_connect_pin
3.5. If components have ? references, run annotate_schematic with
project_path before re-running ERC.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub productofamerica/mcp-server-kicad --plugin kicad6 skills in this plugin
/circuit-designUse when designing an electronic circuit from requirements, choosing topology or regulator type, selecting component values, planning protection circuits, or deciding what goes on a board before schematic capture begins. Also use when the user asks "what components do I need" or "how should I power this."
/pcb-layoutUse when placing footprints on a PCB, routing traces, adding vias or copper zones, deciding trace widths, or planning board layout strategy. Also use when the user asks about PCB stackup, ground planes, trace spacing, or component placement on a board.
/schematic-planUse after circuit-design produces a validated BOM (specs/bom.md) to plan exact component placement coordinates and wiring before schematic capture begins. Pure planning — no file modifications.
/using-kicadUse when starting any conversation involving electronics, KiCad, PCB design, schematic capture, circuit design, or EDA tasks.
/verificationUse when running ERC or DRC checks, fixing electrical or design rule violations, debugging unconnected nets, resolving "power pin not driven" errors, or preparing a design for manufacturing export. Also use when the user says "my ERC has errors" or "DRC is failing."
Other plugins' skills for the same job