Skip to content

/jlcpcb

JLCPCB PCB fabrication and assembly — BOM/CPL generation, basic vs extended parts, assembly constraints, design rules, ordering workflow. Use with KiCad for JLCPCB manufacturing. Use this skill when the user mentions JLCPCB, wants to order PCBs or assembled boards, needs

From plugin
kicad-happy
1.6k11 skills

Claude Code

$ npx -y skills add aklofas/kicad-happy --skill jlcpcb --agent claude-code

SKILL.md

jlcpcb.SKILL.md
name: jlcpcb
description: JLCPCB PCB fabrication and assembly — BOM/CPL generation, basic vs extended parts, assembly constraints, design rules, ordering workflow. Use with KiCad for JLCPCB manufacturing. Use this skill when the user mentions JLCPCB, wants to order PCBs or assembled boards, needs prototype bare PCBs and stencils, wants to know JLCPCB design rules and capabilities, or is asking about PCB manufacturing costs or turnaround times. For gerber/CPL export, stencil ordering, and BOM management, see the `bom` skill.

JLCPCB — PCB Fabrication & Assembly

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.

Related Skills

| 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 |

Assembly Parts Library

Part Categories

| 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.

LCSC Part Numbers

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.

Parts Search (JLCPCB-Specific)

  • Parts library: `https://jlcpcb.com/parts/componentSearch?searchTxt=<query>`
  • Basic parts only: `https://jlcpcb.com/parts/basic_parts`

BOM Format for Assembly

JLCPCB 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.

KiCad BOM Export for JLCPCB

1. In KiCad schematic editor, add an `LCSC` field to each symbol with the LCSC part number 2. Export BOM as CSV with columns: Reference, Value, Footprint, LCSC 3. Rename columns to match JLCPCB's expected format:

  • `Reference` -> `Designator`
  • `Value` -> `Comment`
  • `Footprint` -> `Footprint`
  • `LCSC` -> `LCSC Part #`

For gerber export settings, CPL format, and stencil ordering, see the `bom` skill.

JLCPCB Official API (Approval Required)

Apply at `https://api.jlcpcb.com`. Access is gated — requires review based on order history and business profile.

Available APIs (once approved):

  • **Components API** — real-time pricing, inventory, component specs
  • **PCB API** — upload gerbers, get quotes, place orders, track status
  • **Stencil API** — stencil quoting and ordering
  • **3D Printing API** — SLA/MJF/SLM/FDM ordering

PCB Design Rules (JLCPCB Capabilities)

Standard PCB (1-2 layers)

| 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) |

Multi-layer (4+ layers)

| 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 |

Importing DRU into KiCad

If you have a JLCPCB `.kicad_dru` design rules file, import it in KiCad Board Editor > Board Setup > Design Rules > Import Settings.

Assembly Constraints

Economic vs Standard Assembly

| 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 |

General Constraints

  • **Minimum order**: 5 PCBs for assembly
  • **Unique parts limit**: No hard limit, but each extended part adds $3
  • **Basic parts**: No extra fee, pre-loaded on machines

Rotation Offsets

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° |

Read more
@aklofas
Ships withkicad-happy

AI-powered design review for KiCad. Analyzes schematics, PCB layouts, and Gerbers. Catches real bugs before you order boards.

Stars on GitHub

Momentum

stars in total
1.6k
Star history of aklofas/kicad-happy on GitHub, a chart by star-history.com

Other skills on kicad-happy.

bom
Auto-invoked

bom

BOM (Bill of Materials) management for electronics projects — the workflow skill that coordinates DigiKey, Mouser, LCSC,…

@aklofas@aklofasInstall Skill
datasheets
Auto-invoked

datasheets

Extract structured specifications from electronic component datasheet PDFs — pinouts, electrical characteristics, peripherals,…

@aklofas@aklofasInstall Skill
digikey
Auto-invoked

digikey

Search DigiKey for electronic components and download datasheets — primary source for prototype orders and the preferred API…

@aklofas@aklofasInstall Skill
element14
Auto-invoked

element14

Search Newark, Farnell, and element14 for electronic components — find parts by MPN or distributor part number, check…

@aklofas@aklofasInstall Skill
emc
Auto-invoked

emc

EMC pre-compliance risk analysis for KiCad PCB designs — 18 check categories, 44 rule IDs covering ground planes, decoupling, I/O…

@aklofas@aklofasInstall Skill
kicad
Auto-invoked

kicad

Analyze KiCad projects and PDF schematics: schematics, PCB layouts, Gerbers, footprints, symbols, netlists, and design rules.…

@aklofas@aklofasInstall Skill

More skills from other plugins.

api-review

api-review

Produce the "Playwright 1.xx API Review" artifact for a range of commits - the public API additions and the breaking or behavior…

@microsoft@microsoftInstall Skill
add-e2e-selectors

add-e2e-selectors

Add reliable @grafana/e2e-selectors to interactive elements and key containers in the Grafana frontend. Use when adding e2e…

grafana1d78k
@grafana@grafanaInstall Skill
promptfoo-evals

promptfoo-evals

Write, refine, run, and QA promptfoo evaluation suites: promptfooconfig.yaml, prompts, providers, vars, tests, assertions,…

@promptfoo@promptfooInstall Skill
deepeval

deepeval

DeepEval evaluation workflow for AI agents and LLM applications. TRIGGER when the user wants to evaluate or improve an AI agent,…

@confident-ai@confident-aiInstall Skill

Questions about jlcpcb.

Which coding agents can use jlcpcb?
jlcpcb installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.