Skip to content
Back to search

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.

Checked today

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
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/diodeinc-pcb/badge.svg)](/listings/diodeinc-pcb)

HTML

<a href="/listings/diodeinc-pcb"><img src="/api/listings/diodeinc-pcb/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

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.

  1. # pcb
  2. `pcb` is a command-line tool for circuit board projects written in Zener.
  3. Zener is a Starlark-based language for describing PCB schematics; `pcb` builds
  4. those designs, manages dependencies, and generates KiCad layout files.
  5. [Documentation](https://docs.pcb.new) | [Language reference](https://docs.pcb.new/pages/spec)
  6. ## Installation
  7. Install the `pcb` launcher on macOS, Linux, or WSL2:
  8. ```bash
  9. curl -fsSL https://raw.githubusercontent.com/diodeinc/pcb/main/install.sh | bash
  10. ```
  11. For native Windows, run this command in PowerShell:
  12. ```powershell
  13. powershell -ExecutionPolicy Bypass -c "irm https://raw.githubusercontent.com/diodeinc/pcb/main/install.ps1 | iex"
  14. ```
  15. The launcher downloads the toolchain selected by each project. KiCad 10.x is
  16. required for layouts, but not for building Zener designs. Native Windows support
  17. is experimental; use WSL2 if needed.
  18. ## Quick start
  19. Create `blinky.zen`:
  20. [embed-readme]:# (examples/blinky.zen python)
  21. ```python
  22. # ```pcb
  23. # [workspace]
  24. # pcb-version = "0.4"
  25. # ```
  26. Resistor = Module("@stdlib/generics/Resistor.zen")
  27. Led = Module("@stdlib/generics/Led.zen")
  28. VCC = Power()
  29. GND = Ground()
  30. LED_ANODE = Net()
  31. Resistor(name="R1", value="1kohm", package="0402", P1=VCC, P2=LED_ANODE)
  32. Led(name="D1", package="0402", color="red", A=LED_ANODE, K=GND)
  33. Board(name="blinky", layers=4, layout_path="layout/blinky")
  34. ```
  35. Build the design and generate a KiCad layout:
  36. ```bash
  37. pcb build blinky.zen
  38. pcb layout blinky.zen
  39. ```
  40. See [Getting Started](https://docs.pcb.new/pages/quickstart) for board setup,
  41. toolchains, and CI authentication, and [Packages](https://docs.pcb.new/pages/packages)
  42. for repository structure and dependencies. Run `pcb help` for commands.
  43. ## Developing from source
  44. ```bash
  45. git clone https://github.com/diodeinc/pcb.git
  46. cd pcb
  47. ./install.sh --local
  48. ```
  49. Requires Rust. Run crate tests with `cargo nextest run -p <crate>` and doctests
  50. with `cargo test --doc -p <crate>`.
  51. ## License
  52. Diode-authored code and docs are licensed under the MIT License except where
  53. otherwise noted. See [LICENSE](LICENSE) and
  54. [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).
  55. ## Acknowledgments
  56. - Made possible by the excellent [KiCad](https://kicad.org/) PCB design suite.
  57. - Built on [starlark-rust](https://github.com/facebookexperimental/starlark-rust) by Meta.
  58. - Inspired by [atopile](https://github.com/atopile/atopile),
  59. [tscircuit](https://github.com/tscircuit/tscircuit), and others.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.