[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EJ3MVY4B6SBMY45WTY7C8V":3,"skill-same:01M7EJ3MVY4B6SBMY45WTY7C8V":78},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":14,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":46},"01M7EJ3MVY4B6SBMY45WTY7C8V","use-kicad-cli",null,"Drives the KiCad command-line interface (`kicad-cli`, version 9.0) to export schematics and PCBs, produce fabrication outputs, and run design checks. This skill should be used when the user asks to export gerbers, drill, or pick-and-place files, generate a BOM or netlist, run ERC or DRC (including in CI), export a STEP\u002F3D model or PDF\u002FSVG, upgrade KiCad symbol\u002Ffootprint libraries, or run a KiCad job set. Invoked via \"\u002Fhardware:use-kicad-cli\".","OzcanOrhanDemirci\u002FMode_Code","OzcanOrhanDemirci","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121283180?v=4","01M7EHZJ2ZRPZ3SQE0WD2TQK9Z","Özcan Orhan Demirci","01M7EHZJ3GX6AWZ3P0NW6J4HV6",0,"MIT","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills-external\u002Fuse-kicad-cli\u002FLICENSE.source","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills-external\u002Fuse-kicad-cli\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: use-kicad-cli\ndescription: Drives the KiCad command-line interface (`kicad-cli`, version 9.0) to export schematics and PCBs, produce fabrication outputs, and run design checks. This skill should be used when the user asks to export gerbers, drill, or pick-and-place files, generate a BOM or netlist, run ERC or DRC (including in CI), export a STEP\u002F3D model or PDF\u002FSVG, upgrade KiCad symbol\u002Ffootprint libraries, or run a KiCad job set. Invoked via \"\u002Fhardware:use-kicad-cli\".\nuser-invocable: true\nlicense: MIT\nmetadata:\n  version: \"1.0\"\n---\n\n# Use kicad-cli\n\nGenerate fabrication, documentation, and 3D outputs from KiCad projects, and run electrical\u002Fdesign 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`.\n\n## Process\n\n1. 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.\n2. Locate and verify the binary before running anything (see \"Locating the binary\"). Run `kicad-cli version` first to confirm it works.\n3. Load the matching reference file and use its exact flags. Do not invent flags — when unsure, run `kicad-cli \u003Cgroup> \u003Ccommand> -h`.\n4. Build the command, create any output directory first, then run it. Report the produced files (and, for checks, the exit code plus report path).\n\n## CRITICAL operating rules\n\n- **macOS binary is not on PATH.** On macOS it lives at `\u002FApplications\u002FKiCad\u002FKiCad.app\u002FContents\u002FMacOS\u002Fkicad-cli`. On Linux `kicad-cli` is on PATH; on Windows it is `kicad-cli.exe` in the KiCad `bin` folder. MUST confirm with `kicad-cli version` before building a pipeline.\n- **Checks silently pass without `--exit-code-violations`.** `pcb drc` and `sch erc` exit `0` by default even when violations exist — they only write a report. MUST pass `--exit-code-violations` to get exit `5` when violations are found. In CI, treat exit `5` as \"violations found\"; other non-zero codes are tool\u002FIO errors. See `references\u002Fchecks.md`.\n- **`--output` is a directory for some commands, a file for others.** Directory: `pcb export gerbers`, `pcb export drill`, `*\u002Fexport svg` (multi-file). File: `pcb export pdf`, `pcb export step`, `pcb export pos`, single-file exports. Create the directory first; never assume deep auto-creation.\n- **Use `pcb export gerbers` (plural).** The singular `pcb export gerber` is deprecated in 9.0 and removed in 10.0.\n- **Stamp variables with `--define-var KEY=VALUE`** (`-D`) to override project text variables (e.g. `${REV}`) at export time instead of editing the board. Protect KiCad field variables like `${QUANTITY}` with single quotes in the shell so they are not expanded.\n- **Never hardcode the DRC\u002FERC JSON schema.** `--format json` is supported but its field names are not officially documented — generate a sample and inspect it before parsing.\n- **CI without a display:** `kicad-cli` generally runs headless, but some operations expect an X display. The robust pattern is the official `kicad\u002Fkicad:9.0` Docker image, or `Xvfb :99 -ac -nolisten tcp &` then `export DISPLAY=:99`. See `references\u002Fsetup.md`.\n\n## Command map\n\n| User wants | Command | Reference |\n|---|---|---|\n| Gerbers \u002F drill \u002F pick-and-place | `pcb export gerbers` \u002F `drill` \u002F `pos` | `references\u002Fpcb-export.md` |\n| Board PDF \u002F SVG \u002F DXF | `pcb export pdf` \u002F `svg` \u002F `dxf` | `references\u002Fpcb-export.md` |\n| 3D model (STEP\u002FGLB\u002FVRML\u002F…) | `pcb export step` \u002F `glb` \u002F `vrml` | `references\u002Fpcb-export.md` |\n| IPC-2581 \u002F IPC-D-356 \u002F ODB++ | `pcb export ipc2581` \u002F `ipcd356` \u002F `odb` | `references\u002Fpcb-export.md` |\n| Board render (PNG\u002FJPEG) | `pcb render` | `references\u002Fpcb-export.md` |\n| Schematic PDF \u002F SVG \u002F DXF \u002F PS \u002F HPGL | `sch export \u003Cfmt>` | `references\u002Fsch-export.md` |\n| BOM \u002F netlist | `sch export bom` \u002F `netlist` | `references\u002Fsch-export.md` |\n| Design \u002F electrical rule check | `pcb drc` \u002F `sch erc` | `references\u002Fchecks.md` |\n| Symbol\u002Ffootprint SVG or library upgrade | `sym ...` \u002F `fp ...` | `references\u002Fsym-fp-jobset.md` |\n| Reproducible batch of outputs | `jobset run` | `references\u002Fsym-fp-jobset.md` |\n| End-to-end recipes | — | `references\u002Fworkflows.md` |\n\n## Locating the binary\n\nTry, in order: `kicad-cli` on PATH; macOS `\u002FApplications\u002FKiCad\u002FKiCad.app\u002FContents\u002FMacOS\u002Fkicad-cli`; Windows `C:\\Program Files\\KiCad\\9.0\\bin\\kicad-cli.exe`. Assign the resolved path to a shell variable and reuse it:\n\n```bash\nKCLI=$(command -v kicad-cli || echo \u002FApplications\u002FKiCad\u002FKiCad.app\u002FContents\u002FMacOS\u002Fkicad-cli)\n\"$KCLI\" version\n```\n\nIf none works, tell the user KiCad 9.0 is not installed or ask for the install path.\n\n## References\n\n- `references\u002Fsetup.md` — locating the binary cross-platform, headless\u002FCI setup, `version`, global options (`--define-var`, `--output` semantics), gotchas.\n- `references\u002Fpcb-export.md` — every `pcb export` subcommand (gerbers, drill, pos, pdf, svg, dxf, step, glb, vrml, ipc2581, ipcd356, odb, others) plus `pcb render`.\n- `references\u002Fsch-export.md` — `sch export` pdf\u002Fsvg\u002Fdxf\u002Fps\u002Fhpgl, netlist, bom, python-bom.\n- `references\u002Fchecks.md` — `pcb drc` and `sch erc`: flags, severity, exit codes, JSON caveat, CI gating.\n- `references\u002Fsym-fp-jobset.md` — `sym` and `fp` export\u002Fupgrade, and `jobset run`.\n- `references\u002Fworkflows.md` — end-to-end recipes (fab package, CI checks, schematic PDF, STEP model, job set).\n","# Use kicad-cli\n\nGenerate fabrication, documentation, and 3D outputs from KiCad projects, and run electrical\u002Fdesign 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`.\n\n## Process\n\n1. 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.\n2. Locate and verify the binary before running anything (see \"Locating the binary\"). Run `kicad-cli version` first to confirm it works.\n3. Load the matching reference file and use its exact flags. Do not invent flags — when unsure, run `kicad-cli \u003Cgroup> \u003Ccommand> -h`.\n4. Build the command, create any output directory first, then run it. Report the produced files (and, for checks, the exit code plus report path).\n\n## CRITICAL operating rules\n\n- **macOS binary is not on PATH.** On macOS it lives at `\u002FApplications\u002FKiCad\u002FKiCad.app\u002FContents\u002FMacOS\u002Fkicad-cli`. On Linux `kicad-cli` is on PATH; on Windows it is `kicad-cli.exe` in the KiCad `bin` folder. MUST confirm with `kicad-cli version` before building a pipeline.\n- **Checks silently pass without `--exit-code-violations`.** `pcb drc` and `sch erc` exit `0` by default even when violations exist — they only write a report. MUST pass `--exit-code-violations` to get exit `5` when violations are found. In CI, treat exit `5` as \"violations found\"; other non-zero codes are tool\u002FIO errors. See `references\u002Fchecks.md`.\n- **`--output` is a directory for some commands, a file for others.** Directory: `pcb export gerbers`, `pcb export drill`, `*\u002Fexport svg` (multi-file). File: `pcb export pdf`, `pcb export step`, `pcb export pos`, single-file exports. Create the directory first; never assume deep auto-creation.\n- **Use `pcb export gerbers` (plural).** The singular `pcb export gerber` is deprecated in 9.0 and removed in 10.0.\n- **Stamp variables with `--define-var KEY=VALUE`** (`-D`) to override project text variables (e.g. `${REV}`) at export time instead of editing the board. Protect KiCad field variables like `${QUANTITY}` with single quotes in the shell so they are not expanded.\n- **Never hardcode the DRC\u002FERC JSON schema.** `--format json` is supported but its field names are not officially documented — generate a sample and inspect it before parsing.\n- **CI without a display:** `kicad-cli` generally runs headless, but some operations expect an X display. The robust pattern is the official `kicad\u002Fkicad:9.0` Docker image, or `Xvfb :99 -ac -nolisten tcp &` then `export DISPLAY=:99`. See `references\u002Fsetup.md`.\n\n## Command map\n\n| User wants | Command | Reference |\n|---|---|---|\n| Gerbers \u002F drill \u002F pick-and-place | `pcb export gerbers` \u002F `drill` \u002F `pos` | `references\u002Fpcb-export.md` |\n| Board PDF \u002F SVG \u002F DXF | `pcb export pdf` \u002F `svg` \u002F `dxf` | `references\u002Fpcb-export.md` |\n| 3D model (STEP\u002FGLB\u002FVRML\u002F…) | `pcb export step` \u002F `glb` \u002F `vrml` | `references\u002Fpcb-export.md` |\n| IPC-2581 \u002F IPC-D-356 \u002F ODB++ | `pcb export ipc2581` \u002F `ipcd356` \u002F `odb` | `references\u002Fpcb-export.md` |\n| Board render (PNG\u002FJPEG) | `pcb render` | `references\u002Fpcb-export.md` |\n| Schematic PDF \u002F SVG \u002F DXF \u002F PS \u002F HPGL | `sch export \u003Cfmt>` | `references\u002Fsch-export.md` |\n| BOM \u002F netlist | `sch export bom` \u002F `netlist` | `references\u002Fsch-export.md` |\n| Design \u002F electrical rule check | `pcb drc` \u002F `sch erc` | `references\u002Fchecks.md` |\n| Symbol\u002Ffootprint SVG or library upgrade | `sym ...` \u002F `fp ...` | `references\u002Fsym-fp-jobset.md` |\n| Reproducible batch of outputs | `jobset run` | `references\u002Fsym-fp-jobset.md` |\n| End-to-end recipes | — | `references\u002Fworkflows.md` |\n\n## Locating the binary\n\nTry, in order: `kicad-cli` on PATH; macOS `\u002FApplications\u002FKiCad\u002FKiCad.app\u002FContents\u002FMacOS\u002Fkicad-cli`; Windows `C:\\Program Files\\KiCad\\9.0\\bin\\kicad-cli.exe`. Assign the resolved path to a shell variable and reuse it:\n\n```bash\nKCLI=$(command -v kicad-cli || echo \u002FApplications\u002FKiCad\u002FKiCad.app\u002FContents\u002FMacOS\u002Fkicad-cli)\n\"$KCLI\" version\n```\n\nIf none works, tell the user KiCad 9.0 is not installed or ask for the install path.\n\n## References\n\n- `references\u002Fsetup.md` — locating the binary cross-platform, headless\u002FCI setup, `version`, global options (`--define-var`, `--output` semantics), gotchas.\n- `references\u002Fpcb-export.md` — every `pcb export` subcommand (gerbers, drill, pos, pdf, svg, dxf, step, glb, vrml, ipc2581, ipcd356, odb, others) plus `pcb render`.\n- `references\u002Fsch-export.md` — `sch export` pdf\u002Fsvg\u002Fdxf\u002Fps\u002Fhpgl, netlist, bom, python-bom.\n- `references\u002Fchecks.md` — `pcb drc` and `sch erc`: flags, severity, exit codes, JSON caveat, CI gating.\n- `references\u002Fsym-fp-jobset.md` — `sym` and `fp` export\u002Fupgrade, and `jobset run`.\n- `references\u002Fworkflows.md` — end-to-end recipes (fab package, CI checks, schematic PDF, STEP model, job set).\n",{"name":5,"license":15,"metadata":25,"description":7,"user-invocable":27},{"version":26},"1.0",true,"main","2efa23a75aae77f2552978f93b467264812fc436","skills-external\u002Fuse-kicad-cli","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci","2026-11-03 22:11:38",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":27},[36,39,42],{"tool":37,"command":38},"npx","npx skills add OzcanOrhanDemirci\u002FMode_Code --skill use-kicad-cli",{"tool":40,"command":41},"bunx","bunx skills add OzcanOrhanDemirci\u002FMode_Code --skill use-kicad-cli",{"tool":43,"command":44},"pnpm","pnpm dlx skills add OzcanOrhanDemirci\u002FMode_Code --skill use-kicad-cli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills-external\u002Fuse-kicad-cli\u002FSKILL.md",[47,52,58,62,66,70,74],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":16},"LICENSE.source","LICENSE","许可证",1065,{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fchecks.md","REFERENCE","参考文档",2663,"https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills-external\u002Fuse-kicad-cli\u002Freferences\u002Fchecks.md",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fpcb-export.md",6486,"https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills-external\u002Fuse-kicad-cli\u002Freferences\u002Fpcb-export.md",{"path":63,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Fsch-export.md",2587,"https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills-external\u002Fuse-kicad-cli\u002Freferences\u002Fsch-export.md",{"path":67,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fsetup.md",2788,"https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills-external\u002Fuse-kicad-cli\u002Freferences\u002Fsetup.md",{"path":71,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fsym-fp-jobset.md",2029,"https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills-external\u002Fuse-kicad-cli\u002Freferences\u002Fsym-fp-jobset.md",{"path":75,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fworkflows.md",2082,"https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills-external\u002Fuse-kicad-cli\u002Freferences\u002Fworkflows.md",[79,87,94,101,108,115],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":20},"01M7EJ63F7XYXF9CWC5PV0NRVH","verify","Verify the current work with fresh evidence before calling it done; run by the person.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills\u002Fverify\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":20},"01M7EJ5ZH7FNKBPT0EZQW7BEEM","turkish-text","Check Turkish text in this project (docs, app strings, store listings) for long dashes and the question particle's vowel harmony, then read for what a script cannot judge; run by the person.","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills\u002Fturkish-text\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":20},"01M7EJ5VSERBFR0GZ18H4GCWA9","trust-audit","Audit what runs inside Claude Code besides the model (plugins, hooks, MCP servers, skills) for what it could do; run by the person.","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills\u002Ftrust-audit\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":20},"01M7EJ5SBRX3N6ZFYTZP302YDF","store-check","Check whether this app project is ready for the App Store and Google Play, measured file by file and in the built package; run by the person.","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills\u002Fstore-check\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":20},"01M7EJ5QF30FZ0KWT18N587V1K","session-search","Find a past Claude Code session on this computer by what was said or done in it; run by the person.","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills\u002Fsession-search\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":20},"01M7EJ5N5C66CBN83YK0B6H06J","security","Check this project for secrets in files and history, vulnerable dependencies and risky settings; run by the person.","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills\u002Fsecurity\u002FSKILL.md",[],[]]