شعار Design Gate

Design Gate

المجتمع
ymt23
design-gate

Conversation-first visual design gate for AI-driven UI design and implementation. Use when Codex must turn short human direction, screen requirements, concept art, Lazyweb/Mobbin references, or implemented UI screenshots into design direction, visual direction, Evidence Board, Reference Decision Matrix, Visual Fidelity Contract, implementation handoff, rework instruction, pass/fail design review, State Capsule, Self-Review, or version report. Use for Human/CX role separation, internal request intent, parallel Lazyweb/Mobbin reference lanes, required reference research before proposals or contracts, hard fail rules, score caps, and multi-agent handoff/review contracts.

نظرة عامة

الناشرymt23
المستودعcx-design-gate
اسم المهارةdesign-gate
النجوم
3
التفريعات
0
الملفات المرفقة
23
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Design Gate

Use Design Gate to prevent implementation agents from treating build success or constraint satisfaction as visual success. The skill owns the conversation-first workflow between project-specific requirements, reference material, design direction, implementation handoff, and screenshot-based design review.

Core Rule

Keep project truth outside this skill. Read project documents and project-local calibration packs from the consuming project. Humans should direct outcomes in natural language; Design Gate infers the internal intent and supplies the procedure, schemas, gates, prompts, and generic failure patterns.

Workflow

  1. Accept short Human direction. Do not require Humans to provide request_type, Lazyweb/Mobbin instructions, Evidence Board instructions, or no-mutation constraints.
  2. Infer the internal intent. Accept explicit request_type only as a backward-compatible override.
  3. Resolve requirements, default calibration, constraints, and any linked references into a Project Context Packet.
  4. For design, visual, reference, or contract intents, run the Reference Research Workflow before proposing a screen direction or contract.
  5. If required input is missing, stop with Input blocked. If required reference research is blocked, stop with Reference research blocked.
  6. Build parallel Lazyweb and Mobbin reference lanes, then an Evidence Board and Reference Decision Matrix before converting references into direction or contract outputs.
  7. Apply hard fail rules before assigning a score.
  8. Treat screenshots and visible behavior as stronger evidence than implementation self-reports.
  9. Do not implement unless the user explicitly asks for implementation.
  10. End each response with State Capsule and CXDG Self-Review unless the request is only a terse version check.
  11. Produce one of these outputs, matching the inferred intent:
  • Design Direction
  • Visual Direction
  • Evidence Board
  • Reference Decision Matrix
  • Visual Fidelity Contract
  • Implementer Handoff Prompt
  • Designer Screenshot Review
  • Rework Instruction
  • Calibration Case Draft
  • Version Report

Reference Research Workflow

Use this workflow whenever the user asks for a screen proposal, visual direction, design direction, reference gate, or Visual Fidelity Contract, even if the user does not name an internal request type.

Required sequence:

  1. Read the packet-linked requirements and relevant active calibration cases.
  2. Confirm both Lazyweb and Mobbin MCP reference tools are available.
  3. Search Lazyweb and Mobbin with target-screen queries derived from the requirements.
  4. Keep results in separate lanes:
    • Lazyweb Lane: flow, direction, hypotheses, screen patterns, and A/B-style clues.
    • Mobbin Lane: shipped UI examples, component structure, density, spacing, and transitions.
    • Synthesis Lane: adoption, transformation, rejection, and integrated recommendations.
  5. Build an Evidence Board with preview, source URL or identifier, relevance, and evidence type.
  6. Decide whether concept evidence is needed. Use CX image generation only when the request or requirements ask for mood, polish, decoration, visual direction, or concept art. If not used, state Concept Evidence: not generated and why.
  7. Create a Reference Decision Matrix with adopt, transform, reject, or compare_only for each reference.
  8. Only after the Evidence Board and matrix, produce design directions, visual directions, or a Visual Fidelity Contract.

Do not use calibration cases as a substitute for live Lazyweb/Mobbin reference research. If either Lazyweb or Mobbin is unavailable, missing, unauthenticated, or returns no usable evidence, output Reference research blocked with the missing source and do not produce screen proposals.

For Mobbin, use screen and flow results as static or flow references unless the tool response includes motion evidence. Do not infer video, duration, easing, or animation metadata from Mobbin screen images.

For detailed input and output shape, use references/io-contract.md, references/request-types.md, templates/evidence-board.md, references/reference-decision-matrix.md, templates/design-direction-output.md, templates/state-capsule.md, and templates/self-review.md.

Role Split

Use the detailed role model in references/role-model.md when a task involves multiple CX roles or Human handoff.

Default roles:

  • Human: Director and final judge.
  • Project Agent: Collects project truth and creates the Project Context Packet.
  • Design Gate / Designer CX: Reviews visible UI against contract and hard gates.
  • Architect CX: Converts requirements and references into contracts.
  • Implementer CX: Builds from the contract and returns screenshot/build evidence.
  • MCP services: Provide references only; they do not decide adoption or visual pass.

Required Inputs

If the task lacks readable requirement sources, ask the Project Agent or Human for them, or produce a packet request using templates/project-context-packet.md.

For normal use, accept the conversation-first input in references/io-contract.md. Do not require the Human or Project Agent to prebuild live reference research, Evidence Board, Reference Decision Matrix, request_type, or no-mutation constraints.

Minimum Project Context Packet fields:

  • project_id
  • target_screen
  • request_type
  • screen_requirements
  • design_principles
  • implementation_scope
  • reference_assets
  • non_negotiable_rules
  • release_constraints
  • active_calibration_cases

See references/project-context-packet.md for the full schema.

Layer Gate

Always distinguish persistent controls from scroll content:

  • Persistent Control Layer: tab bars, nav bars, toolbars, floating CTAs, HUDs, sticky action bars.
  • Scroll Content Layer: cards, lists, grids, carousels, feeds, form sections, inventory/item grids.

Persistent controls must not deform scroll-content item internals. If overlap must be managed, prefer scroll padding, safe area, z-index, hit-area rules, or review-scoped acceptance. Do not shrink card text, alter item dimensions, or distort content layout to avoid an overlay.

Hard Fail First

Before scoring, apply references/hard-fail-rules.md. If a hard fail applies, say so directly and do not call the result pass.

Common hard fails:

  • Primary text is unreadable, clipped, hidden, or too compressed at screenshot scale.
  • Grid/list/card item display is broken even if constraints technically fit.
  • Persistent controls deform content item internals.
  • Screenshot contradicts the implementer's self-report.
  • Build/test success is used as visual pass evidence.

Score Caps

If the user requests scoring, apply references/score-cap-rules.md. Score caps limit optimistic scoring when important evidence is missing or partially broken.

Resources

  • references/role-model.md: Human/CX/MCP responsibilities and forbidden judgments.
  • references/io-contract.md: Conversation-first input and fixed output contract.
  • references/request-types.md: Internal intent labels and outputs.
  • references/project-context-packet.md: Context packet schema and intake rules.
  • references/reference-decision-matrix.md: Required Lazyweb/Mobbin reference research and adoption decisions.
  • references/visual-fidelity-contract.md: Contract structure for image/reference to UI implementation.
  • references/hard-fail-rules.md: Non-negotiable visual fail conditions.
  • references/score-cap-rules.md: Score cap rubric.
  • references/calibration-case-schema.md: Project-local calibration case schema.
  • references/multi-agent-orchestration.md: Multi-agent handoff/review/rework contract.
  • templates/state-capsule.md: Conversation state handoff shape.
  • templates/self-review.md: CXDG guardrail checklist.
  • templates/version-report.md: Plugin version and CHANGELOG report shape.
  • templates/*.md: Prompt and artifact templates.
  • ../../examples/generic/*.md: Anonymized pass/fail calibration patterns.

Output Discipline

Use concise, evidence-led judgments. Separate:

  • observed screenshot result
  • implementation claim
  • contract requirement
  • pass/fail decision
  • next action

When the screenshot and implementation report disagree, prefer the screenshot.

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

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

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

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

Conversation-first visual design gate for AI-driven UI design and implementation. Use when Codex must turn short human direction, screen requirements, concept art, Lazyweb/Mobbin references, or implemented UI screenshots into design direction, visual direction, Evidence Board, Reference Decision Matrix, Visual Fidelity Contract, implementation handoff, rework instruction, pass/fail design review, State Capsule, Self-Review, or version report. Use for Human/CX role separation, internal request intent, parallel Lazyweb/Mobbin reference lanes, required reference research before proposals or co...

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

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

كيف أثبّت Design Gate في TypingMind؟

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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