From claude-resources
Fixes SVG files for KiCad PCB import by splitting compound paths with holes, correcting Illustrator DPI scale (72 to 96), and converting CSS styles to inline attributes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-resources:kicad-svg-fixThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Fix SVG files exported from Illustrator (or similar) for clean KiCad PCB import.
Fix SVG files exported from Illustrator (or similar) for clean KiCad PCB import.
<path> elements.1.33350873. Fix: scale all coordinates.<defs>/<style> and CSS classes. Fix: replace with inline stroke/fill attributes.Run the bundled script:
python3 $HOME/.claude/skills/kicad-svg-fix/scripts/fix-svg-for-kicad.py INPUT.svg [OUTPUT.svg] [--scale FACTOR] [--no-scale]
INPUT-fixed.svg (same directory)1.33350873--no-scale: only split compound paths and clean styles, skip scaling--scale 1.5: use custom scale factor| Use case | Layer | Notes |
|---|---|---|
| Board outline | Edge.Cuts | Hole = actual cutout in PCB |
| Silkscreen logo | F.Silkscreen | KiCad draws strokes, not fills |
| Copper shape | F.Cu | Use filled zones instead |
If the script doesn't cover a specific case:
pip install svg2mod
svg2mod -i input.svg -o output.kicad_mod
Converts SVG directly to KiCad footprint (.kicad_mod), handles holes better than native SVG import.
npx claudepluginhub takazudo/claude-resources --plugin claude-resourcesEdits and creates KiCad 6+ schematic (.kicad_sch) files: modify values, add/remove components, update connections, and generate schematic content from specs or ASCII diagrams.
Creates, edits, reviews, and validates high-quality SVG graphics with W3C compliance, CSS independence, accessibility, and safety.
Routes 17 KiCad MCP tools for schematic creation, PCB layout, autorouting, DRC, and Gerber export. Enforces serialized PCB ops and library-first lookup.