/akcli:akcli-jlcpcb-capabilitiesfrom akcli — AI-native KiCad design agent (+ Altium import)
Provides JLCPCB/嘉立創 manufacturing capability limits for PCB design decisions: trace width/spacing, via/drill sizes, board thickness, copper weight, SMT assembly limits, panelization, flex PCB specs, and Gerber export handoff for KiCad.
Ships in akcli — AI-native KiCad design agent (+ Altium import). 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.
Read when SKILL.md points to them.
嘉立創/JLC is the primary manufacturing reference while designing a board.
This file holds the judgment (what to decide at schematic/layout time) and
the handoff procedure; the exhaustive capability numbers live in
references/, loaded on demand (see the index at the bottom).
Sources: 工藝能力頁 https://www.jlc.com/portal/vtechnology.html + 出圖/DFM 指導 https://www.jlc.com/portal/server_guide_112.html — extracted 2026-07-06, re-verified 2026-07-15. All numbers are a point-in-time snapshot: for anything order-critical or borderline, confirm against the live page and the order-time DFM/audit result.
嘉立創 (jlc.com, domestic CN) and JLCPCB (jlcpcb.com, international) are the same company but DIFFERENT service lines with different limits — pick the one the user will actually order from. The differences that change a design:
| Item | 嘉立創 jlc.com | JLCPCB intl |
|---|---|---|
| Max layers | 64 | 32 |
| Blind/buried vias (HDI) | supported (4–32 L) | not supported |
| Microvia | 0.1 mm | 0.15 mm min |
| Outer copper (2-layer) | up to 6 oz | up to 4.5 oz |
| Thickness | 0.4–4.8 mm | 0.4–4.5 mm |
| Standard-SMT min BGA pitch | 0.3 mm | 0.35 mm |
Full delta in references/jlcpcb-international.md. HDI / blind-buried vias
exist ONLY on 嘉立創 — if the design needs them and the user might order
internationally, that is a blocker to surface early.
akcli jlc search,
akcli-parts-sourcing skill). Full table: references/assembly-and-stencil.md.references/rigid-pcb.md.A JLCPCB PCBA order needs Gerbers + drill + BOM + CPL. The BOM comes straight
from akcli; the rest from kicad-cli (headless, agent-runnable — flags
verified on KiCad 10; DRC gate first, always):
Refill zones before DRC — every time. Zone fills are stored in the
.kicad_pcbas saved copper, and pcbnew does not refill them automatically after routing edits. Running DRC against a stale fill produces dozens of ghost clearance/unconnected violations (a real board hit 76) — or worse, hides real ones. In the GUI pressB(Edit -> Fill All Zones) and save before exporting; headlesskicad-cli pcb drcrefills zones itself by default (do NOT pass a refill-skipping option before a gate), but the saved file still needs a GUI refill+save before Gerber export, or the copper in the Gerbers is the stale fill.
kicad-cli pcb drc board.kicad_pcb --exit-code-violations
kicad-cli pcb export gerbers board.kicad_pcb -o fab/ \
--layers F.Cu,B.Cu,F.Paste,B.Paste,F.Silkscreen,B.Silkscreen,F.Mask,B.Mask,Edge.Cuts \
--subtract-soldermask # multilayer: add In1.Cu,In2.Cu,...
kicad-cli pcb export drill board.kicad_pcb -o fab/ --format excellon \
--drill-origin absolute --excellon-units mm --excellon-zeros-format decimal --generate-map
kicad-cli pcb export pos board.kicad_pcb -o fab/cpl.csv --format csv --units mm \
--side both --exclude-dnp
akcli jlc bom board.kicad_sch --qty 10 --csv fab/bom.csv # JLCPCB header, LCSC ids
akcli fab profiles # bundled profiles: id, sources, retrieval date
akcli fab check board.kicad_pcb --profile jlc-4l-1oz-free-vias-2026-07 --order order.toml
akcli fab explain FAB_VIA_IN_PAD --profile jlc-4l-1oz-free-vias-2026-07
akcli release preflight --sch board.kicad_sch --pcb board.kicad_pcb --fab-profile jlc-4l-1oz-free-vias-2026-07 --drc --gerbers fab/ --out release.manifest.json
--profile takes a profile file or the id of a profile bundled with akcli
(akcli fab profiles; a file at that path always wins). The JLC 4-layer 1 oz
free-via baseline ships bundled as jlc-4l-1oz-free-vias-2026-07; revision
jlc-4l-1oz-free-vias-2026-07-r2 is the same snapshot plus the slot-width floor. A bundled profile
is a dated snapshot, not a live feed: once its retrieved_at is more than 12 months
old fab check adds a FAB_PROFILE_STALE note — re-verify the numbers against the
live JLCPCB pages (this skill's reference files say where), or cut your own profile
file from examples/fab/jlc-4l-1oz.toml and pass that.
A fab profile (--profile) is a versioned vendor-capability snapshot — [source]
URLs plus a retrieved_at date, see examples/fab/jlc-4l-1oz.toml — that turns this
skill's capability numbers into a machine-checkable gate: fab check runs the
board against it (and, with --order, against the declared purchase intent) and
classifies findings by severity — direct rule violations are errors, cost-driving
thresholds are warnings, boundary-exact values are notes. fab explain <CODE> prints
the rule, the fix direction, and the evidence behind a specific finding code. Board
area is the true Edge.Cuts outline (arcs exact, cutouts subtracted; a bounding-box
fallback is always labelled as one), the tenting cap binds only vias the board marks
tented — or all of them when --order declares via_covering = "tented" — and the
project's own DRC minimums (.kicad_pro) are compared with the profile's. For the
free-vs-paid via covering model, the surcharge triggers, the capability→profile-field
mapping, and exactly what fab check gates vs what stays advisory (it is a
fab-policy/cost gate, NOT a geometric DRC — pair it with KiCad's DRC: kicad-cli pcb drc by hand, or akcli release preflight --drc to make it a release gate recorded
in the manifest), see references/cost-and-fab-profile.md.
CPL header rename before upload: Ref→Designator, PosX→Mid X, PosY→Mid Y, Rot→Rotation, Side→Layer (or use JLCPCB's Fabrication Toolkit KiCad plugin /
the order page's column mapper). Always check the placement preview for
polarized-part rotation — it is the classic PCBA defect. GUI walkthroughs:
JLCPCB's own KiCad 8 guides
(gerber/drill,
BOM/centroid);
full detail in docs/jlc.md.
Fabrication Toolkit's five default files: gerber.zip, bom.csv,
positions.csv (already JLCPCB-shaped, no header rename), plus
designators.csv/netlist.ipc (traceability only — not uploaded). A bare-PCB
order needs gerber.zip alone. Order sequencing differs by line: on
嘉立創 (jlc.com) SMT is a second order placed against an already-submitted
PCB order; on JLCPCB.com international, PCB + Assembly are one combined
order (toggle Assembly on before paying for the PCB). Either way, a component
with a resolved LCSC C-number auto-matches in the SMT BOM step; an
unmatched line falls to manual picking (jlc.com also offers a paid ¥50
JLC-assisted match). Full detail in docs/jlc.md.
Top rules an agent must get right (full file-prep guide + the nine 常見錯誤:
references/dfm-and-file-prep.md):
Edge.Cuts as real geometry; mask windows come from
*.Mask, not *.Paste (paste = stencil only).order.toml and gate with
akcli fab check --order.kicad-cli pcb drc + akcli fab check (both at once, with a manifest:
akcli release preflight --drc --fab-profile …) and review the
placement/mask preview before ordering.| File | Read it for |
|---|---|
references/rigid-pcb.md | 嘉立創 rigid FR-4/HDI full numbers: trace/space by copper, vias/drills/HDI/backdrill/via-fill, annular ring, slots, mask/silk, edges/panel, finishes |
references/flex-fpc.md | 嘉立創 FPC: stackups, trace/space, vias, coverlay, stiffeners, panelization |
references/assembly-and-stencil.md | SMT Economic vs Standard placement limits, design-for-assembly (edge clearance, polarity marking, tombstoning, DNP), laser-stencil specs |
references/cost-and-fab-profile.md | via covering (free/paid) & the surcharge triggers; how to encode the numbers as an akcli fab profile; what fab check gates vs advisory |
references/dfm-and-file-prep.md | out-of-file rules: Gerber/drill format, outline/slot/mask/silk layer mapping, plated/non-plated, the nine common mistakes, EDA-tool export notes |
references/jlcpcb-international.md | jlcpcb.com international-line differences (tighter limits) + international stencil |
akcli fab check --profile (versioned and sourced) rather than
eyeballing the tables.references/assembly-and-stencil.md (opens in a new tab)references/cost-and-fab-profile.md (opens in a new tab)references/dfm-and-file-prep.md (opens in a new tab)references/flex-fpc.md (opens in a new tab)references/jlcpcb-international.md (opens in a new tab)references/rigid-pcb.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
jlcpcb, pcb-design, manufacturing-limits, gerber-export, kicad, dfm
npx claudepluginhub tipoli5890/akcli --plugin akcli13 skills in this plugin
/akcli-altium-interopWork with Altium Designer through the `akcli` CLI — Altium is akcli's read-only import surface into the KiCad-first flow: parse Altium .SchDoc/.SchLib/.PcbDoc files, export normalized JSON and Protel/KiCad/CSV netlists, deliver schematic edits back into Altium (offline human draw instructions + importable netlist — there is no Altium write path at all), and migrate Altium designs to KiCad with netlist-diff verification. Use this skill whenever the task involves: reading, exporting, or converting an Altium file; getting a design out of Altium into another tool; getting changes into an Altium schematic; or an Altium-to-KiCad migration or equivalence check. Triggers on keywords: Altium, Altium Designer, SchDoc, SchLib, PcbDoc, Protel netlist, OLE2/CFBF, Altium export, Altium import, migrate to KiCad, AD to KiCad./akcli-circuit-debugSystematically diagnose misbehaving schematics and `akcli` tool failures. Use this skill whenever the task involves: debugging net connectivity (a net that is split, merged wrongly, missing, or a pin that floats when it should not); triaging `akcli check` findings (real fault vs false positive, deciding whether a clean pass is trustworthy); investigating why `akcli plan`/`akcli draw` refused to write or what an exit code means; recovering from a failed apply (backup/rollback); or classifying parse failures and unsupported-input refusals before reporting a bug upstream. Triggers on keywords: debug, diagnose, troubleshoot, net split, floating pin, wrong net merge, false positive, ERC finding, exit code, parse error, refused, dangling endpoint, connectivity gate, rollback, backup, corrupt SchDoc, unsupported format./akcli-circuit-designRead, analyze, diff, and draw electronic schematics with the `akcli` CLI — the verification layer for AI-authored KiCad schematics (writes are dry-run by default, net-diffed and connectivity-gated); Altium files are a read-only import surface. Use this skill whenever the task involves: reading or parsing an Altium .SchDoc/.SchLib/.PcbDoc or a KiCad .kicad_sch/.kicad_sym/.kicad_pcb; extracting a netlist; running ERC, power-rail, BOM, or a design review on a schematic; producing a pin map / pinout / MCU pin->net table; diffing two schematic revisions (v1 vs v2); drawing or editing a KiCad schematic from an op-list; or working with JLC/LCSC/EDA parts, footprints, and connectivity. Triggers on keywords: SchDoc, kicad_sch, schematic, netlist, ERC, electrical rule check, design review, power rails, pinmap, pinout, schematic diff, draw KiCad, op-list./akcli-datasheet-factsExtract audited, PDF-pinned component facts into the akcli datasheet facts store (`akcli review facts`) so review findings upgrade from heuristic to datasheet_backed. Use this skill whenever the task involves: reading a component datasheet to record its Vref / crystal load capacitance / absolute maximum / thermal numbers; building or verifying `datasheets/extracted/` facts files; upgrading `akcli review analyze` findings to datasheet_backed; or checking why a finding says "verify against the datasheet". Triggers on: datasheet facts, facts store, extract datasheet, Vref, load capacitance, absolute maximum, theta_ja, 資料表, 元件參數擷取, datasheet_backed, review facts./akcli-deep-reviewGenerate LLM design-review candidates and gate them through `akcli review validate` — the agent-proposes / akcli-verifies contract. Use this skill whenever the task involves: a deep or exhaustive design review beyond the deterministic detectors; producing review observations from reading datasheets or design intent; running `review validate` on candidate findings; or presenting accepted vs quarantined LLM findings honestly. Triggers on: deep review, LLM review, candidate findings, review validate, quarantine, 深度審查, design intent review, second-opinion review, exhaustive review./akcli-design-calcOffline engineering calculators for electronics design via `akcli calc` — E-series (IEC 60063) value snapping and resistor combinations, voltage dividers, LM317/FB regulator networks, IPC-2221 track width and clearance, via parasitics, fusing current, AWG, microstrip/stripline impedance, RF attenuators, buck/boost power stages, NE555, op-amp gain pairs, I2C pull-ups, crystal load caps, junction thermal, battery life, LDO headroom, comparator hysteresis, envelope detectors, resistor color/SMD/EIA-96 codes, galvanic compatibility. Use whenever a design task needs a computed component value or a standards-backed physical check. Triggers on: resistor value, E24/E96, divider, LDO feedback, dropout, trace width, current capacity, clearance, creepage, via, impedance, attenuator, 555, pull-up, load capacitance, heatsink, hysteresis, envelope detector, battery runtime, color code, SMD marking.Other plugins' skills for the same job