شعار Es:Figma Craft

Es:Figma Craft

المجتمع
jangtrinh
es:figma-craft

Generic Figma canvas engineering discipline — the battle-tested workflow, laws, and Plugin-API failure-mode catalog for building/editing Figma files programmatically (design:os figma-agent CLI or use_figma MCP). Use for ANY project's Figma build/edit/componentize/verify work. Distilled from the VSF-PCP campaigns (2026-06 → 2026-08): every rule here paid for by a real incident.

نظرة عامة

الناشرjangtrinh
المستودعdesign-os-figma-plugin
اسم المهارةes:figma-craft
النجوم
25
التفريعات
6
الملفات المرفقة
16
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jangtrinh/design-os-figma-plugin.git /tmp/design-os-figma-plugin
mkdir -p .claude/skills
cp -r /tmp/design-os-figma-plugin/skills/es-figma-craft .claude/skills/jangtrinh-es-figma-craft
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

es:figma-craft — Figma canvas engineering, project-agnostic

This file is the router. It holds the pipeline, the laws, and a load-table. Details live in exactly one reference each — load on demand.

Two-part architecture (how this stays generic)

  1. This skill = the universal layer. Laws, pipeline, Plugin-API failure modes, component-system rules, verification protocol, knowledge-sync protocol. Nothing here names a specific file, token, or font.
  2. A per-project adapter = the specific layer. Each project ships a thin skill/doc declaring: Figma file name+key, page layout, token collections, fonts, component registry path, copy rules, overlay idioms. Template: project-adapter-template.md. No adapter → create one from the template before the first mutation.

Bridge selection (which hand touches the canvas)

BridgeUse forNotes
design:os figma-agent CLI (Ease Design Figma Agent plugin)ALL mutations when the project is design:os-onboardedPreferred canonical hand. figma-agent status must show plugin.connected:true for the RIGHT file, checked 2× ~15s apart before long batches. Prefer typed ops (clone-traits, inspect) over raw exec-js.
use_figma MCPMutations where no figma-agent is wired; readsMANDATORY: load the figma-use skill first, every call.
html_to_design (DesignAgent)Bulk HTML→Figma imports of authored screensHTML-first authoring pipeline; not for surgical edits.
MCP read tools (get_metadata/get_screenshot/get_design_context)Diagnosis, recon, verificationCheapest-first: metadata → screenshot → design_context (last resort, 25K-token cap).

Every mutation script opens with a file guard: if (figma.root.name !== '<expected file>') throw — multi-plugin brokers can route to the wrong file.

The pipeline (5 phases — every build)

0. PREFLIGHT  Adapter loaded · bridge alive (status ×2) · registry/docs read · reconcile if user changed the file
1. RECON      Cheapest-first read of source + target. Element→component mapping table BEFORE any code.
2. ENHANCE    Close component gaps by the creation ladder (reuse → override → variant → new; owner approval for shared-master changes)
3. BUILD      Sequential, one section per call, idempotent scripts, tag every created node, position explicitly (never (0,0))
4. VERIFY     3 layers: node-read asserts → numeric geometry asserts → FRESH PNG read by eye. Structural ops verified in a NEW call.
5. CLOSE      Reconcile registry/docs in the same change · distill ≤1 durable lesson · report honestly (misses as misses)

Detail per phase: pipeline.md.

The 13 laws (gates, not advice — each one is a paid-for scar)

  1. Verified = measured. Screenshots are for humans; geometry gets numeric asserts, structure gets metadata reads. Node-read AND rendered-PNG can BOTH lie — when they disagree, measure bounding boxes.
  2. Fresh PNG is the final arbiter of every mutation batch. Numeric asserts passing is not done; look at the image with your eyes. Verify against FRESH artifacts (check mtime / re-export).
  3. Read before write; capture before destroy. Dump content to JSON before replacing/instancing anything carrying data. Never destroy a rollback you haven't examined.
  4. Resolve by NAME (or plugin-data tag), never cached id. Node ids renumber on sync and can be transient within a session. Target by parent chain, not bare name, when names repeat.
  5. A failed/timed-out call may have mutated the file. Re-read state before ANY retry. After a mid-batch disconnect: inventory first, rerun second. Scripts must be idempotent.
  6. Structural ops (create/combine/reparent) are only proven by a NEW call. Same-call re-fetch can report success for a mutation that never persisted. Verify set child counts + variant names, then sweep for orphan byproducts.
  7. Fix the class, not the symptom; fix at the master. Defect in an instance → suspect the master; then sweep siblings for the same latent bug. Audit an atom's internals before composing with it. Sweep everything once — not per-complaint.
  8. One origin per geometry. Never generate the same geometry from two code paths. One spec constant, one script.
  9. Real instances only + the creation ladder (reuse → instance-override → add-variant → create-new last). Shared-master/component changes need OWNER APPROVAL before minting. Normalize construction BEFORE componentizing (no spacer frames — spacing = auto-layout gap).
  10. No try-catch that swallows mutation errors. Sizing/props failures throw or collect into the returned output. A green gate that is blind is worse than a red gate.
  11. Sequential canvas, single hand. One file, one plugin connection, rate limits: never fan out parallel agents against a Figma file. Multi-screen work = a checklist driven step-by-step.
  12. Respect the owner. A value the owner re-changed 2× after you set it = owner intent — stop, check the decision ledger, ask once. Never delete content you didn't author without confirmation. Their DS/conventions win over your spec.
  13. No instance-level style overrides. Fills, strokes, effects, corner radius, typography and text-case on an instance (root or sublayer) come from the master/variant/token — never set them on the instance to fake a look. Need a different look → climb, don't override: missing token → mint the token; missing variant → add the variant (owner approval for shared masters, per law 9); missing component → build one. Instance overrides are for DATA only: text characters, icon swaps, variant switches (setProperties), visibility of layers designed to toggle, and per-instance geometry already codified as a pattern (e.g. detached meter fills — and a detach still gets declared as debt). Verify: compare instance paints against master paints (root + text sublayers) — the diff must be zero.

Full thinking layer (8 operating gates + rationale): operating-gates.md.

Reference docs — load by task signal

DocWhen to load
operating-gates.mdEvery session, before the first mutation — the thinking layer
pipeline.mdEvery build — per-phase detail, MCP/call budgeting
plugin-api-gotchas.mdBefore writing ANY exec-js / use_figma script — 6 classes of API failure modes with fixes
component-system.mdAny componentize / variant / table / shell decision — ladder, extraction heuristics, column-first tables, shell+slot, template-first
screen-composition.mdBuilding any full screen — shell + slot anatomy, lift masters from live instances, state axes, overlays in wrapper frames, icon-swap carve-out, helper-library contract
drawer-decision-tree.mdComposing any drawer/dialog body — derive the tree from the file, width tiers, purpose rows A–E, forbidden list
section-presentation.mdPlacing screens in a section, notes, tags, archiving, data-coherence gate, owner-mockup → DS rebuild
verification-protocol.mdClosing any batch — the 3-layer verify, false-green catalog, sweep disciplines
build-script-standard.mdWriting any mutation script — the canonical script anatomy (guards → idempotency → spec constants → mutate → assert → structured return) + anti-pattern table
script-helpers.mdWriting any mutation script — copy the fail-loud helper block + ordering laws + the guards (effective-visibility, live counts, safe delete, blast radius)
quality-gate-system.mdSetting up or evolving quality gates — executable gate suite, "no defect escapes twice", 4 catch layers, gate honesty rules, convention-DNA extraction
gate-authoring.mdWriting or converting any gate script — node-id scope + findAllWithCriteria, skipInvisibleInstanceChildren, one page.loadAsync(), per-gate time budget, KNOWN-RED header, concealed text; starts from scoped-gate-template.js
campaign-orchestration.mdMulti-screen campaigns with agents — 1-agent-1-job, batch-by-budget, study-first, backup-edit, canvas organization, wave close
knowledge-sync.mdUser says they changed the file, or your docs picture may be stale — URL-drop protocol, drift channels, reconcile triggers
project-adapter-template.mdOnboarding this discipline to a new project

Non-negotiables inherited from hard experience

  • Icons: use the project's icon library as real instances — never text glyphs (×, →) or hand-drawn vectors. Stroke-based icon sets (Lucide): recolor strokes only, never fills.
  • Overlay idiom: DRAWER = editing panels over content/lists; centered MODAL = single action / confirm / short form (≤3 fields).
  • Screen-state demos = variant SET on the page-content master (State axis), never per-instance structural overrides. Instance overrides are for DATA only.
  • Every created node gets setSharedPluginData(<ns>, 'run_id'/'key', …) for idempotent cleanup and reliable re-location.
  • Report honestly: errors as errors, skipped as skipped, "should work" is banned — verified or listed as NOT verified.

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

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

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

ماذا تفعل مهارة الذكاء الاصطناعي Es:Figma Craft؟

Generic Figma canvas engineering discipline — the battle-tested workflow, laws, and Plugin-API failure-mode catalog for building/editing Figma files programmatically (design:os figma-agent CLI or use_figma MCP). Use for ANY project's Figma build/edit/componentize/verify work. Distilled from the VSF-PCP campaigns (2026-06 → 2026-08): every rule here paid for by a real incident.

لماذا تستخدم Es:Figma Craft على TypingMind؟

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

كيف أثبّت Es:Figma Craft في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/jangtrinh/design-os-figma-plugin/tree/main/skills/es-figma-craft. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Es:Figma Craft؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Es:Figma Craft؟

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

هل مهارة الذكاء الاصطناعي Es:Figma Craft مجانية؟

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

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

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

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

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

عرض الكل

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

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