/kicad-happy:jlcpcbfrom kicad-happy
Generates BOM/CPL files for JLCPCB PCB fabrication and assembly, handles basic vs extended parts, design rules, and ordering workflow. Use with KiCad for JLCPCB manufacturing.
Ships in kicad-happy. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
JLCPCB is a PCB fabrication and assembly service based in Shenzhen, China. It is a sister company to LCSC Electronics (common ownership) — they share the same parts library.
Typical usage: Order bare prototype PCBs + framed stencil from JLCPCB during prototyping (parts sourced separately from DigiKey/Mouser, hand-assembled in lab). For production runs (100s qty), order fully assembled boards from JLCPCB using LCSC parts. PCBWay is an alternative assembler. For component searching, see the lcsc skill. For BOM management, gerber/CPL export, and stencil ordering, see the bom skill.
| Skill | Purpose |
|---|---|
kicad | Read/analyze KiCad project files, DFM scoring against JLCPCB capabilities |
bom | BOM management, gerber/CPL export, stencil ordering |
digikey | Search DigiKey (prototype sourcing, primary — also preferred for datasheet downloads via API) |
mouser | Search Mouser (prototype sourcing, secondary) |
lcsc | Search LCSC (production sourcing — JLCPCB uses LCSC parts library) |
pcbway | Alternative PCB fabrication & assembly |
emc | EMC pre-compliance risk analysis — run before fab to catch EMC issues |
spice | SPICE simulation — verify analog subcircuits before committing to fab |
| Category | Description | Assembly Fee |
|---|---|---|
| Basic | Common parts (resistors, caps, diodes, common ICs) pre-loaded on pick-and-place machines | No extra fee |
| Extended | 300k+ less common parts loaded on demand | $3 per unique extended part |
JLCPCB occasionally promotes a subset of frequently-used extended parts with a discounted or waived feeder fee (the program's name and terms shift over time). Check the current JLCPCB parts library page for any specific extended part before assuming the standard $3 fee applies.
Every assembly component is identified by an LCSC Part Number (Cxxxxx, e.g., C14663). This is the definitive identifier for BOM matching. See the lcsc skill for searching parts.
https://jlcpcb.com/parts/componentSearch?searchTxt=<query>https://jlcpcb.com/parts/basic_partsJLCPCB accepts CSV, XLS, or XLSX BOMs with these columns:
| Column | Required | Description |
|---|---|---|
Comment / Value | Yes | Component value (e.g., 100nF, 10k) |
Designator | Yes | Reference designators, comma-separated (e.g., C1,C2,C5) |
Footprint | Yes | Package/footprint name |
LCSC Part # | Recommended | LCSC part number (Cxxxxx) — guarantees exact match |
The column header for LCSC numbers must be exactly "LCSC Part #" or "LCSC Part Number" — typos cause upload failures.
LCSC field to each symbol with the LCSC part numberReference -> DesignatorValue -> CommentFootprint -> FootprintLCSC -> LCSC Part #For gerber export settings, CPL format, and stencil ordering, see the bom skill.
Apply at https://api.jlcpcb.com. Access is gated — requires review based on order history and business profile.
Available APIs (once approved):
| Parameter | Minimum |
|---|---|
| Trace width | 0.127mm (5mil) |
| Trace spacing | 0.127mm (5mil) |
| Via diameter | 0.45mm |
| Via drill | 0.2mm |
| Annular ring | 0.125mm |
| Min hole size | 0.2mm |
| Board thickness | 0.4-2.4mm (default 1.6mm) |
| Min board size | 6x6mm |
| Max board size | 500x400mm (2-layer) |
| Parameter | Minimum |
|---|---|
| Trace width | 0.09mm (3.5mil) |
| Trace spacing | 0.09mm (3.5mil) |
| Via diameter | 0.25mm |
| Via drill | 0.15mm |
| Board thickness | 0.6-2.4mm |
If you have a JLCPCB .kicad_dru design rules file, import it in KiCad Board Editor > Board Setup > Design Rules > Import Settings.
| Feature | Economic | Standard |
|---|---|---|
| Sides | Top only | Top + Bottom |
| Component types | SMD only | SMD + through-hole |
| Min component size | 0201 | 01005 |
| Fine-pitch BGA/QFP | Down to 0.5mm pitch | Down to 0.4mm pitch |
| Turnaround | ~3-5 days | ~3-5 days |
| Extended part fee | $3 per unique part | $3 per unique part |
JLCPCB's pick-and-place uses different rotation conventions than KiCad for some footprints. Common offsets:
| Footprint Family | Typical Offset |
|---|---|
| SOT-23, SOT-23-5, SOT-23-6 | +180° |
| SOT-223 | +180° |
| SOIC-8, SOIC-16 | +90° or +270° |
| QFN (all sizes) | +90° |
| SMA/SMB/SMC diodes | +180° |
| USB-C connectors | Varies — check datasheet |
To fix rotation issues:
bom skill for export settings)https://cart.jlcpcb.com/quote — configure layers, thickness, color, qtybom skill for export settings)bom skill for format)https://cart.jlcpcb.com/quote — configure layers, thickness, color, qtyFor boards exported from Altium (or other tools) whose BOM/CPL formats
don't match JLCPCB's expected columns, the bom skill ships
translate_bom_pnp.py to convert them. Two subcommands:
# BOM: KiCad/Altium CSV → JLCPCB BOM CSV (Comment, Designator, Footprint,
# LCSC Part #, MPN, Manufacturer,
# Quantity, Notes)
python3 skills/bom/scripts/translate_bom_pnp.py bom input_bom.csv -o jlc_bom.csv
# CPL: input CPL → JLCPCB Pick-and-Place CSV (Designator, Mid X, Mid Y,
# Layer, Rotation), with mil→mm
# and TopLayer/BottomLayer
# normalization
python3 skills/bom/scripts/translate_bom_pnp.py pnp input_cpl.csv -o jlc_cpl.csv
JLCPCB's PCBA web upload rejects orders when the CPL contains designators
that aren't in the BOM (mechanical holes, fiducials, test points, etc.
that appear in the CPL output but aren't assembly components). The
translator's --bom filter mode solves this:
Translate the BOM first — produces the JLCPCB-format BOM and establishes the authoritative designator set:
python3 skills/bom/scripts/translate_bom_pnp.py bom input_bom.csv -o jlc_bom.csv
Translate the CPL with --bom filter — intersects CPL designators
with BOM designators, dropping orphans:
python3 skills/bom/scripts/translate_bom_pnp.py pnp input_cpl.csv -o jlc_cpl.csv --bom jlc_bom.csv
The returned filtered_orphans count plus filtered_orphan_samples
list lets the operator confirm which CPL rows were dropped — sanity-
check this list before uploading. Common orphans (mounting holes,
fiducials, test points) are expected; anything else may indicate a
BOM/PCB mismatch worth investigating.
Tabulate consigned-parts cost separately — JLCPCB's quote does not auto-itemize consigned (user-supplied) part costs. Build a quote summary that shows: PCB fabrication, PCBA assembly fee, basic vs extended parts cost (per JLCPCB invoice), and a separate user-sourced parts subtotal. Without this breakdown the quote understates true unit cost by the consigned-parts amount.
This workflow is documented because JLCPCB's web upload UX silently
rejects orphan-designator CPLs with an unhelpful error; the parity
check via --bom is the single highest-value step in shipping a
clean PCBA order.
lcsc skill to searchWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
jlcpcb, pcb-assembly, pcb-fabrication, bom-generation, kicad
npx claudepluginhub ck-consulting/kicad-happy --plugin kicad-happy11 skills in this plugin
/bomBOM (Bill of Materials) management for electronics projects — the workflow skill that coordinates DigiKey, Mouser, LCSC, element14, JLCPCB, PCBWay, and KiCad skills around a unified BOM lifecycle. Create, update, and maintain BOMs with part numbers, costs, quantities stored as KiCad symbol properties. ALWAYS trigger this skill for any task involving component sourcing, pricing, ordering, distributor searches, BOM export, or fabrication preparation — even if the user names a specific distributor or fab house (e.g. "search DigiKey for...", "generate JLCPCB BOM", "order from Mouser"). This skill analyzes the schematic for sourcing gaps, recommends which distributor/fab skills to call for each gap, and writes results back as symbol properties — the agent (or user) performs the actual searches via the called skills. Also trigger on phrases like "what parts do I need", "order components", "how much will this cost", "export for JLCPCB", "find parts for this board", "compare pricing", or "check stock"./datasheetsExtract structured specifications from electronic component datasheet PDFs — pinouts, electrical characteristics, peripherals, topology, and features. Cache extractions per project for consumption by schematic and PCB analyzers. Primary consumer infrastructure for `kicad`, `emc`, `spice`, and `thermal` analyzers. Use this skill whenever the user asks to extract, verify, or read specs from a component datasheet; when analyzers need verified IC knowledge (EN pin thresholds, PG presence, USB peripheral speed); or when a review mentions datasheet coverage, extraction quality, or per-MPN specifications. Also triggers on "extract this datasheet", "what are the specs for MPN X", "verify datasheet extraction", or "check pin functions for part Y".3 plugins ship this exact skill · first indexed Jul 13, 2026
Other plugins' skills for the same job