شعار Kicad Review

Kicad Review

المجتمع
mixelpixx
kicad-review

سير عمل لمراجعة تصاميم KiCAD والتحقق من صحتها عبر أدوات MCP. يُفعّل عند طلب: "راجع تصميمي"، "تحقق من وجود أخطاء"، "دقّق"، "DRC"، "ERC"، "اعثر على المشكلات"، "مراجعة التصميم"، "هل هذا جاهز؟"، "تحقق من الصحة"، "تحقق من المخطط"، "تحقق من لوحة PCB"، "ما المشكلة؟"، "شغّل الفحوصات"، "مراجعة ما قبل التصنيع".

Add to TypingMind

نظرة عامة

الناشرmixelpixx
المستودعKonnect
اسم المهارةkicad-review
النجوم
944
التفريعات
127
الملفات المرفقة
2
الترخيصAGPL-3.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 2

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها mixelpixx على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Kicad Review في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/mixelpixx/Konnect/tree/main/crates/konnect/assets/skills/kicad-review
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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

فعّل Kicad Review في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Kicad Review تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Kicad Review بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف 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

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Kicad Review؟

سير عمل لمراجعة تصاميم KiCAD والتحقق من صحتها عبر أدوات MCP. يُفعّل عند طلب: "راجع تصميمي"، "تحقق من وجود أخطاء"، "دقّق"، "DRC"، "ERC"، "اعثر على المشكلات"، "مراجعة التصميم"، "هل هذا جاهز؟"، "تحقق من الصحة"، "تحقق من المخطط"، "تحقق من لوحة PCB"، "ما المشكلة؟"، "شغّل الفحوصات"، "مراجعة ما قبل التصنيع".

لماذا تستخدم Kicad Review على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Kicad Review عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Kicad Review في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/mixelpixx/Konnect/tree/main/crates/konnect/assets/skills/kicad-review. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Kicad Review؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Kicad Review؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Kicad Review معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Kicad Review مجانية؟

نعم. نشرها mixelpixx على GitHub بموجب ترخيص AGPL-3.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇