Skip to content
cccskills
FreePublished on 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.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md3.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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.

The English summary is being prepared. Showing the original description.

mattpainter701/kicad_automations21Updated Oct 20, 2026

bom

Free

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.

The English summary is being prepared. Showing the original description.

mattpainter701/kicad_automations21Updated Oct 20, 2026

bom

Free

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

The English summary is being prepared. Showing the original description.

mattpainter701/kicad_automations21Updated Oct 20, 2026

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.

The English summary is being prepared. Showing the original description.

mattpainter701/kicad_automations21Updated Oct 20, 2026

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.

The English summary is being prepared. Showing the original description.

mattpainter701/kicad_automations21Updated Oct 20, 2026

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.

The English summary is being prepared. Showing the original description.

mattpainter701/kicad_automations21Updated Oct 20, 2026

See all skills by mattpainter701

Report a problem with this skill