Loading...
Loading...
PCB layout and routing. Component placement, trace routing, copper pours, design rule configuration, and layout optimization for manufacturability.
npx skill4agent add l3wi/claude-eda eda-pcb.kicad_pcbhardware/*.kicad_schdocs/component-selections.mddocs/design-constraints.jsondatasheets/hardware/*.kicad_pcbdocs/pcb-status.md@docs/design-constraints.json
@docs/component-selections.md
@docs/schematic-status.md
@datasheets/ (for placement guidance)| Check | Source | Action if Missing |
|---|---|---|
| Schematic ERC clean | schematic-status.md | Complete schematic first |
| Layer count decided | design-constraints.json | See |
| Stackup selected | design-constraints.json | See |
| Board dimensions | design-constraints.json | Define constraints |
| Critical interfaces | design-constraints.json | USB, SPI speeds, etc. |
| Thermal budget | design-constraints.json | Power dissipation known |
{
"board": {
"layers": 4,
"thickness": 1.6,
"dimensions": {"width": 50, "height": 40}
},
"dfmTargets": {
"manufacturer": "JLCPCB",
"minTraceWidth": 0.15,
"minClearance": 0.15,
"impedanceControl": true
},
"interfaces": {
"usb": true,
"highSpeedSpi": false
},
"thermal": {
"maxPowerDissipation": 2.5
}
}| Condition | Warning |
|---|---|
| USB + 2-layer board | Cannot achieve 90Ω impedance |
| Buck converter + no ground plane | EMI issues likely |
| WiFi/BLE + 2-layer | Antenna performance degraded |
| High-speed SPI (>20MHz) + long traces | Signal integrity risk |
| No thermal plan + >1W dissipation | Thermal issues likely |
JLCPCB standard:
- Min trace width: 0.127mm (5mil)
- Min clearance: 0.127mm (5mil)
- Min via drill: 0.3mm
- Min via annular ring: 0.13mmreference/PLACEMENT-STRATEGY.mdreference/ROUTING-RULES.md| Category | Check | Reference |
|---|---|---|
| DRC | 0 errors, 0 warnings | |
| Clearances | Meet manufacturer minimums | |
| Via sizes | Drill ≥ 0.3mm (JLCPCB std) | |
| Annular rings | ≥ 0.13mm (1oz copper) | |
| Trace widths | Power traces sized for current | |
| USB traces | 90Ω impedance, length matched | |
| Silkscreen | Not on pads, readable | Visual check |
| Board outline | Closed shape, proper clearance | |
# PCB Layout Status
Project: [name]
Updated: [date]
## Board Specifications
- Size: X × Y mm
- Layers: N
- Thickness: 1.6mm
## Progress
- [x] Board outline defined
- [x] Mounting holes placed
- [x] Critical components placed
- [x] All components placed
- [ ] Power routing complete
- [ ] Signal routing complete
- [ ] Copper pours added
- [ ] DRC clean
## Layer Usage
| Layer | Usage |
|-------|-------|
| F.Cu | Signals, components |
| B.Cu | GND pour, some signals |
## DRC Status
- Errors: X
- Warnings: Y
- Unrouted nets: Z
## Design Rules
- Trace width: 0.2mm (signals), 0.5mm (power)
- Clearance: 0.2mm
- Via: 0.3mm drill, 0.6mm pad
## Notes
- [Any special considerations]
## Next Steps
- [What remains to be done]| Document | Purpose |
|---|---|
| Component placement guidelines |
| Trace width and routing rules |
| EMI/EMC best practices |
| Design for manufacturing rules |
| Common DRC errors and fixes |
| Layer stackup selection |
| USB, SPI, I2C, antenna routing |
| Document | What to Extract |
|---|---|
| Layer count rationale |
| Power dissipation limits |
| Cap values and placement |
| Pre-layout verification |
/eda-checkdesign-constraints.json