agentsclimarketplace

Auditing pcb design

Skill qte77/claude-code-plugins/plugins/embedded-dev/skills/auditing-pcb-design

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.From its SKILL.md

Install
npx -y skills add qte77/claude-code-plugins --skill auditing-pcb-design

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
  • runs commandsInstructs the agent to run 5 commands, including `kicad-cli sch erc --output erc-report.json --format json <schematic.kicad_sch>` and 4 more.

SKILL.md

2.3 KB, 517 tokens by cl100k_base, as published. Nobody here has run it

PCB Design Audit

Target: $ARGUMENTS

Run KiCad design rule checks and export manufacturing outputs.

References (MUST READ)

Read these before proceeding:

  • references/kicad-cli-reference.md — DRC/ERC commands, JSON output schema, gerber/BOM export

Workflow

  1. Detect kicad-cli — Verify kicad-cli is available, report version

  2. Find project files — Glob for *.kicad_pro, *.kicad_sch, *.kicad_pcb

  3. Run ERC on schematic:

    kicad-cli sch erc --output erc-report.json --format json <schematic.kicad_sch>
    
  4. Run DRC on PCB:

    kicad-cli pcb drc --output drc-report.json --format json <pcb.kicad_pcb>
    
  5. Parse JSON reports — Categorize violations by severity (error/warning/exclusion)

  6. If clean (no errors), export manufacturing outputs:

    • Gerbers: kicad-cli pcb export gerbers --output gerbers/ <pcb.kicad_pcb>
    • Drill: kicad-cli pcb export drill --output gerbers/ <pcb.kicad_pcb>
    • BOM: kicad-cli sch export bom --output bom.csv <schematic.kicad_sch>
  7. Generate findings report at docs/pcb-audit-report.md

Output Format

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

Rules

  • Never export gerbers if DRC has unresolved errors
  • Report all warnings even if they are excluded in KiCad
  • Include exact coordinates/references for every DRC/ERC finding
  • Do not modify KiCad project files — this is a read-only audit

What ships with it: 1 file

3.9 KB alongside SKILL.md

references/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.