In this post
Key takeaways
- An AI review is only as good as the fab capability numbers you feed it; paste the real limits in the prompt.
- Have the AI list every check it made, so you can confirm nothing was skipped.
- Verify flagged clearances, annular rings and hole sizes against the fabricator's published tolerance page yourself.
- AI works well for mechanical parts too: ask it to count CNC operations and flag overhangs in 3D prints.
Every board order is a bet that your design sits inside the fabricator's process window. Design for manufacturing, or DFM, is the practice of catching production problems at the design stage rather than after you pay for boards that fail, and in PCB work it shows up as a set of design guidelines matched to what the fab can actually build, as the DFM overview on Wikipedia explains. An AI assistant can help you run that check, but only if you give it the real numbers.
One thing to understand up front: the assistant knows what DFM means in general, but it does not know your fabricator's limits unless you provide them. Fabricators publish capability pages with exact values, for example JLCPCB's PCB capabilities and PCBWay's manufacturing tolerances. The workflow below treats those pages as the source of truth and the AI as a checker that compares your design against them.
Get the fabricator's numbers first
Before you open a chat window, open the capability page for the exact fab you will order from. Copy the limits that matter for your design into a plain text file. For a typical 2-layer FR4 prototype, that includes minimum trace and space, drill sizes, annular rings, soldermask rules, silkscreen rules, board dimensions and outline clearances.
The two fab pages linked above show why you must use your fab's page and not a generic one. PCBWay lists minimum trace and spacing of 0.1 mm (4 mil) manufacturable, but strongly suggests designing above 6 mil (0.15 mm) to save cost, and its maximum board size is 500 x 1100 mm. JLCPCB's page gives different bounds, such as 2-layer FR4 boards up to 670 x 600 mm, or 1020 x 600 mm in a larger 2-layer size class, and minimum board size of 3 x 3 mm. The same general service runs on different numbers.
Copy the conditional rules too, beyond the headline limits. JLCPCB notes that 0.1 mm microvias are only available on boards 1 mm thick or less and require ENIG or OSP surface finish, that HASL is not supported on FR4 boards of 6 or more layers, boards 0.4 mm or thinner, high-frequency boards, copper-based PCBs and flex, and that black and white soldermask need 0.13 mm pad spacing where green needs 0.10 mm. A generic AI prompt will miss these footnotes.
Have the AI build the checklist
Start by asking the assistant to turn the capability numbers into a structured checklist. Paste the limits and ask for a table with three columns: the rule, the limit, and how to check it in your EDA tool. This step costs nothing and shows you early whether the assistant understood the numbers.
A good checklist separates absolute limits from preferred values. JLCPCB's page does this itself: minimum via hole size is 0.15 mm but the preferred minimum is 0.2 mm, and 0.1 or 0.15 mm holes cost more. PCBWay similarly states its minimum trace of 4 mil but recommends 6 mil. Ask the AI to mark each entry as "will be rejected", "will cost more" or "safe margin", because these are different problems with different fixes.
Then ask the assistant to flag rules that depend on your other choices, such as surface finish or copper weight. Track and spacing limits scale with copper weight: JLCPCB lists 0.10/0.10 mm for 1 oz but 0.16/0.16 mm for 2 oz on 2-layer boards, rising to 0.3/0.3 mm at 4.5 oz. PCBWay's tolerance table shows normal trace and spacing rising from 0.12 mm at 1 oz to 0.25 mm at 4 oz. If you tell the AI your copper weight, it should pull the right row.
Review the design file by file
Your EDA tool's design rule check is still the first pass; AI adds a second pass over the outputs. Export your Gerbers and the drill file, plus a text summary of your stackup, board outline and hole schedule if your tool can generate one. Then ask the assistant to compare specific items against the checklist.
Work in small, concrete queries. Ask: "Here is my hole schedule. Check each hole against a fab that drills 0.15 to 6.3 mm on multilayer boards, with finished hole tolerance +0.13/-0.08 mm, and a recommendation that PTH be at least 0.5 mm to avoid soldermask sticking in the hole. Flag anything near the limits." Small queries are easier for you to verify and harder for the assistant to fumble.
Repeat for the items that most often cause reorders:
- Annular rings: JLCPCB wants at least 0.20 mm PTH annular ring, with 0.25 mm recommended on 2-layer 1 oz boards; PCBWay's minimum is 0.15 mm.
- Copper to board edge: at least 0.2 mm from routed edges and 0.4 mm from V-cut edges at JLCPCB; PCBWay's normal clearance to the profile is 0.3 mm with 0.25 mm as minimum.
- Silkscreen: JLCPCB needs 0.15 mm minimum line width and 1.0 mm minimum text height; PCBWay lists 0.15 mm width and 0.8 mm height, with a preferred width-to-height ratio around 1:5.
- Slots: JLCPCB does not support rectangular holes or slots without rounded corners, and minimum non-plated slot width is 1.0 mm.
Ask the assistant to state, for each item, the exact value from your design, the limit from the capability page, and the margin. If it cannot produce the design value, it is guessing, and you should stop and pull the number yourself.
Make the AI show its work
The failure mode of AI reviews is a confident "looks fine" with no evidence. Guard against it by requiring structure in every answer. Ask for a table of every rule checked, the source value and the pass or fail result, including rules that passed. If the assistant only reports problems, you cannot tell whether it skipped half the checklist.
Ask it to quote the limit it used. A response like "annular ring 0.16 mm, limit 0.15 mm, margin 0.01 mm, result: pass" is checkable. A response like "annular rings are okay" is not. When you have the quote, spot-check it against the capability page you saved, because assistants can misread tables, and both fab pages mix absolute minimums, recommended values and surcharge thresholds in the same rows.
Watch for unit slips. These capability pages mix millimeters and mils throughout, such as JLCPCB's "0.10 / 0.10 mm (4 / 4 mil)" and PCBWay's "0.1mm/4mil". Ask the assistant to convert every value to one unit before comparing, and to show the conversion. A 4 mil trace is fine at one fab's 1 oz limit and a violation at its 2 oz limit, so the copper weight must be part of the same conversation.
Finally, ask what it did not check. A good closing prompt is: "List any rules from the capability page that you could not verify from the files I gave you." That list becomes your manual to-do before ordering.
Check the assembly-side rules too
If the fab will also assemble the boards, the review should cover assembly, not just fabrication. The general principle from the DFM overview is that machine-performed steps such as SMT placement and soldering are cheaper than manual ones, so a design that lets everything go through the reflow oven and pick-and-place line is a cheaper design.
Concretely, ask the assistant to review pad geometry and spacing with the fab's numbers in hand. JLCPCB's page gives minimum SMD pad to pad clearance between different nets of 0.15 mm, a minimum SMD pad of 0.25 x 0.25 mm, and BGA rules including a 0.1 mm pad-to-trace clearance and the requirement that 0.2 to 0.25 mm BGA pads use ENIG. It also warns that trace coils not covered by soldermask need 0.25/0.25 mm width and clearance and ENIG only, due to short-circuit risk with HASL.
Panelization is the other assembly-side decision worth an AI pass. Paste your panel plan and the fab's rules and ask for a check. JLCPCB's V-cut rules include at least 0.4 mm copper clearance from the V-cut line, a 25 degree groove angle, minimum panel size 70 x 70 mm and maximum 475 x 475 mm. For mouse-bite panels it wants 1.6 or 2 mm board spacing, 5 mm tooling edges for assembly at JLCPCB with 2 mm tooling holes and 1 mm fiducials, and a minimum breakaway tab width of 4 mm, or 5 mm with mouse bites.
Use AI for the mechanical parts in the same run
A board usually ships inside machined or printed parts, and the same review pass works there. For CNC parts, the cost driver is time, and the cheapest fix is usually the number of operations, since each flip of the part adds setup, load and program time; the Wikipedia DFM article gives the example of five operations at 1.5 hours each charged against only 30 minutes of actual machining. Ask the AI to look at your part and count how many machine setups the features imply.
Give it the specific geometry rules to check. Cutting tools work best at a length-to-diameter ratio of 3:1 or under, holes should stay under 10:1, undercuts cost more, and radii on edges not in the same plane cost roughly 10 times more than chamfers, according to the same source. Material choice matters too: aluminum and brass machine easily, while steel, stainless and titanium take much longer, and glass or carbon fiber fill in plastics reduces machinability.
For 3D printed enclosures, the key check the AI can do is support structure estimation. Additive parts need temporary supports for overhangs, and removing them adds cost, so designs should limit overhang angles to under the machine's threshold, with the Wikipedia article citing less than 70 degrees from vertical for fused deposition modeling as one such limit. Paste your part description and ask which faces would need supports and how a revised geometry could avoid them.
Keep a per-fab prompt template
Once you have done this once, save it. A template with the fab's capability table, your stackup and copper weight, and the checklist format means the next revision starts from a proven prompt instead of a blank page. Update the capability block when you switch fabs, since the numbers are not portable between them.
A practical template has four parts. First, the capability numbers copied verbatim from the fab page. Second, your design parameters: layer count, thickness, copper weights, surface finish, soldermask color. Third, the data you will paste, such as the hole schedule or net class summary. Fourth, the output format: a table with rule, limit, design value, margin, and result, plus a list of unchecked rules.
Treat the AI's output as a review, not a signoff. The fabricator will run its own checks, and PCBWay lists fly probe testing and automated optical inspection at no extra charge, with design rule checks among its quality control services. Your goal with the AI pass is to fix what you can fix cheaply now, so the fab's review finds nothing worth an email, a delay or a re-spin.
Questions readers ask
Can AI replace my CAD tool's built-in DRC?
No. Use it as a second pass. Your EDA tool's DRC is authoritative for net connectivity; AI is useful for reviewing fab-specific and assembly-specific rules that you supply in the prompt.
What should I paste into the AI prompt besides the design?
The fabricator's published capability table, your stackup, the surface finish you plan to use, and whether the boards will be panelized or assembled by the fab.
Is it safe to paste proprietary design data into an AI assistant?
For client or unreleased work, check your company policy first. You can also do a partial review by pasting just the capability rules and asking the AI to build a checklist, then checking your design yourself.
Which checks does AI miss most often?
Checks that depend on context it cannot see: thermal behavior, impedance targets, and mechanical fit inside an enclosure. Those still need your judgment and measurement.
Sources
- Design for manufacturability - Wikipedia
- PCB Manufacturing & Assembly Capabilities - JLCPCB
- Manufacturing tolerances - PCB Prototype the Easy Way - PCBWay
The AI Hardware Prototyping Stack is a free checklist of tools and prompts.
Circuit Owl Lab wrote this with AI from the sources listed above, and a separate review pass checked its claims against them. Nothing here comes from first-hand testing.