eda-pcb
БесплатноБез исполняемых скриптовНе проверенPCB layout and routing. Component placement, trace routing, copper pours, design rule configuration, and layout optimization for manufacturability.
от l3wi★ 21 звезда на GitHubОб этом скилле
EDA PCB Skill
PCB layout, component placement, and routing.
Auto-Activation Triggers
This skill activates when:
- User asks to "layout PCB", "place components", "route traces"
- User is working with
.kicad_pcbfiles - User asks about placement, routing, copper pours, vias
- Project has schematic but no PCB layout
- User mentions DFM, trace width, or clearance
Context Requirements
Requires:
hardware/*.kicad_sch- Completed schematic with netlistdocs/component-selections.md- Component detailsdocs/design-constraints.json- Board size, layer count, etc.datasheets/- For placement/routing recommendations
Produces:
hardware/*.kicad_pcb- KiCad PCB filedocs/pcb-status.md- Layout progress tracking
Workflow
1. Load Context
@docs/design-constraints.json
@docs/component-selections.md
@docs/schematic-status.md
@datasheets/ (for placement guidance)
1.5 Pre-Layout Validation
Before starting layout, verify:
| Check | Source | Action if Missing |
|---|---|---|
| Schematic ERC clean | schematic-status.md | Complete schematic first |
| Layer count decided | design-constraints.json | See LAYER-COUNT-DECISION.md |
| Stackup selected | design-constraints.json | See STACKUP-DECISION.md |
| Board dimensions | design-constraints.json | Define constraints |
| Critical interfaces | design-constraints.json | USB, SPI speeds, etc. |
| Thermal budget | design-constraints.json | Power dissipation known |
Extract key constraints:
{
"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
}
}
Architecture Validation Warnings:
| 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 |
2. Initialize PCB
- Create PCB file or open existing
- Import netlist from schematic
- Set board outline per constraints
- Configure layer stackup
- Set design rules
3. Configure Design Rules
Set rules appropriate for manufacturer:
JLCPCB standard:
- Min trace width: 0.127mm (5mil)
- Min clearance: 0.127mm (5mil)
- Min via drill: 0.3mm
- Min via annular ring: 0.13mm
4. Place Components
Priority order:
- Fixed position items - Connectors (edge), mounting holes
- MCU/Main IC - Central location
- Crystal/oscillator - Within 5mm of MCU
- Power components - Near input, thermal considerations
- Decoupling capacitors - Adjacent to IC power pins
- Sensitive analog - Away from noisy digital
- Remaining components - Grouped by function
See reference/PLACEMENT-STRATEGY.md for detailed guidelines.
5. Route Critical Signals First
Priority:
- Power delivery (wide traces, pours)
- Crystal/oscillator (short, guarded)
- USB differential pairs (90Ω impedance)
- High-speed signals (length matching)
- Sensitive analog (away from digital)
- General signals
See reference/ROUTING-RULES.md for trace width and clearance guidelines.
6. Create Copper Pours
- GND pour on bottom layer (2-layer)
- Or GND on layer 2, power on layer 3 (4-layer)
- Thermal relief on pads
- Stitch vias for plane continuity
7. Route Remaining Signals
- Follow schematic groupings
- Minimize vias
- Avoid acute angles (use 45°)
- Keep trace lengths reasonable
8. DRC Check
- Run design rule check
- Fix violations
- Document intentional exceptions
9. Visual Review
- Generate board images
- Check silkscreen readability
- Verify component orientation marks
- Review for manufacturing issues
10. Pre-Manufacturing Review
Validation checklist before ordering:
| Category | Check | Reference |
|---|---|---|
| DRC | 0 errors, 0 warnings | DRC-VIOLATIONS-GUIDE.md |
| Clearances | Meet manufacturer minimums | DFM-RULES.md |
| Via sizes | Drill ≥ 0.3mm (JLCPCB std) | DFM-RULES.md |
| Annular rings | ≥ 0.13mm (1oz copper) | DFM-RULES.md |
| Trace widths | Power traces sized for current | ROUTING-RULES.md |
| USB traces | 90Ω impedance, length matched | HIGH-SPEED-ROUTING.md |
| Silkscreen | Not on pads, readable | Visual check |
| Board outline | Closed shape, proper clearance | DFM-RULES.md |
Thermal verification:
- Power components have thermal relief
- Thermal vias under QFN/thermal pads
- Heat sink areas connected to copper pour
- No thermal bottlenecks (narrow traces for high current)
Signal integrity verification:
- High-speed signals over sol
Установить eda-pcb в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteGlobmcp__kicad-pcb__create_projectmcp__kicad-pcb__open_projectmcp__kicad-pcb__save_projectmcp__kicad-pcb__get_project_infomcp__kicad-pcb__set_board_sizemcp__kicad-pcb__add_layermcp__kicad-pcb__set_active_layermcp__kicad-pcb__get_board_infomcp__kicad-pcb__get_layer_listmcp__kicad-pcb__add_board_outlinemcp__kicad-pcb__add_mounting_holemcp__kicad-pcb__add_board_textmcp__kicad-pcb__add_zonemcp__kicad-pcb__get_board_extentsmcp__kicad-pcb__get_board_2d_viewmcp__kicad-pcb__place_componentmcp__kicad-pcb__move_componentmcp__kicad-pcb__rotate_componentmcp__kicad-pcb__delete_componentmcp__kicad-pcb__edit_componentmcp__kicad-pcb__find_componentmcp__kicad-pcb__get_component_propertiesmcp__kicad-pcb__group_componentsmcp__kicad-pcb__add_netmcp__kicad-pcb__route_tracemcp__kicad-pcb__add_viamcp__kicad-pcb__add_copper_pourmcp__kicad-pcb__set_design_rulesmcp__kicad-pcb__get_design_rulesmcp__kicad-pcb__run_drcВложенные файлы
FAQ
Что делает скилл eda-pcb?
PCB layout and routing. Component placement, trace routing, copper pours, design rule configuration, and layout optimization for manufacturability.
Как установить скилл eda-pcb?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл eda-pcb запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic