Kicad Reviewのロゴ

Kicad Review

コミュニティ
mixelpixx
kicad-review

MCPツールを使ってKiCADプロジェクトの設計レビューと検証を行うワークフローです。次のような依頼で起動します: "review my design", "check for errors", "audit", "DRC", "ERC", "find problems", "design review", "is this ready", "validate", "check my schematic", "check my PCB", "what's wrong", "run checks", "pre-fab review"。

Add to TypingMind

概要

公開者mixelpixx
リポジトリKonnect
スキル名kicad-review
スター
944
フォーク
127
同梱ファイル
2
ライセンスAGPL-3.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    mixelpixxがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Kicad Review」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/mixelpixx/Konnect/tree/main/crates/konnect/assets/skills/kicad-review
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mixelpixx/Konnect.git /tmp/Konnect
mkdir -p .claude/skills
cp -r /tmp/Konnect/crates/konnect/assets/skills/kicad-review .claude/skills/kicad-review
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでKicad Reviewを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にKicad Reviewを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Kicad Reviewは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

KiCAD Design Review & Validation Workflow

This skill guides Claude through systematic design review of a KiCAD project using MCP tools. ALL checks are performed through MCP tools — never parse .kicad_sch or .kicad_pcb files directly.


Toolset Loading

Load the required toolsets for design review:

load_toolset('sch_analysis')     # find_orphan_items, find_shorted_nets, find_single_pin_nets
load_toolset('verification')     # run_drc; check_clearance anchor/courtyard spacing; rules
load_toolset('sch_export')       # run_erc
load_toolset('pcb_export')       # get_drc_violations
load_toolset('manufacturing')    # validate_for_manufacturing
load_toolset('design_review')    # audit_decoupling, audit_connections, audit_power_rails, etc.

Optional (for deeper analysis):

load_toolset('sch_analysis')     # get net info, trace connections, inspect components
load_toolset('pcb_routing')      # query_traces, get_nets_list

Always call get_active_toolsets() first to see what is already loaded.

Evidence hierarchy

Judge findings in this order:

  1. Exact design requirements and manufacturer datasheets.
  2. Direct KiCad ERC/DRC and saved or exported connectivity.
  3. Direct Konnect net, short, pad, trace, via, unrouted, and inventory evidence.
  4. Aggregate review and manufacturing summaries.
  5. Heuristic orphan, single-pin, decoupling, protection, and best-practice findings.

A weaker finding may ask a question; it does not override stronger contradictory evidence. Any required check that did not run, returned impossible coverage, or remains inconsistent with stronger evidence makes the verdict INCOMPLETE.

DRC violation items carry owner and ownership_status. That is direct evidence, not a heuristic: owner.kind: "footprint" means the offending geometry belongs to owner.reference's own artwork, so the remedy is a footprint or rule change rather than a placement change — the finding itself stands either way. When ownership_status is not "resolved", ownership is unknown and owner is null; corroborate with list_board_footprint_graphics rather than assuming the board owns it.

References by review branch

  • Read references/design-checklist.md for a comprehensive or pre-fabrication review. Mark an item only from evidence collected in this run.
  • Read references/error-taxonomy.md when classifying a finding or assigning the final verdict. Direct ERC, DRC, and connectivity evidence outrank heuristic classifications.

Quick Checks (Escalating Severity)

Run these first — they are fast and catch the most critical issues.

Level 1: Structural Integrity

find_orphan_items()

Finds floating wires, labels, and symbols not connected to anything. Treat the result as a heuristic candidate list and corroborate it with direct connectivity or ERC before calling an item a defect.

Level 2: Critical Net Issues

find_shorted_nets()

Detects nets that are connected together but should not be. A shorted net means:

  • Two different net labels on the same wire
  • Power rails bridged unintentionally
  • Signal nets merged by accident

A confirmed unintended short is critical. Resolve disagreement with requirements or direct ERC/connectivity evidence before assigning severity.

Level 3: Suspicious Connections

find_single_pin_nets()

A one-pin net is a heuristic review candidate:

  • Incomplete wiring (forgot to connect the other end)
  • Orphan net labels (typo in name, so it does not match)
  • Leftover stubs from deleted components

Formal Checks

ERC — Electrical Rules Check

run_erc()

Checks schematic-level rules:

  • Pin type conflicts (output driving output, unconnected inputs)
  • Power pin connections
  • Missing no-connect flags
  • Duplicate reference designators
  • Missing net connections

Review each violation. Some can be waived (e.g., intentional unconnected pins marked with no-connect flag).

DRC — Design Rules Check

get_drc_violations()

Checks PCB-level rules:

  • Clearance violations (copper-to-copper, copper-to-edge)
  • Minimum trace width violations
  • Minimum drill size violations
  • Unrouted connections (incomplete routing)
  • Zone fill issues
  • Courtyard overlaps

Every DRC error must be resolved or explicitly justified before manufacturing.


Design Audits

These go beyond rule checking — they evaluate design quality and best practices.

The standalone schematic audits and check_bom_health default to the supplied file only. When the supplied file is a hierarchy root, pass schematic_scope: "hierarchy" to cover every reachable sheet instance. Read status, coverage, and diagnostics before interpreting a hierarchy result; missing or cyclic child references make the result incomplete. Reused child files have one result per KiCad sheet instance, identified by the sheet_instance_path response field.

Decoupling Audit

audit_decoupling(schematic, schematic_scope="hierarchy")

Checks:

  • Every IC power pin has a bypass capacitor
  • Capacitor is placed close to the pin (PCB proximity)
  • Appropriate capacitor values (100nF ceramic minimum)
  • Bulk capacitance present for high-current ICs

Connection Audit

audit_connections(schematic, schematic_scope="hierarchy")

Checks:

  • All expected connections are made
  • No nets with unexpected fan-out
  • Signal integrity basics (termination on long traces)
  • Pull-up/pull-down resistors where required (I2C, reset pins, enable pins)

Power Rail Audit

audit_power_rails(schematic, schematic_scope="hierarchy")

Checks:

  • All power rails have proper source (regulator, connector, etc.)
  • Current capacity matches expected load
  • Voltage levels are consistent (no 3.3V device on 5V rail)
  • Power sequencing considered for multi-rail designs
  • Power flags present (avoids ERC false positives)

Manufacturing Audit

audit_manufacturing()

Checks:

  • All footprints are fab-house compatible
  • Pad sizes meet minimum requirements
  • Silkscreen readability
  • Test point accessibility
  • Fiducial marks present (for SMT assembly)
  • Mechanical clearances around mounting holes

Full Review Shortcut

run_design_review()

Runs the aggregate design audits and produces a consolidated report. Use it to organize findings, not as a substitute for the direct ERC, DRC, and connectivity checks above.

Read status, coverage, and diagnostics before interpreting the findings. If status is partial or failed, the verdict is INCOMPLETE — review could not evaluate the full design. Report that verdict verbatim, explain the diagnostics and unevaluated coverage, and do not describe the design as ready, passing, clean, or looking good. Findings gathered before the coverage gap are still valid and should still be reported.

Collect direct run_erc, get_drc_violations, short, and connectivity evidence separately. Then compare the aggregate findings with that stronger evidence and report any disagreement.


Severity Classification

CRITICAL — Must fix before manufacturing

FindingWhy Critical
Shorted netsShort circuit on the board, may damage components
Missing ground connectionCircuit will not function
Reversed polarity on power ICImmediate destruction on power-up
Unrouted netsMissing connections on fabricated board
DRC clearance violationMay cause electrical short on fab board
Power pin unconnectedIC will not operate
Wrong voltage on IC power pinExceeds absolute maximum, destroys part

WARNING — Should fix, design risk

FindingWhy a Warning
Missing decoupling capacitorNoise susceptibility, possible oscillation
No test points on key signalsCannot debug in production
No ESD protection on connectorsVulnerable to ESD damage in the field
Single-point-of-failure netsNo redundancy for critical signals
Pull-up/pull-down missingFloating input, unpredictable behavior
Tight clearances (near DRC limit)Higher fab defect rate

SUGGESTION — Improvement opportunities

FindingWhy a Suggestion
Consolidate passive valuesFewer unique BOM lines, lower assembly cost
Add net labels to unnamed netsImproves schematic readability
Missing silkscreen designatorsHarder to assemble and debug manually
Components could be closerShorter traces, better signal integrity
Consider bulk capacitor additionBetter transient response on power rails
Add board revision markingTraceability for manufacturing runs

Reporting Format

Present findings grouped by severity with actionable fix suggestions:

## Design Review Results

### CRITICAL (X issues) — Must fix

1. **[Finding title]**
   - Location: [component reference or net name]
   - Issue: [what is wrong]
   - Fix: [specific action to take using MCP tools]

### WARNING (X issues) — Should fix

1. **[Finding title]**
   - Location: [component reference or net name]
   - Issue: [what is wrong]
   - Fix: [specific action to take]

### SUGGESTION (X items) — Optional improvements

1. **[Finding title]**
   - Detail: [what could be better]
   - Action: [suggested improvement]

### Summary
- Critical: X (must resolve)
- Warnings: X (recommended)
- Suggestions: X (optional)
- Verdict: [LOOKS GOOD / NEEDS ATTENTION / NOT READY / INCOMPLETE]
- Coverage status: [complete / partial / failed]
- Coverage diagnostics: [none, or each unevaluated sheet/object/audit]

Review Workflow

Quick Review (5-minute check)

  1. find_shorted_nets() — catch fatal issues
  2. run_erc() — schematic rule check
  3. get_drc_violations() — PCB rule check
  4. Report findings

Full Review (comprehensive)

  1. Load all review toolsets
  2. Run direct short/connectivity checks, run_erc, and get_drc_violations
  3. run_design_review() — aggregate audit suite
  4. Check status, coverage, and diagnostics; never approve an incomplete review
  5. Reconcile aggregate or heuristic findings with stronger direct evidence
  6. Classify all gathered findings by severity
  7. Present report with fix suggestions
  8. Offer to fix CRITICAL issues immediately

Pre-Manufacturing Review

  1. Full review (above)
  2. Run validate_for_manufacturing(), then inspect verdict, issues, and drc against the handler's limited contract; it does not replace outline, drill, silkscreen, artifact, BOM/CPL, or order-preview acceptance
  3. Verify BOM completeness
  4. Check part availability (if targeting specific fab house)
  5. Final verdict: ready to manufacture or not

Rules

  1. Never skip quick checks — find_shorted_nets catches the worst bugs fast
  2. Classify every finding — severity helps the user prioritize
  3. Provide specific fixes — name the MCP tool and parameters to resolve each issue
  4. Run DRC after fixes — verify that corrections did not introduce new violations
  5. Do not approve a design with CRITICAL issues — even if the user says "it's fine"
  6. Load toolsets first — check get_active_toolsets() and load what you need
  7. Save before reviewing — ensures checks run against current state
  8. Offer to fix — after reporting, offer to use MCP tools to resolve issues
  9. Re-run after fixes — always verify fixes resolved the issue and created no new ones
  10. Document waivers — if user explicitly waives a warning, note it in the report
  11. Never soften INCOMPLETE — partial or failed coverage is not a passing review

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Kicad Review」では何ができますか?

MCPツールを使ってKiCADプロジェクトの設計レビューと検証を行うワークフローです。次のような依頼で起動します: "review my design", "check for errors", "audit", "DRC", "ERC", "find problems", "design review", "is this ready", "validate", "check my schematic", "check my PCB", "what's wrong", "run checks", "pre-fab review"。

TypingMindでKicad Reviewを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Kicad Reviewはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにKicad Reviewをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/mixelpixx/Konnect/tree/main/crates/konnect/assets/skills/kicad-reviewを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Kicad Reviewを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Kicad Reviewで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもKicad Reviewを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Kicad Review」は無料ですか?

はい。mixelpixxがAGPL-3.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇