pcb
PCB tooling by Diode Computers, Inc.
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Check it deeper on your machine
It has changed since its scan on 11 Nov 2026.
As a Claude Code plugin, install it and then ask Claude Code:
/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/diodeinc/pcb with scanskillsafety
Or from a terminal, clone it and run it:
git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/diodeinc/pcb'
It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.
Badge for your README
Markdown
[](/listings/diodeinc-pcb)HTML
<a href="/listings/diodeinc-pcb"><img src="/api/listings/diodeinc-pcb/badge.svg" alt="findsafeskills safety rating" /></a>Install
Install instructions from the README
As written by the repo's author. findsafeskills has not verified these steps.
These steps run a script from the network that findsafeskills does not scan.
Install the `pcb` launcher on macOS, Linux, or WSL2:
curl -fsSL https://raw.githubusercontent.com/diodeinc/pcb/main/install.sh | bash
For native Windows, run this command in PowerShell:
powershell -ExecutionPolicy Bypass -c "irm https://raw.githubusercontent.com/diodeinc/pcb/main/install.ps1 | iex"
The launcher downloads the toolchain selected by each project. KiCad 10.x is required for layouts, but not for building Zener designs. Native Windows support is experimental; use WSL2 if needed.
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
README.md · README · 83 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.
- # pcb
- `pcb` is a command-line tool for circuit board projects written in Zener.
- Zener is a Starlark-based language for describing PCB schematics; `pcb` builds
- those designs, manages dependencies, and generates KiCad layout files.
- [Documentation](https://docs.pcb.new) | [Language reference](https://docs.pcb.new/pages/spec)
- ## Installation
- Install the `pcb` launcher on macOS, Linux, or WSL2:
- ```bash
- curl -fsSL https://raw.githubusercontent.com/diodeinc/pcb/main/install.sh | bash
- ```
- For native Windows, run this command in PowerShell:
- ```powershell
- powershell -ExecutionPolicy Bypass -c "irm https://raw.githubusercontent.com/diodeinc/pcb/main/install.ps1 | iex"
- ```
- The launcher downloads the toolchain selected by each project. KiCad 10.x is
- required for layouts, but not for building Zener designs. Native Windows support
- is experimental; use WSL2 if needed.
- ## Quick start
- Create `blinky.zen`:
- [embed-readme]:# (examples/blinky.zen python)
- ```python
- # ```pcb
- # [workspace]
- # pcb-version = "0.4"
- # ```
- Resistor = Module("@stdlib/generics/Resistor.zen")
- Led = Module("@stdlib/generics/Led.zen")
- VCC = Power()
- GND = Ground()
- LED_ANODE = Net()
- Resistor(name="R1", value="1kohm", package="0402", P1=VCC, P2=LED_ANODE)
- Led(name="D1", package="0402", color="red", A=LED_ANODE, K=GND)
- Board(name="blinky", layers=4, layout_path="layout/blinky")
- ```
- Build the design and generate a KiCad layout:
- ```bash
- pcb build blinky.zen
- pcb layout blinky.zen
- ```
- See [Getting Started](https://docs.pcb.new/pages/quickstart) for board setup,
- toolchains, and CI authentication, and [Packages](https://docs.pcb.new/pages/packages)
- for repository structure and dependencies. Run `pcb help` for commands.
- ## Developing from source
- ```bash
- git clone https://github.com/diodeinc/pcb.git
- cd pcb
- ./install.sh --local
- ```
- Requires Rust. Run crate tests with `cargo nextest run -p <crate>` and doctests
- with `cargo test --doc -p <crate>`.
- ## License
- Diode-authored code and docs are licensed under the MIT License except where
- otherwise noted. See [LICENSE](LICENSE) and
- [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).
- ## Acknowledgments
- - Made possible by the excellent [KiCad](https://kicad.org/) PCB design suite.
- - Built on [starlark-rust](https://github.com/facebookexperimental/starlark-rust) by Meta.
- - Inspired by [atopile](https://github.com/atopile/atopile),
- [tscircuit](https://github.com/tscircuit/tscircuit), and others.
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.