Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

schematic-reader

БесплатноЗапускает вложенные скриптыНе проверен

原理图识别:把 Altium .PrjPCB、Cadence .DSN、KiCad .kicad_pro、立创 EDA .eprj3、OrCAD .dat、EAGLE .sch、netlist.json 解析成引脚级网表,查器件/网络/连通性、跑 ERC…

liujycodeот liujycode190 установок в других каталогах

Об этом скилле

Schematic Reader

Tested baselines: Altium PCA10056 (344 components / 236 nets, SHA-256 stable across reruns), KiCad CM5 carrier (U1 pin-level correct), Cadence MULTIO (with component notes), LCEDA official samples; vector PDF 12 pages -> 381 refdes; all 11 MCP tools tested individually. ERC triage calibration: CM5 carrier 126 single_pin -> 63 unconnected + 63 module-side + 0 manual; PCA10056's 2 are DNS decoupling pins. When bucket-3 is empty, report "no substantive issues".

Turns the user's schematic files into structured data by tier, for the LLM to reason over. Core discipline: facts only, no conclusions; deterministic first — when uncertain, downgrade and say so, never guess.

Step 1: Identify the Tier (do this first)

Tier Input Capability Confidence
L1 full .PrjPCB / .DSN / .kicad_pro (or root .kicad_sch) Pin-level netlist: components, nets, connectivity, ERC Certain (parser reads, not infers)
L1-J universal .netlist.json (universal-netlist export or any tool's) Same queries as L1, pure Python locally (no MCP/Node) Certain (schema hard check; hash soft check)
L1-D OrCAD netlist .dat trio (pstxnet/pstxprt/pstchip, same dir) Pin-level netlist + PART_VALUE + pin function names, pure Python Certain (text parse; no variant/DNS — that lives in .DSN)
L1-E Eagle .sch (EAGLE 6+ XML) Pin-level netlist (explicit signal/pinref connectivity), pure Python Certain (XML parse; 5-and-below binary rejected with guidance)
L2 preview Vector PDF from EDA (has text layer) refdes list, net labels, page structure, page locator Partial (no connectivity; must declare)
L3 reject Scanned PDF / image / text-less PDF / EAGLE 5-and-below binary / LTspice .asc No guessing Tagged "unreliable"; ask for L1/L2 files

Decision method:

  • Extension decides: L1 formats go straight to step 2; .netlist.json runs netlist_json.py; a directory input triggers auto-discovery of projects inside (or run python un_mcp.py designs <dir>).
  • KiCad .net alone will not work (tested: upstream requires the project entry) — give .kicad_pro; the parser auto-uses the adjacent .net.
  • PDF: probe the text layer with python scripts/pdf_probe.py <file.pdf> — refdes/net-label structure means L2; pure images mean L3.
  • L3 fixed response: "This file cannot be identified at pin level (scanned/image). Export from your EDA: Altium -> Smart PDF or project package; KiCad -> File > Export > Schematic PDF or provide .kicad_pro."

Step 2: L1 Full Parse (universal-netlist, three auto-selected channels)

Launch channels (script picks automatically): native binary (%LOCALAPPDATA%\universal-netlist\bin\universal-netlist-windows-x64.exe, no Node needed) -> managed npx -> PATH npx. Install native via the upstream PowerShell one-liner. If the host has the universal-netlist connector enabled, MCP tools work equally.

stdio client commands:

python scripts/un_mcp.py tools                              # 11 tools
python scripts/un_mcp.py designs <dir>                      # discover projects
python scripts/un_mcp.py overview <design>                  # stats + MCU candidates + power nets
python scripts/un_mcp.py nets <design>                      # all nets
python scripts/un_mcp.py components <design>                # full component list (auto prefix discovery)
python scripts/un_mcp.py comp <design> U1                   # one component: all pins + MPN + description
python scripts/un_mcp.py xnet <design> --net VDD_nRF        # connectivity chain by net
python scripts/un_mcp.py xnet <design> --pin U1.H23         # connectivity chain from pin
python scripts/un_mcp.py search <design> --nets --pattern "SWD"
python scripts/un_mcp.py search <design> --by mpn --pattern "TPS"
python scripts/un_mcp.py erc <design>                       # raw ERC
python scripts/un_mcp.py erc <design> --triage              # ERC + single_pin triage (recommended)
python scripts/un_mcp.py variants <design>                  # list variants
python scripts/un_mcp.py vdns <design> <variant>            # DNS list for a variant
python scripts/un_mcp.py vdiff <design> <A> <B>             # variant diff
python scripts/un_mcp.py export <design> [out.json]         # export-json -> local netlist_json.py (ms-level)
python scripts/un_mcp.py call <tool> --design <d> --args '{"json":...}'

Design preflight built in: missing path / lone .SchDoc (hints sibling .PrjPcb) / bad extension -> precise guidance, never a raw stack trace.

list_components prefix self-discovery: type is required with no wildcard — the script triggers one type:"*" error, parses Available prefixes: [...], then iterates the real prefix set (PCA10056: 16 prefixes incl. FID/BAT; KiCad CM5: H/M/MODULE/USB). Never hardcode a static prefix table.

Cadence .dat trio (OrCAD third-party netlist) — custom parser (MCP does not support it):

python scripts/cadence_dat_parse.py <dir-
Полный SKILL.md на ClawHub

Установить schematic-reader в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл schematic-reader?

原理图识别:把 Altium .PrjPCB、Cadence .DSN、KiCad .kicad_pro、立创 EDA .eprj3、OrCAD .dat、EAGLE .sch、netlist.json 解析成引脚级网表,查器件/网络/连通性、跑 ERC 枚举。触发词:原理图识别、网表提取、信号追踪、schematic parsing、netlist。只出确定性解析事实,不做审查判断。

Как установить скилл schematic-reader?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл schematic-reader запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить schematic-reader с