plugins/embedded-dev/skills/auditing-pcb-design/SKILL.md
Runs KiCad DRC/ERC checks, exports gerbers and BOM, and generates a structured findings report. Use when reviewing PCB designs, running design rule checks, or preparing manufacturing outputs.
npx skillsauth add qte77/claude-code-plugins auditing-pcb-designInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Target: $ARGUMENTS
Run KiCad design rule checks and export manufacturing outputs.
Read these before proceeding:
references/kicad-cli-reference.md — DRC/ERC commands, JSON output schema, gerber/BOM exportDetect kicad-cli — Verify kicad-cli is available, report version
Find project files — Glob for *.kicad_pro, *.kicad_sch, *.kicad_pcb
Run ERC on schematic:
kicad-cli sch erc --output erc-report.json --format json <schematic.kicad_sch>
Run DRC on PCB:
kicad-cli pcb drc --output drc-report.json --format json <pcb.kicad_pcb>
Parse JSON reports — Categorize violations by severity (error/warning/exclusion)
If clean (no errors), export manufacturing outputs:
kicad-cli pcb export gerbers --output gerbers/ <pcb.kicad_pcb>kicad-cli pcb export drill --output gerbers/ <pcb.kicad_pcb>kicad-cli sch export bom --output bom.csv <schematic.kicad_sch>Generate findings report at docs/pcb-audit-report.md
# PCB Audit Report: <Project Name>
## Tool Version
kicad-cli <version>
## ERC Results
- Errors: N
- Warnings: N
- <violation description> @ <sheet:component>
## DRC Results
- Errors: N
- Warnings: N
- <violation description> @ <coordinates>
## Manufacturing Outputs
- [ ] Gerbers exported to gerbers/
- [ ] Drill files exported to gerbers/
- [ ] BOM exported to bom.csv
## Recommendations
...
documentation
Generate or update README.md files across three scopes — repo (with project-type detection), account (GitHub user profile), and org (organization profile). Use when creating, updating, or aligning a README to org conventions.
development
Audit README.md files against best practices for repos, accounts, or orgs. Detects missing sections, stale links, inconsistent formatting, and convention violations. Use when reviewing README quality across one or many repos.
development
Analyzes industry websites for design patterns, layout, typography, and content strategies using first-principles thinking. Use when researching website design, UI patterns, or competitive design analysis.
development
Audits website usability for UX optimization, covering forms, navigation, validation, and microcopy. Use when reviewing user experience, task completion flows, or interface friction points.