pcb-board

Community

Programmatic KiCad board setup and generation

Authorpjcau
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provide a deterministic, programmatic interface to create and update the project's KiCad PCB so the generated board remains canonical and never edited by hand, preventing divergence between PCB and enclosure designs and reducing manual layout errors.

Core Features & Use Cases

  • Edit board outline and corner radius by adjusting BOARD_W, BOARD_H and CORNER_R in scripts/generate_pcb/board.py.
  • Configure the 4-layer stack, design rules and copper zones via primitives.py and routing.py to produce consistent F.Cu, In1.Cu, In2.Cu and B.Cu layers.
  • Move mounting holes, FPC slot cutout and silkscreen labels programmatically and regenerate hardware/kicad/esp32-emu-turbo.kicad_pcb for DRC and DFM checks.

Quick Start

From the project root, regenerate the KiCad PCB by running python3 -m scripts.generate_pcb hardware/kicad to produce the updated hardware/kicad output.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pcb-board
Download link: https://github.com/pjcau/esp32-emu-turbo/archive/main.zip#pcb-board

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.