---
title: PCB Design Skills for Claude Code
canonical: https://skillselion.com/guides/pcb-design-skills-claude-code
content_type: text/markdown
description: "The leading PCB skill is zener-language from diodeinc/pcb (1,746 installs, 471 GitHub stars), which writes schematics as code."
---

# PCB Design Skills for Claude Code: Schematics, Simulation and Firmware

Title: PCB Design Skills for Claude Code

> The leading PCB skill is zener-language from diodeinc/pcb (1,746 installs, 471 GitHub stars), which writes schematics as code.

Canonical: https://skillselion.com/guides/pcb-design-skills-claude-code

The leading PCB skill is zener-language from diodeinc/pcb (1,746 installs, 471 GitHub stars), which writes schematics as code; spice-sim (1,307 installs) simulates them with ngspice. tscircuit (1,177 installs) is the React route to Gerbers. For firmware, embedded-systems has 6,918 installs.

## Key facts

- Last updated: October 31, 2026

## Article

Claude Code can now design a circuit board, not just the firmware that runs on it, as long as the board is described in code. Two code-first PCB tools, Diode's Zener language and tscircuit, ship their own agent skills, and a separate set of embedded skills handles flashing and debugging. The [Developer tools category](/category/dev-tools) holds the rest of this tooling.

## Key takeaways

- diodeinc/pcb is the leading PCB skill repo, with 471 GitHub stars; its [zener-language skill](/skills/diodeinc/pcb/zener-language) has 1,746 installs (skills.sh registry, GitHub).
- [spice-sim](/skills/diodeinc/pcb/spice-sim) (1,307 installs) adds an ngspice simulation testbench to a Zener design and writes plots to SVG.
- [tscircuit](/skills/tscircuit/skill/tscircuit) (1,177 installs) builds boards as React and TypeScript, then exports Gerbers, BOM and pick-and-place files.
- For firmware, [embedded-systems from jeffallan/claude-skills](/skills/jeffallan/claude-skills/embedded-systems) has 6,918 installs in a repo with 12,144 GitHub stars.
- zhinkgit/embeddedskills (775 GitHub stars) wraps J-Link, OpenOCD, probe-rs and serial monitors so Claude can flash and debug real boards.

## Can Claude Code design a PCB?

Yes, when the schematic is code. Agents work through text, so the PCB skills with real usage target hardware description languages: zener-language alone has 1,746 installs (skills.sh registry). Diode's [pcb skill](/skills/diodeinc/pcb) writes schematics in Zener, a Starlark-based language, and uses the `pcb` CLI to search parts and read datasheets into markdown. tscircuit takes the same idea into React: a board is an `index.circuit.tsx` file with components, nets and traces.

## What is the best Claude Code skill for PCB design?

zener-language from diodeinc/pcb is the most-installed PCB skill, with 1,746 installs and 471 GitHub stars (skills.sh registry, GitHub). It is the canonical reference for `.zen` files: module loading, `io()` and `config()` API design, nets, interfaces and power domains, and it tells Claude to look up package APIs with `pcb doc` instead of guessing. Install it with:

`npx skills add https://github.com/diodeinc/pcb --skill zener-language`

The same repo adds [registry-search](/skills/diodeinc/pcb/registry-search) (563 installs) for finding vetted modules and components before hand-picking parts, and [librarian](/skills/diodeinc/pcb/librarian) (542 installs), which forbids inventing datasheet facts or untrusted footprints and runs `pcb build` and `pcb bom` before it calls a part done. The repo was pushed on 2026-10-31 (GitHub).

![Diode, the team behind the Zener PCB language and skills](https://github.com/diodeinc.png?size=200)

## How do you simulate a circuit with Claude?

Use spice-sim from diodeinc/pcb (1,307 installs, skills.sh registry). It wires [ngspice](https://ngspice.sourceforge.io/) into a Zener design through the `pcb sim` command: Claude first runs a dummy setup check, then attaches vendor SPICE models, writes a `.control` block with transient analysis and PULSE or PWL sources, and saves plots to `testbench/output/<scenario>.svg`. When a vendor model is missing, the skill tells Claude to source one or build a behavioral model, so the testbench still runs.

## Is tscircuit a good alternative for TypeScript developers?

Yes, if your team already thinks in React. The tscircuit skill (1,177 installs, 31 GitHub stars) covers nine CLI verbs, including init, search, add, build, export and snapshot, and requires Claude to read `tscircuit.config.json` and the local circuit files instead of inventing JSX props. Its default workflow starts by clarifying power, I/O and mechanical constraints before any part is placed, and it ends with Gerbers, a BOM and pick-and-place files ready for a fab house. For KiCad users, [kicad-schematic](/skills/kenchangh/kicad-schematic) from kenchangh (340 installs) works on KiCad schematics, and kicad_10 from fandhe-ai/agent-reference-skills (7 installs, added recently) is a reference for Eeschema, PCBnew and `kicad-cli`; see the [KiCad project](https://www.kicad.org/) for the tool itself.

## Which skills help with embedded firmware?

embedded-systems from jeffallan/claude-skills leads, with 6,918 installs and 12,144 GitHub stars (skills.sh registry, GitHub). It targets STM32, ESP32 and FreeRTOS, and enforces rules such as volatile hardware registers, short ISRs with deferred work and watchdog timers, then validates with `-Wall -Werror` and cppcheck. For Rust firmware, [domain-embedded from actionbook/rust-skills](/skills/actionbook/rust-skills/domain-embedded) (2,922 installs) bans heap allocation and enforces HAL peripheral ownership. For the bench, zhinkgit/embeddedskills splits the work into small skills: [jlink](/skills/zhinkgit/embeddedskills/jlink) (690 installs), openocd (681), probe-rs (638) and [serial](/skills/zhinkgit/embeddedskills/serial) (821), tied together by a [workflow skill](/skills/zhinkgit/embeddedskills/workflow) (667) that picks build, flash and debug backends. The [Debugging skills guide](/guides/debugging-skills-claude-code) covers the software side.

## A complete starter stack

- zener-language (1,746 installs): write and edit `.zen` schematics correctly.
- registry-search (563) and librarian (542): pick real, sourceable parts.
- spice-sim (1,307): prove the analog behavior before you order boards.
- tscircuit (1,177): the React and TypeScript route to Gerbers and a BOM.
- embedded-systems (6,918): firmware rules for microcontrollers and RTOS work.
- zhinkgit/embeddedskills workflow (667) plus jlink or openocd: flash and debug from the agent.

## Common pitfalls

- Letting the agent invent a footprint. A wrong pad layout means a board you cannot assemble; librarian and registry-search exist to block this.
- Skipping simulation because a model is missing. spice-sim builds a behavioral model instead, which still catches gross errors.
- Running blocking calls inside interrupt handlers. embedded-systems lists this as a MUST NOT for a reason: it breaks real-time deadlines in ways that only show up on hardware.

Compare more options on the [best developer tools skills](/best/skills-for-dev-tools) page.

## Related

- [/category/dev-tools](https://skillselion.com/category/dev-tools)
- [/best/skills-for-dev-tools](https://skillselion.com/best/skills-for-dev-tools)
- [/guides/debugging-skills-claude-code](https://skillselion.com/guides/debugging-skills-claude-code)
- [/guides/how-to-build-custom-claude-code-skills-2026](https://skillselion.com/guides/how-to-build-custom-claude-code-skills-2026)

## FAQ

### Can Claude design a PCB?

Yes, when the board is described in code. zener-language from diodeinc/pcb (1,746 installs) writes Zener schematics and uses the pcb CLI for parts and datasheets. See [zener-language](/skills/diodeinc/pcb/zener-language).

### Is there a Claude skill for SPICE simulation?

Yes. spice-sim (1,307 installs) adds an ngspice testbench to a Zener design and writes plots to SVG. See [spice-sim](/skills/diodeinc/pcb/spice-sim).

### What is tscircuit?

tscircuit designs PCBs as React and TypeScript. Its skill has 1,177 installs and exports Gerbers, BOM and pick-and-place files. See [tscircuit](/skills/tscircuit/skill/tscircuit).

### Is there a KiCad skill for Claude Code?

Yes. kicad-schematic from kenchangh has 340 installs, and kicad_10 from fandhe-ai/agent-reference-skills (7 installs) covers Eeschema, PCBnew and kicad-cli. See [kicad-schematic](/skills/kenchangh/kicad-schematic).

### What is the best embedded systems skill for Claude?

embedded-systems from jeffallan/claude-skills has 6,918 installs and 12,144 GitHub stars, with rules for STM32, ESP32 and FreeRTOS. See [embedded-systems](/skills/jeffallan/claude-skills/embedded-systems).

## Machine access

- [Sitemap](https://skillselion.com/sitemap.xml)
- [llms.txt](https://skillselion.com/llms.txt)
- [llms-full.txt](https://skillselion.com/llms-full.txt)
- [Developer resources](https://skillselion.com/developers)
- [OpenAPI spec](https://skillselion.com/openapi.json)
- [MCP handshake](https://skillselion.com/.well-known/mcp)
- [API catalog](https://skillselion.com/.well-known/api-catalog)
- [AI catalog](https://skillselion.com/.well-known/ai-catalog.json)
- [Pricing](https://skillselion.com/pricing.md)
- [Auth](https://skillselion.com/auth.md)
- [AGENTS.md](https://skillselion.com/AGENTS.md)
- [Contact](https://skillselion.com/contact)
- [Home](https://skillselion.com/)
