use-kicad-cli
Installation
SKILL.md
Use kicad-cli
Generate fabrication, documentation, and 3D outputs from KiCad projects, and run electrical/design rule checks, by driving kicad-cli — KiCad 9.0's command-line tool. It has six command groups: sch (schematic), pcb (board), sym (symbols), fp (footprints), jobset (batch job sets), and version.
Process
- Identify which artifact the user wants (fabrication files, BOM, a check, a 3D model, a PDF, a library upgrade) and map it to a command group with the table below.
- Locate and verify the binary before running anything (see "Locating the binary"). Run
kicad-cli versionfirst to confirm it works. - Load the matching reference file and use its exact flags. Do not invent flags — when unsure, run
kicad-cli <group> <command> -h. - Build the command, create any output directory first, then run it. Report the produced files (and, for checks, the exit code plus report path).