Skip to content
Back to skills

Bringup And Test

ASecurity

This skill should be used when the user asks to "bring up a new board", "power it on for the first time", "the board does not start", "make a test plan", "test points", "test jig" or "production test", or to control a bench supply, multimeter or load over SCPI. It plans the first power-up from the netlist and runs per-unit tests with logs.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentspythongonoderailstesting

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add gkochievi/boulder-hardware-skills --skill bringup-and-test --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bringup And Test?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bringup And Test
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gkochievi-bringup-and-test/badge)](https://www.skillsdirectory.com/skills/gkochievi-bringup-and-test)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: bringup-and-test
description: This skill should be used when the user asks to "bring up a new board", "power it on for the first time", "the board does not start", "make a test plan", "test points", "test jig" or "production test", or to control a bench supply, multimeter or load over SCPI. It plans the first power-up from the netlist and runs per-unit tests with logs.
user-invocable: false
---

# Bring-up and test

From the first power-on of a prototype to the test every production unit passes. The scripts read the board's own files (KiCad netlist and PCB), so the plan, the checklist and the jig follow the design.

## 1. Plan the bring-up from the netlist

```sh
python3 scripts/bringup_plan.py hardware/MyBoard/MyBoard.kicad_sch --out hardware/bringup    # or a kicadxml net.xml
```

`scripts/bringup_plan.py` finds the rails from their names (+3V3 = 3.3 V, VBUS = 5 V, unknown names get an empty band to fill in), walks the power tree from the input connectors through fuses, diodes, FETs and regulators (a regulator's SW node is followed through its inductor), picks probe points (test points first, then capacitor pads), recognises the microcontroller and its programming route, and lists crystals, reset lines, LEDs, keys and I2C devices. It writes `bringup_plan.md`, `bringup_checklist.csv` and `bringup_plan.json`. Check the tree against the schematic: it is a heuristic, and power paths through ideal-diode controllers or load switches can come out flat.

The generator (`kicad-generator`) runs it in every build into `<out>/bringup/`.

## 2. Bring the board up

Follow `references/bringup-procedure.md`: inspection, unpowered rail resistance, current-limited first power, rails in tree order, reset and clocks, programming, then one function at a time. Stop at the first wrong value and find the cause before going on. Keep a log of every measurement in the checklist CSV.

With instruments on the network or USB, `scripts/scpi.py` measures the checklist rows (`scpi.py run bringup_checklist.csv --psu ... --dmm ...`): it waits for the probes, reads the meter, checks min / max and switches the supply off at the end. Connections, commands and safety: `references/scpi-instruments.md`. Nothing that changes an instrument is sent without `--yes` or a typed confirmation.

## 3. Test points and the jig

- Put a test point on every rail, ground, the programming / console pins and each signal the production test must see. In generated boards use the `TestPoints` block (`kicad-generator/references/circuit-blocks-io.md`).
- `scripts/testjig.py board.kicad_pcb` collects the test points (and `--pad REF.PAD`), uses the mounting holes as alignment pins and writes the probe table, SVG and DXF drawings and an OpenSCAD plate. It warns about small pads, close probes, probes near the edge and pads on the other side.
- Jig design, probe sizes and fixture types: `references/production-test.md`.

## 4. Production test

`scripts/factory_test.py sequence.json --serial SN0001 --psu ... --dmm ... --var port=/dev/ttyACM0` runs a JSON (or YAML) sequence per unit: supply settings, current and voltage limits, commands (flashing, provisioning), serial console checks with captured values (MAC, chip ID), operator questions. It stops at the first failure, switches the supply off, and logs `<serial>.json` plus a row in `results.csv`. `--check` validates a sequence. Keys for provisioning come from environment variables or a file outside the project, read by your provisioning command; never put them in the sequence or the log.

What to test, coverage, programming and provisioning flow, logging and yield: `references/production-test.md`. Firmware self-test conventions (`[READY]`, `[PASS]`, `[FAIL]`) and `serial_expect.py`: `embedded-firmware/references/testing-and-release.md`.

## Rules

- Always a current limit on the first power-up; raise it only after the rails are right.
- Measure, record, compare with the expected band; a wrong value is a finding with a cause, not a reading to retake until it fits.
- Use the board's own files for the plan; when the schematic and the board disagree, stop and find out which is right.
- Never switch an instrument output on, flash, or write fuses / eFuses without the user's go-ahead.
- When the board runs, hand the list of faults to `hardware-retro`: each one becomes a check, a rule or a ticket for the next revision.

## Next step

When this is done, say what comes next: `hardware-retro` with the list of faults; the production test once one board passes.

Files in this skill

  • SKILL.md4.4 KB
  • references/bringup-procedure.md5.5 KB
  • references/production-test.md4.9 KB
  • references/scpi-instruments.md3 KB
  • scripts/bringup_plan.py27.3 KB
  • scripts/factory_test.py16.7 KB
  • scripts/scpi.py17.3 KB
  • scripts/testjig.py16.2 KB
  • scripts/tests/conftest.py5.4 KB
  • scripts/tests/test_bringup_plan.py2.5 KB
  • scripts/tests/test_factory_test.py3 KB
  • scripts/tests/test_scpi.py2.4 KB
  • scripts/tests/test_testjig.py2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.