360 Secure SkillHub
360 安全技能中心

kicad-symbol

该 Skill 指导 LLM 从 LCSC 编号、HTML 引脚表或 PDF 与图片引脚表获取数据,按 KLC 规范生成并校验 KiCad 符号;支持引脚合并、交替功能和文本格式,并用 kicad-cli 渲染确认。依赖用户审核引脚表,相关标准与工具需另行获取。

American-Embedded
热度 0.00
最近更新 2026-10-19 03:31:04
分类:创作依赖:代码执行 / 读写文件 / 第三方 API应用场景:数据处理 / 工作流 / 模板 / 图像生成

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add american-embedded/kistack/kicad-symbol
Metadata
name
kicad-symbol
description
Generate compliant KiCad symbols

This skill allows an LLM to generate KiCad symbols using a variety of data sources, validated against KLC standards.

Setup

Clone the https://gitlab.com/kicad/libraries/klc standard. This includes a means of checking if a symbol is KLC compliant. In some cases, it is acceptable to be non-compliant but this should be the way, the truth, and the light for looping to create a compliant symbol. https://gitlab.com/kicad/libraries/kicad-library-tools can also be used to generate symbols if necessary, but this may not be a requirement.

Usage

  • If available, use easyeda2kicad for ground truth pin table. If this is not available, that's okay, but ask the user to install it. This takes an LCSC part number and returns a symbol if available.
  • If this doesn't help, look for the pin table in HTML format. If this fails, get an image of the pin table from a PDF and convert it there. These methods require the user to approve the pin table so please ask them to review it!
  • Use proper text formatting, pin formatting, and pin type. If there are alternate values for a pin, make sure you use alternates with proper pin type instead of creating a long list delimited with slashes! KiCad supports bars with ~{FOO} syntax, underscores with _{BAR}, and superscripts with ^{BAZ}.
  • Per KLC, keep inputs on the left, outputs on the right, grounds on the bottom, NC pins invisible and on outline of symbol, power pins on top. This isn't a hard and fast set of rules honestly but it's helpful.
  • Combine/stack pins whenever possible! Do not use legacy stacking, create a proper pin group that displays these pin number groups.
  • Render the symbol as an image to confirm that it looks correct. kicad-cli should be able to assist here.
  • Pins that are internally connected should be handled properly as well as a jumper group.