본문으로 건너뛰기
cccskills
무료GitHub에 공개

kicad-gen

Generate KiCad schematics from a Circuit Weaver design.yaml or a project's own checked-in generator. Use for large, repetitive, or machine-synchronized designs. Prefer the Circuit Weaver CLI unless the project actually contains and documents its own generation scripts.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

When to Use

  • BGA/QFN devices with 100+ pins -- manual placement is error-prone
  • Multi-sheet designs where repetitive structure can be scripted
  • Pin maps derived from datasheet tables or CSV (auto-assign ball-to-net)
  • Schematic must stay synchronized with a separate spec or pin database

Workflow

1. Define components and pin maps in design.yaml
2. Generate sheets   -> circuit-weaver generate
3. Require real ERC  -> circuit-weaver generate --require-kicad
4. Review in KiCad   -> open .kicad_sch files, run Update PCB from Schematic

Give each block a stable unique id and functional section. Circuit Weaver preserves explicit sections as separate sheets, keeps generated support parts with their owning block, and disambiguates sanitized sheet filenames. Read the root and child paths from artifact_manifest.json; never guess main.kicad_sch.

Project-Specific Setup

Spec: ${SPEC_PATH} Output directory: ${OUTPUT_DIR}

If a project supplies custom scripts, record their checked-in paths here. Do not invoke scripts/generate_schematics.py or scripts/pin_maps.py unless those files exist in the current project.

Edit this file to record:

  • Which ICs are generated vs hand-drawn
  • Pin coverage per IC (total pins, mapped pins, no-connect pins)
  • How to re-run generation after spec changes

KiCad Format Rules (Critical)

  • _0_1/_1_1 sub-units REQUIRED -- SnapEDA flat format fails silently without them
  • lib_id in schematic instances: bare names (no library: prefix)
  • Power symbols: bare lib_id (e.g. "VCC" not "power:VCC"), (power) flag required
  • 1.27mm grid: all pin endpoints, labels, wires must snap to round(val / 1.27) * 1.27
  • Wire stubs REQUIRED between pins and labels -- labels at pin endpoints without wires do not reliably connect
  • Version 20231120 (KiCad 8+) for per-symbol instances blocks

Regeneration Protocol

# Transactionally regenerate and require the exact final hierarchy to pass a
# real installed kicad-cli ERC run.
circuit-weaver generate "${SPEC_PATH}" --output "${OUTPUT_DIR}" --require-kicad

# Then in KiCad GUI: Tools -> Update PCB from Schematic

Read valid, kicad_verified, verification_status, and erc from artifact_manifest.json. Internal validation alone is not real KiCad verification. If --require-kicad cannot run or ERC fails, generation fails; do not claim release-quality artifacts.

Never hand-edit generated .kicad_sch files -- changes will be overwritten on next generation.

Pin Coverage Tracking

ICTotal pinsMappedNo-connectCoverage
(fill in)

Common Issues

Silent connection failure: Labels placed directly on pin endpoints without a wire stub. Fix: generate wire + label pairs, not label-only.

PCB import failure: Version mismatch -- KiCad 7 expects root-level symbol_instances; KiCad 8+ uses per-symbol instances blocks. Use version 20231120 for KiCad 8+ compatibility.

Symbol not recognized: SnapEDA flat format lacks _0_1/_1_1 sub-unit notation. Rebuild the symbol from scratch using the KiCad S-expression format.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

autoroute

무료

Route non-critical nets on a real KiCad PCB or Specctra DSN through Circuit Weaver's fail-closed Freerouting integration. Use after placement and net-class setup when the user requests autorouting, a validated SES session, routing diagnostics, or post-route cleanup. Keep critical power, RF, clock, crystal, switching, and differential nets manual.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mattpainter701/kicad_automations212026년 10월 20일 업데이트

bom

무료

Manage an electronics bill of materials across distributors and fabricators: part selection, stock, pricing, alternates, ordering, KiCad properties, and BOM/CPL export. Use for distributor-neutral sourcing, cost comparison, order preparation, or requests such as "what parts do I need" and "export for JLCPCB". Do not take over schematic analysis or a complete new-design workflow unless the requested task is specifically its sourcing/manufacturing stage.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mattpainter701/kicad_automations212026년 10월 20일 업데이트

bom

무료

BOM management, sourcing, pricing, export, and fabrication preparation. Load the canonical Circuit Weaver skill from `skills/bom/SKILL.md`.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mattpainter701/kicad_automations212026년 10월 20일 업데이트

Create, import, analyze, resume, or revise an end-to-end Circuit Weaver electronic design from requirements through validated functional KiCad schematics, placement review, and a truthful manufacturing handoff. Use for new designs and for existing KiCad/PCB/Gerber projects that need durable state. Use kicad for one-off file inspection, bom for standalone sourcing, and design-wizard only when the user explicitly requests the slower questionnaire.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mattpainter701/kicad_automations212026년 10월 20일 업데이트

Create, import, analyze, or resume an end-to-end Circuit Weaver electronic design with durable project state. Load the canonical workflow from skills/circuit-weaver/SKILL.md. Use kicad for one-off file inspection, bom for sourcing, and design-wizard only when explicitly requested.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mattpainter701/kicad_automations212026년 10월 20일 업데이트

Use only for an explicitly requested step-by-step Circuit Weaver questionnaire. Load the canonical workflow from skills/design-wizard/SKILL.md; use circuit-weaver for ordinary automatic new-design requests.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mattpainter701/kicad_automations212026년 10월 20일 업데이트

mattpainter701의 스킬 모두 보기

이 스킬의 문제 신고