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

kicad-validate

Cross-reference design audit -- validates consistency across spec, schematics, BOM, pin maps, and PCB layout. Catches disagreements before fabrication. Run after any significant design change.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.9 KB

SKILL.md(原文)

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

Auto-Detection

Before running validation, discover existing projects in the current directory:

python -m circuit_weaver discover --json

If projects are found, use the detected paths for schematic and PCB files instead of asking the user for paths. Select the most recently modified project by default, or ask the user to choose if multiple projects exist.

For an unmanaged KiCad project, PCB, Gerber/drill directory, or ZIP, establish durable non-destructive state and run every applicable bundled analyzer:

circuit-weaver import-design "${SOURCE_PATH}" --analyze
circuit-weaver status "${PROJECT_ROOT}"

Review .circuit-weaver/analysis/index.json. Reuse valid cached evidence; run analyze-design "${PROJECT_ROOT}" --force only for an intentional rerun.


Audit Passes

Run all passes after any significant design change.

Pass 1: Spec vs Schematic

Verify every requirement in the design spec has a corresponding net or component.

  • Power rails: all specified voltages present as named nets
  • Required interfaces: USB, Ethernet, JTAG -- verify connector and IC present
  • IO counts: verify pin counts match spec

Pass 2: Pin Map vs Schematic

For each programmatically mapped IC, verify the schematic matches the pin map.

circuit-weaver validate "${SPEC_PATH}" --enhanced --verbose

If the project has a separate pin-map source of truth, compare it with the schematic analysis explicitly. Do not invoke scripts/validate_pinmaps.py unless that project-specific script actually exists.

Critical checks:

  • Power pins (VDD, GND, VDDIO) connected to correct rails
  • Reset/enable pins asserted correctly
  • Clock inputs connected to clock sources

Pass 3: Schematic vs BOM

Use the schematic analysis result registered in .circuit-weaver/analysis/index.json, then reconcile its references and footprints with assembly_manifest.json when the latter exists.

Every component must have: MPN specified, footprint matching the MPN package, DNP components flagged consistently.

Pass 4: Schematic vs PCB Layout

Use the registered PCB analysis result from .circuit-weaver/analysis/index.json. The static analyzer does not replace a real KiCad DRC run.

  • Component count: schematic total minus DNP = PCB footprint count
  • All schematic nets appear in PCB net list
  • No unrouted nets

Pass 5: Datasheet vs Symbol

For each IC with an MPN:

  1. Download datasheet (digikey skill)
  2. Verify pin numbers/names match KiCad symbol
  3. Verify footprint pad numbering matches package pinout

Running Validation

Quick (standard validation only)

python -m circuit_weaver validate design.yaml

Enhanced (with cross-reference audit, thermal, SI, power budget)

python -m circuit_weaver validate design.yaml --enhanced --verbose

Full audit with scoring

python -m circuit_weaver validate design.yaml --enhanced --detailed-score --verbose

Release-quality final schematic gate

circuit-weaver generate design.yaml --output output --require-kicad

Internal validation is not real KiCad verification. For a final generated design, require artifact_manifest.json to report kicad_verified: true and verification_status: verified. For imported native boards, run KiCad ERC/DRC on the actual project in addition to the bundled static analysis.

Reporting

Document findings in hardware/<project>/review/validate_<date>.md:

## Validation -- YYYY-MM-DD

### Pass 1: PASS / FAIL (N issues)
### Pass 2: PASS / FAIL (N issues)
### Pass 3: PASS / FAIL (N issues)
### Pass 4: PASS / FAIL (N issues)
### Pass 5: PASS / FAIL (N issues)

### Issues Found
- [CRITICAL] description
- [WARNING] description

レビュー

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

同じリポジトリのスキル

概要と使いどころ

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 のスキルをすべて見る

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