/akcli:akcli-datasheet-factsfrom akcli — AI-native KiCad design agent (+ Altium import)
Extracts audited PDF-pinned component facts (Vref, crystal load capacitance, absolute maximum ratings, thermal data) into the akcli datasheet facts store. Converts heuristic review findings to datasheet-backed judgements.
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.
None: SKILL.md is the whole skill.
You (the agent) are the extractor: you can read PDFs natively, and the facts
store is designed around that. akcli owns the discipline — every fact is
pinned to its source PDF by sha256 + page (+ verbatim quote), and
review facts verify audits what you wrote. Your job is to fill the store
honestly; akcli's job is to catch you if you don't.
The prize: a heuristic finding ("verify Vref against the datasheet")
becomes a datasheet_backed judgement with the exact page as evidence — and
review propose can then emit an auto-applicable fix. No fact, no claim.
page is where the number IS, not
where the section starts. A quote is copied character-for-character from
that page — verify runs a text match against the PDF (when pdftotext is
installed) and a mismatch is a WARNING with your name on it.value. Conditions
(temperature, load) go in conditions.review analyze reports REVIEW_FACTS_UNMATCHED (NOTE,
plus a facts_unmatched list in the metadata) for every facts file that
matched no component. Treat that as a failed extraction, not a clean run —
the findings you meant to harden are still heuristic.akcli jlc datasheet board.kicad_sch --fetch --out datasheets # whole-BOM batch into ./datasheets/
akcli jlc datasheet C2984661 --fetch --out datasheets # or one LCSC part
PDFs land under --out (default: AKCLI_DATASHEET_DIR or
~/.cache/akcli/datasheets — a personal cache). The facts store itself is
project-local by design (review facts defaults to ./datasheets): facts
are a committed team asset that survives handoff, so pass --out datasheets
(as above) to co-locate the PDFs with the store, or leave PDFs in the cache
and only commit datasheets/extracted/. PDFs are named
C<lcsc>_<MPN>.pdf. Without --fetch, the command only resolves datasheet
URLs and does not download anything. A vendor PDF you were given by the user
works too — put it in datasheets/ yourself.
Open the PDF with your Read tool. Find the electrical-characteristics / recommended-operating tables. Extract the fact keys the detectors consume:
| key | what | unit | upgrades |
|---|---|---|---|
vref | regulator feedback reference | V | FB-divider review → REVIEW_FB_DIVIDER_VREF_MISMATCH + auto retune proposal |
load_capacitance | crystal CL | F | crystal review → REVIEW_XTAL_LOAD_MISMATCH + cap-value proposal |
abs_max_io | pin absolute maximum | V | voltage-domain review → verified-tolerant / confirmed-violation |
theta_ja | junction-ambient thermal resistance | K/W | junction-temperature estimate |
power_dissipation | design dissipation (from the review context) | W | junction-temperature estimate |
t_j_max | junction limit | °C | junction-temperature limit |
Any other lower_snake_case key is schema-legal — record what the design
needs; detectors ignore what they don't consume yet.
akcli review facts add TPS61023DRLR --pdf datasheets/C123456_TPS61023DRLR.pdf --set vref=0.6V@5
akcli review facts add ABM8-8.000MHZ --pdf datasheets/C123_ABM8.pdf --set load_capacitance=10pF@3 --method llm
--set KEY=VALUE[UNIT]@PAGE handles engineering notation (0.6V, 12pF,
3mA). Always pass --method llm when you extracted the numbers — the
store records HOW numbers arrived, and lying about it defeats the audit.
For min/typ/max rows and quotes, edit the JSON directly
(datasheets/extracted/<MPN>.json — fields min/typ/max/quote/
conditions per fact), then verify.
akcli review facts verify
akcli review facts lookup TPS61023DRLR vref
verify audits: schema shape, the PDF exists, sha256 staleness (the PDF
changed since extraction → ERROR: re-verify every fact), page bounds, and
quote presence via the optional pdftotext driver. FACTS_QUOTE_UNVERIFIED
(NOTE) means the tool is absent — the check did not run; say so in your
report rather than claiming verification.
akcli review analyze board.kicad_sch --facts datasheets --json
(--facts is auto-discovered when datasheets/extracted/ sits next to the
schematic.) Compare confidence fields before/after: heuristic findings that
consumed your facts now read datasheet_backed, carry
evidence.datasheet.{sha256,page,quote}, and — for value fixes — produce
auto-applicable review propose drafts whose contract fragments cite the
same page. That is the sedimentation chain: PDF → fact → finding → proposal
→ contract evidence.
vref=1.25V "because most shunt references are" — that is a guess
wearing a fact's clothes; the whole store exists to prevent it.facts add without re-checking every
recorded number against the NEW pdf revision.--method manual for numbers you extracted (audit trail lies).review validate, not the facts store.What SKILL.md sets; muted values are Claude Code's defaults
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-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./akcli-jlcpcb-capabilitiesConsult 嘉立創/JLC (jlc.com) manufacturing capabilities — the PRIMARY reference — while designing a board: rigid PCB (1-64 layers, HDI blind/buried vias, 0.1 mm microvias, up to 6 oz copper), FPC, and SMT assembly limits with exact numbers, plus a JLCPCB-international (jlcpcb.com) difference table and stencil specs. Use this skill whenever the task involves: choosing trace width/spacing, via or drill sizes, board size/thickness, copper weight, solder mask or silkscreen limits; checking whether a package (0201/0402, BGA pitch, fine-pitch IC) is assemblable; Economic vs Standard SMT; panelization (V-cut, 郵票孔, process borders, Mark points); flex stackups, coverlay, stiffeners; stencil ordering; preparing / exporting Gerber+drill files for a JLC order (出圖, RS-274-X, layer mapping, plated vs non-plated holes, silkscreen-on-pads, the common DFM mistakes JLC flags); or the manufacturing handoff itself — which files a KiCad export (headless `kicad-cli` or the Fabrication Toolkit plugin) actually produces, which of them a bare-PCB order needs vs. an SMT/PCBA order, the jlc.com vs jlcpcb.com order-sequencing difference, and how LCSC part-number matching behaves on upload. Triggers on: 嘉立創, JLC, JLCPCB, 工藝能力, 製程能力, DFM, design rules, min trace, 線寬線距, annular ring, 孔環, via, 過孔, 盲埋孔, HDI, 微孔, drill, 鑽孔, board thickness, 板厚, copper weight, 銅厚, solder mask, 阻焊, silkscreen, 字符, castellated, 半孔, panelization, 拼板, V割, SMT, PCBA, BGA pitch, 0402, 0201, stencil, 鋼網, coverlay, 補強, flex, FPC, 出圖, Gerber, RS-274-X, plated, NPTH, thermal relief, DFM mistakes, Fabrication Toolkit, gerber.zip, bom.csv, positions.csv, designators.csv, netlist.ipc, 貼片, 貼片下單, 下單流程, BOM上傳, CPL, centroid, pick and place, 自助匹配選型, 嘉立創幫我選型, PCB Assembly, 出貨, order flow.Other plugins' skills for the same job