eda-drc — Claude Code skill: DRC and ERC checks in KiCad
eda-drc runs ERC and DRC on a KiCad project, checks the results against your constraints and part stock, then writes a readiness report.
no license 162 installs ★ 21 updated 2026-01-01
npx skills add l3wi/claude-eda --skill eda-drc -a claude-codeWhat eda-drc does
Use it as the last pass before you order boards. The skill calls the KiCad MCP server for ERC on the schematic and DRC on the layout, compares what comes back with docs/design-constraints.json, pulls stock and price for the chosen parts on LCSC, and writes it all into docs/validation-report.md. Ask it to check the design or whether fabrication is safe, and it takes over.
Five scopes drive it: /eda-check schematic, /eda-check pcb, /eda-check components, /eda-check manufacturing, plus /eda-check full to run everything. The report opens with a PASS/FAIL table per block, then lists critical errors, warnings and the sign-off boxes. Notes on frequent faults and fab capabilities ship with the skill.
You need hardware/*.kicad_sch, hardware/*.kicad_pcb, docs/design-constraints.json and docs/component-selections.md in place. The kicad-pcb and jlc MCP servers have to be connected too, because DRC runs and stock lookups go through them.
What it helps with
- catch clearance and trace-width violations before the board is ordered
- confirm every chosen part is in stock at LCSC
- produce a PASS/FAIL summary you can sign off on
- check Gerbers, BOM and the position file against fab limits
- spot unconnected power pins while the schematic is still easy to change
Example prompts for the agent
- Run
/eda-check fulland list every violation - Do
/eda-check pcband walk me through the DRC errors - Check stock for the parts in
docs/component-selections.mdwith/eda-check components
How to install eda-drc
1Skills CLI (Vercel)
npx skills add l3wi/claude-eda --skill eda-drc -a claude-code2Manually: put the files in place
~/.claude/skills/eda-drc/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/eda-drc/
1Skills CLI (Vercel)
npx skills add l3wi/claude-eda --skill eda-drc -a codex2Manually: put the files in place
.agents/skills/eda-drc/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add l3wi/claude-eda --skill eda-drc -a cursor2Manually: put the files in place
.cursor/skills/eda-drc/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install l3wi/claude-eda templates/claude/skills/eda-drc2Manually: put the files in place
.github/skills/eda-drc/SKILL.md1Skills CLI (Vercel)
npx skills add l3wi/claude-eda --skill eda-drc -a gemini-cli2Platform CLI
gemini skills install https://github.com/l3wi/claude-eda --path templates/claude/skills/eda-drcManually: put the files in place
.devin/skills/eda-drc/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add l3wi/claude-eda --skill eda-drc -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about eda-drc
How do I install eda-drc in Claude Code?
Run npx skills add l3wi/claude-eda --skill eda-drc -a claude-code. That puts the skill at ~/.claude/skills/eda-drc/SKILL.md.
What does eda-drc do?
It runs ERC and DRC on a KiCad project, checks the results against your constraints and part stock, and writes docs/validation-report.md.
Which MCP servers does it need?
kicad-pcb to run DRC and read the design rules, and jlc for LCSC stock and pricing. Automated checks do not run without them.