شعار Opendesigner Export

Opendesigner Export

المجتمع
ckryptickunal
opendesigner-export

Exports an OpenDesigner system to CSS variables, Tailwind, DTCG, Swift, Compose, Figma and Paper, and writes it into Figma or Paper through their MCP servers when connected.

نظرة عامة

الناشرckryptickunal
المستودعOpenDesigner
اسم المهارةopendesigner-export
النجوم
11
التفريعات
2
الملفات المرفقة
1
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

OpenDesigner: export and round trip

Use this when the person wants their system in code, in Figma or in Paper. It works after an OpenDesigner interview or on any existing opendesigner/ folder.

The DTCG files in opendesigner/tokens/ are the source of truth. Every other format is generated from them. Never edit an export by hand: change the decision and regenerate.

The engine is scripts/engine.py in this skill when it was installed from a release zip. Otherwise it is the sibling opendesigner skill's scripts/engine.py. Run it from the project root.

1. Code exports (always available)

python3 <engine> build                      generate, validate, then every export, DESIGN.md and the preview
python3 <engine> export --format tailwind   one format only: css tailwind dtcg figma paper swift compose, or all
FormatOutput in opendesigner/Use it
(canonical)tokens/ (DTCG sets plus opendesigner.resolver.json for modes)Style Dictionary, Terrazzo, Tokens Studio, Penpot
dtcgbuild/dtcg/<name>.resolver.jsonA single resolver file for tools that take one entry point
cssbuild/css/tokens.css (custom properties, light and dark)Import once at the app root
tailwindbuild/tailwind/theme.css (Tailwind v4 @theme; it imports ../css/tokens.css itself)One line after Tailwind in the main CSS file (below)
swiftbuild/swift/DesignTokens.swift (Dynamic Type text styles; body 17 pt)Add to the iOS target
composebuild/compose/DesignTokens.ktAdd to the Android UI module
figmabuild/figma/variables.json and build/figma/import/<Collection>.<Mode>.tokens.jsonImport in Figma (below) when there is no MCP
paperbuild/paper/tokens.json, build/paper/tokens.light.css, tokens.dark.cssPaper tokens (below)

Tailwind v4 wiring. In the main CSS file, for example src/index.css:

css
@import "tailwindcss";
@import "../opendesigner/build/tailwind/theme.css";
  • Adjust the relative path to where the CSS file sits. theme.css brings in tokens.css, so light and dark, density and reduced motion work through CSS variables.
  • Utility classes follow the token roles, for example bg-action-primary, text-fg-primary, rounded-control and h-control-md. DESIGN.md lists the class for each role.
  • By default the export switches off Tailwind's own palette, radius, shadow and text sizes, so a stray bg-blue-600 or rounded-lg doesn't compile. To keep them, run engine.py set exports.tailwindReset false, then engine.py build.

Fonts per platform. If raw.fontLicence says the brand font's licence doesn't cover apps, the Swift and Compose files use the system font instead, and say so. Tell the person in one line before they ship an app build.

Ask before wiring an export into the person's code, such as their main CSS file, Tailwind config or build. For an engineer, name the exact files and lines, as above. Offer to append <opendesigner>/assets/output/AGENTS-snippet.md to their AGENTS.md, so later agents use the tokens.

2. Figma

Detect what is connected before promising anything:

  • Remote Figma MCP with use_figma (signed in, Full seat; canvas writes are in beta): it can create variables, styles and frames. If Figma's official skills are installed (figma-use, figma-generate-library), load them and follow their rules. They know the current API.
  • Figma desktop MCP only (get_variable_defs, get_design_context, get_screenshot): read-only. Use it to check, not to write.
  • Nothing connected: hand over build/figma/import/ (one DTCG file per collection and mode) for Figma's variables import, or build/figma/variables.json for Tokens Studio. Say that Figma imports DTCG only in part: one mode per file, sRGB, px, and no composite tokens.

Write flow with use_figma:

  1. Confirm the target file with the person and suggest working on a duplicate first.

  2. Create the five collections in build/figma/variables.json, in its order:

    • Primitives: ramps and raw sizes, no modes, hidden from publishing.
    • Color: color roles aliased to primitives, one mode per color scheme (Light and Dark).
    • Density: spacing and control sizes, one mode per density (spacious, comfortable, compact).
    • Motion: durations and easings, with Standard and Reduced modes.
    • Tokens: everything that does not change by mode (radius, weights, font families and the like).

    The Figma plan caps the modes per collection (exports.figmaPlan, set by Q-tool-03). The engine splits a collection that goes over the cap and warns. Check the plan before adding more themes.

  3. Create variables with explicit scopes (never "all scopes"), and set code syntax to the CSS variable name so developers see var(--...).

  4. Add text styles for the type scale and effect styles for the elevation levels.

  5. Build one specimen frame per foundation (palette, type, spacing, radius, elevation) and a component sheet, bound to the variables.

  6. Read back with get_variable_defs and compare against tokens/; report any mismatch.

  7. When the person or a designer edits in Figma, read the changes back. Apply them as decisions (engine.py set ... --why "changed in Figma by <name>"), never by editing token files.

3. Paper

Paper's MCP server runs inside Paper Desktop (local, 127.0.0.1:29979/mcp). If its tools are present:

  1. Load Paper's guide first (get_guide with topic paper-mcp-instructions). Then call get_basic_info to see the file.
  2. Write tokens from build/paper/tokens.json with create_tokens or set_tokens. Paper tokens are CSS variables without modes. Write the light values, and add the dark ones as a separate, clearly named set.
  3. Call get_font_family_info before any typography. Then write specimen artboards with write_html, one visual group per call: palette, type ladder, spacing ruler, radius, elevation, component sheet. The HTML in <opendesigner>/assets/templates/ (component sheet, palette) is a good start. Use the person's tokens, not sample data.
  4. Review each artboard with get_screenshot. Fix clipping by setting the artboard height to fit its content.
  5. Call finish_working_on_nodes when done.
  6. Designer comments (list_comment_threads) and selections (get_selection) come back as decisions through the engine, like Figma edits.

4. Before you hand over

  • Explain each export in one plain sentence, then give the path. For example: "This file gives your web app the colors as CSS variables."
  • engine.py validate passes, or each remaining warning has a written waiver.
  • The person knows the source of truth is the DTCG files in opendesigner/tokens/, and that exports are regenerated, not edited.
  • Record the export in the summary: formats, destinations (file names, Figma file, Paper file) and date.
  • If an export was missing, wrong or confusing, record it with engine.py feedback "..." --kind gap|bug|confusing|idea (see references/improve.md in the opendesigner skill). Nothing is posted without the person's OK.

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

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

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

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

Exports an OpenDesigner system to CSS variables, Tailwind, DTCG, Swift, Compose, Figma and Paper, and writes it into Figma or Paper through their MCP servers when connected.

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

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

كيف أثبّت Opendesigner Export في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/ckryptickunal/OpenDesigner/tree/main/.agents/skills/opendesigner-export. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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