شعار Kicad

Kicad

المجتمع
bacnh85
kicad

Design KiCad schematics and PCB layouts via the Konnect bridge. Use when the user wants to create/edit KiCad schematics or PCBs, place and wire components, route traces, run ERC/DRC, export Gerbers/BOM/PDF/3D, search JLCPCB parts, use reference circuits, or do manufacturing prep. Trigger on "KiCad", "schematic", "PCB", "layout", "route traces", "ERC", "DRC", "Gerber", "BOM", "footprint", "design rule check", "pick-and-place", or any CAD/EDA design task.

نظرة عامة

الناشرbacnh85
المستودعpi-extensions
اسم المهارةkicad
النجوم
42
التفريعات
15
الملفات المرفقة
تعليمات فقط
الروابط
  • تعليمات بصيغة Markdown

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

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

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

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bacnh85/pi-extensions.git /tmp/pi-extensions
mkdir -p .claude/skills
cp -r /tmp/pi-extensions/pi-kicad/skills/kicad .claude/skills/kicad
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

pi-kicad — KiCad CAD design via Konnect

Drive KiCad 10 through the Konnect binary using three Pi tools:

ToolPurpose
kicad_callInvoke any Konnect tool by name (185 tools across 18 toolsets)
kicad_batchRun multiple Konnect tool calls SEQUENTIALLY in one shot (each awaits before the next, so same-file writes don't race)
kicad_statusWire up + health-check the bridge (binary, kicad-cli, IPC socket, daemon, version)

First move

If anything is unclear or a call fails, run kicad_status first. It resolves the Konnect binary + kicad-cli, (re)starts the local HTTP daemon, and reports whether the bridge is healthy. Restart with restart: true after changing KiCad config or the IPC socket.

The toolset-loading protocol (context economy)

Konnect exposes ~185 tools but loads only a small starter kit (~2K tokens, not ~23K). Domain tools live in toolsets you must load before use:

kicad_call tool=list_toolboxes                      → see all toolsets + counts
kicad_call tool=load_toolset arguments={name:"sch_components"}
kicad_call tool=add_schematic_component arguments={...}
kicad_call tool=unload_toolset arguments={name:"sch_components"}   → prune when done

If a tool errors with "toolset not loaded", the message names the toolset — call load_toolset("<that>") then retry. That single hop recovers every such error.

Toolsets: project, sch_components, sch_wiring, sch_analysis, sch_batch, sch_export, sch_hierarchy, pcb_board, pcb_components, pcb_routing, pcb_export, plus design-review, JLCPCB parts, Freerouting, reference circuits, manufacturing. (Call list_toolboxes for the live list.)

Two editing models — know which one you're in

  • Schematic tools edit .kicad_sch files directly via Konnect's S-expression engine (atomic writes, UUID-safe). No running KiCad needed. Work headless.
  • PCB tools talk to KiCad's IPC API. Requires KiCad 10 open with Preferences → Plugins → Enable KiCad API, and the target board loaded. PCB edits integrate with KiCad's undo/redo and appear live in the editor.

Productive habits

  • Batch-first. Prefer batch_add_wire, batch_delete, bulk_move_schematic_components, batch_edit_schematic_components — one file read/write cycle instead of N.
  • Let the tool compute coordinates. connect_pins (route by reference+pin), add_schematic_connection (auto H+V between points), connect_to_net (stub + label) beat hand-placing every wire.
  • Validate as you go. validate_wire_connections, validate_component_connections, find_orphan_items, find_shorted_nets catch placement errors immediately; don't wait for ERC.
  • Reference circuits as starters. Load the reference-circuits toolset for verified USB-C / LDO / buck / STM32 / I2C / LED blocks instead of building from scratch.
  • JLCPCB parts. Use the JLCPCB toolset to find in-stock footprints/symbols and alternatives from the local 2.5M-part catalog.
  • Visual feedback. get_schematic_view / get_board_2d_view render PNGs; open_schematic_viewer launches the live auto-refresh viewer.
  • Self-diagnose. get_recent_calls and server_stats show the last tool calls, durations, and errors — use them when a tool misbehaves.

Standard design flow

create_project / open_project
  → schematic capture (sch_components, sch_wiring)
  → annotate_schematic            (R? → R1, U? → U1)
  → run_erc  →  fix violations    (sch_analysis tools find orphans/shorts)
  → update PCB from schematic
  → layout (pcb_components) → route (pcb_routing) → copper pours / mounting holes (pcb_board)
  → get_drc_violations  →  fix    →  refill_zones
  → export_gerber / export_pdf / export_bom / export_position_file / export_3d

Snapshot before risky edits with snapshot_project (exports a timestamped PDF).

Known Konnect v0.2.0 limitations (work around these)

These are Konnect (third-party Rust binary) bugs, not pi-kicad bugs. pi-kicad works around them where it can:

  • Standard symbol libraries don't resolve. Konnect's .kicad_sym parser returns 0 symbols from KiCad 10's standard libraries (Device, power, …), so add_schematic_component Device:R, power:GND, etc. all fail. Build every symbol from scratch with create_symbol in a .kicad_sym inside the project, then place dcdc:<Name>.
  • add_schematic_component resolves lib_id ONLY via KICAD10_SYMBOL_DIR (a single dir set at daemon start, NOT the sym-lib-table). pi-kicad ALWAYS points it at its managed symbol dir ~/.pi/kicad-symbols (created automatically). So create your from-scratch symbols there: create_symbol with library_path=~/.pi/kicad-symbols/<lib>.kicad_sym, then place <lib>:<sym>. No env var or project-dir setup needed — kicad_status prints the symbol dir. (The daemon never reuses a stale stranger daemon, so it always runs with the correct env.)
  • register_symbol_library writes the wrong table format ((fp_lib_table …) into sym-lib-table). Hand-write sym-lib-table as (sym_lib_table …) if ERC warns "configuration does not include the symbol library".
  • list_symbols_in_library mangles names (strips the first char: Res→es). Placement lookup is unaffected — place by the real lib_id.
  • delete_symbol reports success but doesn't persist; annotate_schematic reports success but leaves references as ?. Pass explicit reference (e.g. R1, U1) when placing, and don't rely on annotate/delete.
  • Wiring by net label is the robust path. connect_to_net needs pin_x/pin_y (not pin numbers): call get_schematic_pin_locations (or batch_get_schematic_pin_locations) first, then connect_to_net {schematic, pin_x, pin_y, net} per pin — it adds a **wire stub
    • label** that KiCad attaches. Use all-passive pin types to keep ERC focused on connectivity (avoids power-pin driver rules when power symbols are unavailable).
    • ⚠ Do NOT use batch_connect_to_net — in Konnect v0.2.0 it places bare net labels at pin coords with no wire stub, so they FLOAT and do not connect. ERC won't catch it (passive pins aren't flagged) and list_schematic_nets just reads label names. This is a Konnect tool bug, not a sequencing issue — batching does NOT make it safe. Always place nets with connect_to_net (per pin, inside kicad_batch).
    • Verify connectivity with get_net_connectivity or the kicad-cli netlist (generate_netlist) — NOT run_erc alone (passive pins hide unconnected pins) and NOT list_schematic_nets (label names ≠ attached).
    • For VISIBLE wires between components (a real schematic, not just connect-by-name), use connect_pins {schematic, ref1, pin1, ref2, pin2} which routes an actual wire (L-bend) between two pins. Chain/star same-net pins (e.g. star each net through the regulator). connect_to_net only adds a short stub+label (connect-by-name, no inter-component wire) — fine for naming a net, but pair it with connect_pins when real wires are expected. Render to PDF/PNG and eyeball it (or ask a vision model) to confirm.
  • PCB tools need KiCad 10 running with its API enabled; schematic/export tools are file-based and work headless.
  • Never call file-mutating Konnect tools in parallel (multiple kicad_call in one message run concurrently). Konnect's read-modify-write + atomic-rename races: concurrent calls lose edits or fail with "No such file or directory" and can corrupt the file (duplicates, lost symbols). Use kicad_batch for any multi-step flow — it runs the ops strictly sequentially (each awaited). Inside one Konnect tool, prefer the batch_* variants for multi-item edits (except batch_connect_to_net, which is broken in v0.2.0 — see the warning above; use connect_to_net per pin instead).

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

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

Design KiCad schematics and PCB layouts via the Konnect bridge. Use when the user wants to create/edit KiCad schematics or PCBs, place and wire components, route traces, run ERC/DRC, export Gerbers/BOM/PDF/3D, search JLCPCB parts, use reference circuits, or do manufacturing prep. Trigger on "KiCad", "schematic", "PCB", "layout", "route traces", "ERC", "DRC", "Gerber", "BOM", "footprint", "design rule check", "pick-and-place", or any CAD/EDA design task.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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