Example Project Gallery and Cookbook
These examples describe safe, repeatable workflows for AI-assisted EasyEDA review. They are documentation examples, not a substitute for human electrical review. Always run read-only inspection before write tools and require explicit confirmation before mutations or exports.
1. MCU development board review
Goal: Review a small MCU board with regulator, USB/programming header, reset, boot mode, and debug pins.
Prompt:
Inspect the active EasyEDA project as an MCU development board. Summarize schematic risks, power tree assumptions, decoupling coverage, programming/debug access, and PCB production readiness. Do not mutate the design.Tool sequence:
easyeda_live_smoke_reporteasyeda_schematic_componentseasyeda_schematic_netseasyeda_bom_generateeasyeda_drc_run/easyeda_erc_runwhen available in the active profile
Safety checkpoints:
- Confirm power nets and ground nets are non-empty.
- Confirm reset and programming nets are named and accessible.
- Confirm write tools are not called unless the user asks for a change plan.
2. Linear or switching regulator board review
Goal: Review input protection, regulator margins, thermal risk, bulk capacitance, and output test access.
Prompt:
Review the active project as a regulator board. Identify input/output voltage assumptions, missing protection, bulk capacitance, and manufacturing/export concerns. Return a severity-ranked checklist.Expected output:
- Power path summary
- BOM availability notes
- Critical nets list
- Thermal and current-budget assumptions clearly marked when unknown
3. USB interface board review
Goal: Review USB connector wiring, ESD protection, differential pair routing assumptions, shield/ground handling, and labeling.
Prompt:
Inspect this project as a USB interface board. Check connector pins, ESD/protection placement assumptions, differential routing risks, and export readiness. Do not place or route anything automatically.Safety checkpoints:
- Treat high-speed routing guidance as review feedback unless a verified PCB write workflow exists.
- Confirm USB data net names before recommending layout changes.
4. Sensor board BOM and sourcing review
Goal: Review a sensor board for lifecycle, stock, footprint/package risk, and substitution caveats.
Prompt:
Generate a BOM review for this sensor board. Flag missing manufacturer data, ambiguous parts, unavailable parts, risky packages, and substitution caveats. Keep vendor data provenance explicit.Expected output:
- BOM table
- Missing or ambiguous MPNs
- Vendor/source freshness notes
- Safe-substitution caveats rather than automatic replacements
5. Manufacturing export preflight
Goal: Prepare a board for fabrication handoff without silently ordering or paying for anything.
Prompt:
Run a manufacturing preflight for the active project. Check export package readiness, manifest expectations, DRC/ERC blockers, and assembly notes. Do not submit quotes or orders.Tool sequence:
- Read-only project inspection
- DRC/ERC review
- Export manifest validation
- Human confirmation before any export tool with write or file-output side effects
Safety checkpoints:
- Quote/order actions require explicit user confirmation and audit.
- Export packages must include hashes and clear generation metadata.
- Any missing board outline, drill, placement, or BOM artifact should block handoff until reviewed.
6. Visual verification after a schematic edit
Goal: After placing a component or drawing a wire, visually confirm the change looks right before continuing — catch overlaps, dangling wires, or misplacements a structural diff alone would miss.
Prompt:
Place a 0603 decoupling capacitor near U1's VCC pin and wire it to VCC and GND. After placing it, capture the area and check the result looks correct before doing anything else.Tool sequence:
easyeda_schematic_place_component/easyeda_schematic_add_wire(withconfirmWrite: true)easyeda_canvas_capture_regionframed around the edited area (oreasyeda_canvas_capturefor the whole visible viewport)- Visually inspect the returned PNG for overlaps, dangling wire ends, or misplacement
- If something looks wrong, use
easyeda_schematic_verify_writeor a follow-up read-only inspection tool to confirm the structural state, then correct it
Safety checkpoints:
easyeda_canvas_capture_regionmoves the user's visible viewport (EasyEDA Pro has no offscreen rendering API) — mention this to the user before use in an interactive session.- Treat the captured image as a visual sanity check, not a substitute for DRC/ERC.
- A capture that fails with
not_available(e.g.PAYLOAD_TOO_LARGE) should fall back to structural inspection tools rather than blocking the whole review.
7. PCB layout review with design-rule citations
Goal: Before finalizing routing, check board-level constraints and cite engineering reference guidance (trace width, clearance, protocol routing, decoupling, DFM) instead of guessing values from memory.
Prompt:
Review the PCB layout for the active project before I finalize routing. For the 5V rail
trace carrying 2A, the USB data pair, and the MCU decoupling, look up the relevant design
rules rather than assuming values, and cite what you found.Tool sequence:
easyeda_pcb_constraint_checkandeasyeda_pcb_production_revieweasyeda_design_rules_lookupwithtopic: 'trace-width'for the 2A raileasyeda_design_rules_lookupwithtopic: 'protocol-routing', protocol: 'usb2'easyeda_design_rules_lookupwithtopic: 'decoupling', category: 'mcu'- Cross-check
easyeda://design-rules/dfm-checklistbefore sign-off
Safety checkpoints:
- Every
easyeda_design_rules_lookupresult includes asourceand acaveat— surface both to the user, don't just report the number. - These are rule-of-thumb estimates, not certified values — flag anything safety-critical (mains-adjacent clearance, high-current traces) for confirmation against the actual standard, the fabricator's capability table, or the target IC's datasheet.
- The
review_layoutMCP prompt encodes this same sequence for reuse.
8. Building a power-rail stage in three tool calls
Goal: Place a regulator with its input/output capacitors and wire the whole stage to named nets as one atomic transaction, instead of one primitive call per component and per pin connection.
Prompt:
Add a 3.3V regulator stage to the active schematic: search for the part, then place it
with its input and output capacitors and wire everything to VIN_5V, VOUT_3V3, and GND.Tool sequence (3 calls total):
easyeda_schematic_search_device— resolve the regulator'sdeviceItem(libraryUuid/uuid)easyeda_schematic_search_device— resolve a generic 0603 ceramic capacitor'sdeviceItem(reused for both the input and output capacitor)easyeda_workflow_power_railwithmode: 'preview'first to inspect the deterministic plan, then again withmode: 'apply', confirmWrite: true— this single call places the regulator plus both capacitors and wires every pin toVIN_5V/VOUT_3V3/GND
Safety checkpoints:
- Always preview before apply: the plan lists every component, its computed placement coordinates, and every pin-to-net connection it will make before anything is written.
- This tool does not select parts for you — it only orchestrates placement and wiring of device items you've already resolved, so a wrong part number is still your responsibility to catch before calling it.
- If apply fails part-way through, newly-placed components/net ports from that same call are rolled back automatically (best-effort) — check the response's
rolled_backandrollback_notesfields rather than assuming a clean state. easyeda_workflow_decouple_icfollows the same pattern for adding decoupling capacitors to an already-placed IC's power pins in one call.
9. Floorplan, autoroute, verify — with a vendor-neutral fallback
Goal: Go from a CircuitIR to a routed, DRC-checked board, without silently reporting success and without getting stuck if the native autorouter is unavailable.
Prompt:
Floorplan the board from this CircuitIR, keeping the connector on the bottom edge and the
regulator on the bottom copper side, then autoroute it and confirm it's actually clean
before telling me it's done.Tool sequence:
easyeda_pcb_floorplanwithmode: 'preview', thenmode: 'apply', confirmWrite: true— places components per CircuitIR physical constraints (keepouts, top/bottom side, connector edge, thermal spacing)easyeda_pcb_autoroutewithconfirmWrite: true— runs a pre-flight constraint check, calls the native autorouter, then a mandatory post-route DRC + constraint report- If
overall_verdictispartialorfailed(or the autorouter reportsnot_available), fall back toeasyeda_pcb_export_route_contextto get a Specctra DSN file for an external autorouter such as FreeRouting, then re-import the routed result through EasyEDA Pro itself
Safety checkpoints:
- Never report "routed" from
overall_verdictalone without also surfacingpost_route_drcandpost_route_constraint_reportto the user — apartialverdict means real issues exist. PCB_Document.autoRoutingis a@betaEasyEDA Pro API — anot_available: trueresponse means try the DSN export fallback, not retry the same call.- Top-side and bottom-side floorplan passes are not cross-checked for collisions — read
floorplan_notesand eyeball the result (e.g. viaeasyeda_canvas_capture) before autorouting.
10. Checking a rail electrically before committing to a layout
Goal: Before placing a regulator stage, get a rough electrical sanity check — does the output land near the target voltage under the expected load — without needing a full schematic simulation setup.
Prompt:
Before you place this 3.3V regulator stage, check that it'll actually hold 3.3V at 500mA
of load from a 5V input.Tool sequence:
easyeda_workflow_power_railwithmode: 'preview'and averifyRailblock (inputVoltage,outputVoltage,loadCurrentA) — attaches averificationfield to the same response, so this doesn't cost an extra tool call- If
verification.availableisfalse, ngspice isn't installed — say so plainly rather than silently skipping the check; the placement plan itself is still valid - Only then proceed to
mode: 'apply', confirmWrite: true
Safety checkpoints:
verificationcomes from a standalone simplified model (ideal source + dropout clamp + output resistance), not a simulation of the literal components you're about to place — always surface thecaveatfield alongside any pass/fail result.- This is a rough sanity check, not a substitute for a real simulation or bench measurement, especially for anything safety-critical or thermally marginal.
easyeda_simulate_operating_point/easyeda_simulate_transientare available directly for more general circuit checks (RC networks, diode/LED current limiting, etc.) beyond the power-rail workflow's built-in hook.
