360 Secure SkillHub
360 安全技能中心

kicad-gerbers

该 Skill 指导使用 kicad-cli 按层生成 Gerber,并通过 pygerber 在虚拟环境中渲染为 PNG,供 LLM 目视检查意外短路、过孔相交及整体可制造性;若缺少 Gerber,可请求用户生成或自行生成到单独目录。

American-Embedded
热度 0.00
最近更新 2026-10-19 03:31:02
分类:自动化依赖:代码执行 / 读写文件 / 内部调用大模型应用场景:工作流 / 文件转换 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add american-embedded/kistack/kicad-gerbers
Metadata
name
kicad-gerbers
description
Generate, render, and visually review KiCad Gerber layers as a fabrication-output inspection step.

This skill allows an LLM to review generated GERBER files for production of a PCB.

If no generated GERBERs exist, please request for the user to generate them or generate them yourself for the purpose of review only, in a separate directory.

Generate GERBERs per layer with kicad-cli and then use pygerber in a venv to view them, rendered as images. uv pip install pygerber

For example:

'''To convert a Gerber file to PNG, use the pygerber gerber convert png command. For example, following command converts source.gbr (a copper layer) to a PNG at 600 DPMM resolution:

pygerber gerber convert png source.gbr -o output.png -d 600 -s copper_alpha'''

Ensure that their are no unexpected shorts, that vias do not intersect, and that overall the board appears to be fabricatable.