← Commit history

Ask for the user’s manufacturer before selecting and loading fabrication rules

John Lauer ·e43b2fafde ·1mo ago ·parent e30a75c
1 file changed +10
skills/eda-electrical-routing/SKILL.md+10
@@ -64,6 +64,16 @@ Record a net-by-net highlighted tour of the chosen regions and explain both the For a thermal plot with a cool distant lobe or a narrow copper neck, read `eda-thermal-bottlenecks` and reroute suitable obstructing traces before accepting the thermal allocation.  +## Ask which manufacturer to use++Before routing or changing fabrication rules, check whether the user has already chosen a manufacturer and process in this conversation or the project requirements. Honor that choice without asking again. Otherwise, discover available profiles from `adom/pcb-design-rules` (or the selected bridge's rule-profile listing) and ask:++“Who would you like to manufacture this board? I can automatically load and verify the matching design rules—for example, InstaPCB, JLCPCB or PCBWay. You can also name another manufacturer or keep the current rules for now.”++Offer only manufacturers with available profiles as automatic-loading choices. Explain briefly that the choice affects trace widths, clearances, drills/vias and other fabrication limits. Do not silently default to InstaPCB or choose the smallest limits. If the user is undecided, retain and label the current rules as provisional; continue inspection while waiting, and defer manufacturer-dependent route generation or rule replacement until a choice is made.++Once selected, resolve the profile for the actual layer count, process and copper assumptions. Ask a focused follow-up only if a missing process choice materially changes the rules. Load it through the selected CAD bridge, export/read back the active rules, and report the profile and meaningful limits before routing. Preserve stricter electrical and user constraints. If no compatible profile exists, explain what is missing and obtain a supplied or authoritative profile rather than inventing one. Switching manufacturers later requires revalidation of the existing board and may require rerouting.+ ## Select and verify the fabrication profile  Before calculating routes, find the selected manufacturer's current process/layer-count profile in [adom/pcb-design-rules](https://wiki.adom.inc/adom/pcb-design-rules). Verify stackup and copper/process assumptions against the actual board. Use the selected bridge's rule-import workflow, export the active rules, and compare their values, scopes and enabled states with the selected profile. Native tools may add default rules; distinguish those from a failed import.