MCPInstall

eda-pcb

PCB layout and routing. Component placement, trace routing, copper pours, design rule configuration, and layout optimization for manufacturability.

Installs
467
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/l3wi/claude-eda --skill eda-pcb
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads eda-pcb automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

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_pcb files
  • 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 netlist
  • docs/component-selections.md - Component details
  • docs/design-constraints.json - Board size, layer count, etc.
  • datasheets/ - For placement/routing recommendations

Produces:

  • hardware/*.kicad_pcb - KiCad PCB file
  • docs/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:

CheckSourceAction if Missing
Schematic ERC cleanschematic-status.mdComplete schematic first
Layer count decideddesign-constraints.jsonSee LAYER-COUNT-DECISION.md
Stackup selecteddesign-constraints.jsonSee STACKUP-DECISION.md
Board dimensionsdesign-constraints.jsonDefine constraints
Critical interfacesdesign-constraints.jsonUSB, SPI speeds, etc.
Thermal budgetdesign-constraints.jsonPower 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:

ConditionWarning
USB + 2-layer boardCannot achieve 90Ω impedance
Buck converter + no ground planeEMI issues likely
WiFi/BLE + 2-layerAntenna performance degraded
High-speed SPI (>20MHz) + long tracesSignal integrity risk
No thermal plan + >1W dissipationThermal issues likely

2. Initialize PCB

  1. Create PCB file or open existing
  2. Import netlist from schematic
  3. Set board outline per constraints
  4. Configure layer stackup
  5. 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:

  1. Fixed position items - Connectors (edge), mounting holes
  2. MCU/Main IC - Central location
  3. Crystal/oscillator - Within 5mm of MCU
  4. Power components - Near input, thermal considerations
  5. Decoupling capacitors - Adjacent to IC power pins
  6. Sensitive analog - Away from noisy digital
  7. Remaining components - Grouped by function

See reference/PLACEMENT-STRATEGY.md for detailed guidelines.

5. Route Critical Signals First

Priority:

  1. Power delivery (wide traces, pours)
  2. Crystal/oscillator (short, guarded)
  3. USB differential pairs (90Ω impedance)
  4. High-speed signals (length matching)
  5. Sensitive analog (away from digital)
  6. 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:

CategoryCheckReference
DRC0 errors, 0 warningsDRC-VIOLATIONS-GUIDE.md
ClearancesMeet manufacturer minimumsDFM-RULES.md
Via sizesDrill ≥ 0.3mm (JLCPCB std)DFM-RULES.md
Annular rings≥ 0.13mm (1oz copper)DFM-RULES.md
Trace widthsPower traces sized for currentROUTING-RULES.md
USB traces90Ω impedance, length matchedHIGH-SPEED-ROUTING.md
SilkscreenNot on pads, readableVisual check
Board outlineClosed shape, proper clearanceDFM-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 solid ground
  • Return paths not broken by splits
  • Crystal area guarded, no traces crossing
  • Antenna keep-out respected (if applicable)

Output Format

pcb-status.md

# 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]

Guidelines

  • Always check datasheets for recommended layouts
  • Keep high-current paths short and wide
  • Maintain ground plane integrity under sensitive signals
  • Consider thermal management early
  • Use the DRC frequently during layout

Reference Documents

DocumentPurpose
reference/PLACEMENT-STRATEGY.mdComponent placement guidelines
reference/ROUTING-RULES.mdTrace width and routing rules
reference/EMI-CONSIDERATIONS.mdEMI/EMC best practices
reference/DFM-RULES.mdDesign for manufacturing rules
reference/DRC-VIOLATIONS-GUIDE.mdCommon DRC errors and fixes
reference/STACKUP-DECISION.mdLayer stackup selection
reference/HIGH-SPEED-ROUTING.mdUSB, SPI, I2C, antenna routing

Upstream documents:

DocumentWhat to Extract
LAYER-COUNT-DECISION.md (eda-architect)Layer count rationale
THERMAL-BUDGET.md (eda-architect)Power dissipation limits
DECOUPLING-STRATEGY.md (eda-research)Cap values and placement
SCHEMATIC-REVIEW-CHECKLIST.md (eda-schematics)Pre-layout verification

Next Steps

After PCB layout is complete:

  1. Run /eda-check for comprehensive validation
  2. Update design-constraints.json stage to "validation"

FAQ

What does the eda-pcb skill do?

PCB layout and routing. Component placement, trace routing, copper pours, design rule configuration, and layout optimization for manufacturability.

How do I install eda-pcb?

Run npx skills add https://github.com/l3wi/claude-eda --skill eda-pcb in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/eda-pcb/ (personal) or .claude/skills/eda-pcb/ (project).

Which AI agents can use eda-pcb?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is eda-pcb safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains eda-pcb?

It is published by l3wi in l3wi/claude-eda. It has 467 recorded installs.

More from l3wi/claude-eda

View all →

eda-schematics

l3wi/claude-eda

Schematic capture and wiring. Create schematic sheets, place symbols, add wires and net labels, organize hierarchical designs.

491 installs

eda-drc

l3wi/claude-eda

Open the skill to read its SKILL.md instructions.

160 installs

eda-architect

l3wi/claude-eda

Open the skill to read its SKILL.md instructions.

135 installs

eda-research

l3wi/claude-eda

Open the skill to read its SKILL.md instructions.

Popular frontend & design skills

View category →

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.1M installs

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1M installs

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design999.2K installs

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design930.5K installs

vercel-react-best-practices

vercel-labs/agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

OfficialFrontend & Design843.1K installs