跳到正文
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(原文)

安装前可以查看交给 AI 代理的指令内容。

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 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 的全部技能

报告此技能的问题