kicad-fab SKILL.md skillA

kicad-fab from avatarsd/kiskill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add avatarsd/kiskill/kicad-fab@git:20260611.db3c74c

Pins git:20260611.db3c74c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
avatarsd/kiskill
Path
skills/kicad-fab/SKILL.md
Versions recorded
3
Latest version
git:20260611.db3c74c, committed Jun 11, 2026
First version recorded
Jun 11, 2026
Size
1,367 bytes
Repository stars
7
License
MIT

Produce fabrication outputs for a KiCad project: grouped engineering BOM, JLCPCB-format BOM and CPL placement file, gerbers and excellon drill. Use when asked to export a BOM, prepare files for JLCPCB/PCBWay, generate gerbers, or package a board for manufacturing.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Fabrication outputs

Engine: `$(kx root)/kicad_lib/fab.py`. One call:

    python3 -m kicad_lib.cli fab SCH PCB OUTDIR     # either may be "-"

Produces: `bom.csv` (grouped by Value+Footprint, Qty column),
`bom_jlc.csv` (Comment/Designator/Footprint/LCSC Part #, DNP excluded),
`gerbers/` (+ excellon .drl), `cpl.csv` (mm, both sides).

## Notes

- JLC assembly needs an **LCSC field on each symbol** — full snippet
  (PYTHONPATH=<repo>): `doc = sexp.load_file(SCH);
  ops.set_prop(doc, "R1", "LCSC", "C25804");
  sexp.save_file(SCH, doc)` — save_file takes PATH FIRST.
  (`kx fetch` tells you the id.)
- Group key is Value+Footprint: identical parts collapse to one row with
  ranges (R1,R2 / Qty 2). DNP parts are excluded from the JLC BOM only.
- Power symbols/flags never reach the BOM (KiCad excludes # refs).
- Gerber sanity: count layers (≥ F.Cu/B.Cu/Edge.Cuts + masks/silk) and
  open one in the render if the board matters.
- Variants (KiCad 10): pass `--variant` via fab.py extension if a
  project uses them — not wired into kx yet.

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add avatarsd/kiskill/kicad-fab@sha256:35256b03d440f52e

The line at the top of this page pins the label git:20260611.db3c74c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_h2t7l57bu5qnpo67.svg)](https://markdownregistry.com/a/art_h2t7l57bu5qnpo67)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, all committed on Jun 11, 2026.

versioncommittedcommitsizeaudit
git:20260611.db3c74c latest2026-06-11 db3c74c 1,367 BA view · diff
git:20260611.1e680ba2026-06-11 1e680ba 1,390 BA view · diff
git:20260611.25d916e2026-06-11 25d916e 1,271 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1367 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

avatarsd/kiskill · 7 stars · license MIT · pushed 2026-10-18 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_h2t7l57bu5qnpo67
GET https://markdownregistry.com/api/v1/resolve?ref=avatarsd/kiskill/kicad-fab
GET https://markdownregistry.com/api/v1/blob/35256b03d440f52ee68e2d798aeaaded4b72d05633265d2ca05fd38e2fbc09f8

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from avatarsd/kiskill

DESIGN.md@doc DESIGN.md file
avatarsd/kiskill · doc/DESIGN.md
git:20261018.c096caf · audit A · 7 stars
kicad-component SKILL.md skill
avatarsd/kiskill · skills/kicad-component/SKILL.md · Find, fetch, and register KiCad components: search local/official symbol and footprint libraries, download missing…
git:20261018.c096caf · audit A · 7 stars
kicad-emsim SKILL.md skill
avatarsd/kiskill · skills/kicad-emsim/SKILL.md · Electromagnetic field simulation of a KiCad board via gerber2ems + openEMS (dockerized, headless): S-parameters…
git:20260611.db3c74c · audit A · 7 stars
kicad-improve SKILL.md skill
avatarsd/kiskill · skills/kicad-improve/SKILL.md · Self-improvement loop for the kicad skill pack: each tick picks one backlog item, researches forums if needed…
git:20260611.db3c74c · audit A · 7 stars
kicad-layout SKILL.md skill
avatarsd/kiskill · skills/kicad-layout/SKILL.md · Autoroute a KiCad board headlessly: schematic → staged footprints → placement → freerouting → routed .kicad_pcb…
git:20261017.6615543 · audit A · 7 stars
kicad-pcb SKILL.md skill
avatarsd/kiskill · skills/kicad-pcb/SKILL.md · Stage footprints on a KiCad PCB so Update-PCB-from-Schematic adopts them without duplicates, probe board geometry, run…
git:20261017.6615543 · audit A · 7 stars
kicad-project SKILL.md skill
avatarsd/kiskill · skills/kicad-project/SKILL.md · Open, inspect, and safely manipulate any KiCad project through the CLEAN→PROBED→STAGED→VERIFIED→RENDERED→REVIEWED→COMMIT…
git:20261017.79a320e · audit A · 7 stars
kicad-review SKILL.md skill
avatarsd/kiskill · skills/kicad-review/SKILL.md · Review KiCad schematic/PCB changes with agent-readable evidence: visual pixel diff between revisions, semantic tree…
git:20260611.db3c74c · audit A · 7 stars
kicad-schematic SKILL.md skill
avatarsd/kiskill · skills/kicad-schematic/SKILL.md · Generate and modify KiCad schematics (.kicad_sch) and PCBs (.kicad_pcb) programmatically, with geometric verification…
git:20261018.ac33683 · audit A · 7 stars

Every file in avatarsd/kiskill

Browse by kind, by grade A, or by owner.