fab · git:20261001.9215420 · 2026-10-01 · sha256 91da1cc92f786fe7
fab git:20261001.9215420A
Immutable. This exact content never changes and is served at /api/v1/blob/91da1cc92f786fe7.
---
name: fab
description: Export manufacturing files (Gerbers, drill, BOM, pick-and-place) from a KiCad project and walk through ordering boards from JLCPCB or another fab. Use when the user wants to order, manufacture, fabricate or get assembly files for a PCB, or asks for Gerbers, a BOM or a CPL/pick-and-place file.
argument-hint: "[project dir or .kicad_pro]"
---
# Fabrication outputs and ordering
`kipcb` is on PATH (fallback `${CLAUDE_PLUGIN_ROOT}/bin/kipcb`).
1. Locate the project (the argument, or the single `.kicad_pro` nearby).
2. Run `kipcb drc <project>`. If there are errors or unconnected items, stop
and explain them. Offer to fix them (via `/pcb:design` for kipcb specs, or
directly in KiCad). `kipcb fab --force` exists, but only use it if the user
explicitly accepts the risk.
3. Run `kipcb fab <project>`. The output format follows the user's manufacturer
setting (see `kipcb settings`); pass `--fab jlcpcb` or `--fab generic` to override.
4. Read `fab/<name>-bom.csv`. Flag parts without an LCSC number when the user
wants JLCPCB assembly, and never make one up. Suggest they match those in
JLCPCB's BOM tool, or hand-solder / mark them DNP.
5. Render (`kipcb render <project> --what 3d`) and show `out/pcb_3d_top.png`
so the user sees what they're ordering.
6. Hand off with the file paths and the ordering checklist from
`${CLAUDE_PLUGIN_ROOT}/skills/design/references/manufacturing.md`: upload the
Gerber zip, confirm size/layers/thickness/finish, then upload the BOM and
CPL for assembly and check rotations in the preview.
Don't place orders, upload files to a fab, or enter payment details on the
user's behalf. Prepare the files and explain the steps; the user does the ordering.