本文へ移動
cccskills
無料GitHub で公開

kicad-pcb-place

Review Circuit Weaver's exhaustive placement proposal and apply approved SVG coordinates to a real electrically annotated KiCad PCB. Use after schematic generation for placement optimization, official-reference review, interactive SVG editing, strict reference reconciliation, and PCB placement handoff. Do not treat review artifacts as fabrication data.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md4.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

KiCad PCB Placement

Separate the heuristic review proposal from the electrical PCB. Circuit Weaver does not generate a routable board during generate.

1. Generate and inspect the review bundle

circuit-weaver generate "${SPEC_PATH}" --output "${OUTPUT_DIR}"

Read these together:

  • assembly_manifest.json: exhaustive physical-part inventory, including generated support passives;
  • placement_result.json: proposed coordinates, exact reference reconciliation, quality findings, and fabrication_ready: false;
  • placement_review_context.json: board constraints, placement rules, review blockers, targeted research prompts, and official/reference-layout links;
  • placement.svg: editable vector proposal; and
  • placement_editor.html: interactive drag/review tool that can export SVG.

Stop when placement_result.json is blocked, inventories do not match, or the review gate reports unresolved overlaps, out-of-board parts, constraint violations, missing support parents, missing footprint geometry/dimensions, or unresolved sourcing. Never hide a blocker because the visual layout looks reasonable. Use manufacturer datasheets and reference layouts as authority.

For an alternate optimizer configuration, run:

circuit-weaver optimize-placement "${SPEC_PATH}" \
  --strategy balanced --iterations 5000 --seed 42 \
  --output "${OUTPUT_DIR}/placement.json"
circuit-weaver placement-viewer "${SPEC_PATH}" \
  --output "${OUTPUT_DIR}/placement.html"

2. Apply physical-placement judgment

Review at minimum:

  • connectors and controls against mechanical edges and enclosure constraints;
  • decoupling/strap/bootstrap parts against their owning IC pins;
  • regulator hot loops, switch-node copper, inductors, and current paths against the regulator reference layout;
  • crystal loops, RF matching, antenna keepouts, USB/differential entry paths, and sensitive analog feedback;
  • component rotations, pin-1 access, courtyard/rework spacing, thermal paths, fiducials, mounting hardware, and assembly-side constraints; and
  • all explicit keepouts and placement constraints in the context artifact.

Edit placement.svg with the interactive editor or a standards-compliant vector editor. Preserve each component's data-ref, transform, and layer metadata. Do not add or duplicate assembly references.

3. Create the real electrical PCB

Open the manifest-selected root schematic in KiCad, assign and verify every footprint, and run Update PCB from Schematic. Save a separate, pad-bearing, named-net .kicad_pcb. This is the only valid target for placement, routing, DFM, CPL, and Gerber work.

4. Reconcile and import the SVG

Dry-run first:

circuit-weaver import-placement "${OUTPUT_DIR}/placement.svg" \
  "${ELECTRICAL_PCB}" --output-pcb "${PLACED_PCB}" --dry-run

The default contract requires the SVG and PCB reference inventories to match exactly. Duplicate, unexpected, missing, malformed, or non-finite placements block publication. Apply only after the dry-run is clean:

circuit-weaver import-placement "${OUTPUT_DIR}/placement.svg" \
  "${ELECTRICAL_PCB}" --output-pcb "${PLACED_PCB}"

For a deliberate subset edit, opt in explicitly; unknown SVG references still fail:

circuit-weaver import-placement subset.svg "${ELECTRICAL_PCB}" \
  --output-pcb "${PLACED_PCB}" --allow-partial

The command updates an existing sibling <board-stem>_cpl.csv when present; it does not manufacture a trustworthy CPL from heuristic coordinates.

5. Verify in KiCad

  • Reopen the written board without repair prompts.
  • Confirm every assembly reference is present once with the intended footprint, side, rotation, and position.
  • Run courtyard and full DRC checks.
  • Check board-edge, connector, mounting, antenna, thermal, and height constraints against mechanical data.
  • Keep support passives adjacent to their owning pins and minimize loop area.
  • Route critical nets manually before any optional bulk autorouting.
  • Generate CPL/Gerbers only from the reviewed real PCB.

For optional routing, use the repository autoroute skill and produce a validated .ses; never invoke raw Freerouting flags by guesswork.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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_automations202026年10月3日 更新

bom

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

mattpainter701/kicad_automations202026年10月3日 更新

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_automations202026年10月3日 更新

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_automations202026年10月3日 更新

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_automations202026年10月3日 更新

Run the explicit, human-in-the-loop Circuit Weaver questionnaire from requirements through a validated design and KiCad handoff. Use only when the user asks for the design-wizard skill, the offline interactive wizard, or a slow step-by-step guided questionnaire. Do not trigger for ordinary new-design requests; use circuit-weaver for automatic end-to-end orchestration.

日本語の概要は準備中です。原文の説明を表示しています。

mattpainter701/kicad_automations202026年10月3日 更新

mattpainter701 のスキルをすべて見る

このスキルの問題を報告する