شعار Craft System

Craft System

المجتمع
diego3g
craft-system

Use when starting a design system, style guide or token set, adding or changing a component or token, standardizing screens that drifted apart, or auditing a guide for loose colours, one-off pieces, missing states or screens that don't match it.

نظرة عامة

الناشرdiego3g
المستودعcraft
اسم المهارةcraft-system
النجوم
546
التفريعات
29
الملفات المرفقة
8
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Design system

Overview

A design system is the place where a decision is made once and then reused everywhere. Every colour is a token, every interactive piece shows all its states, and every change reaches every screen that uses the piece. Build it in layers, foundations first, and stop for approval at each layer. An audit reports and never fixes on its own.

When to use

  • "Start a style guide / design system / tokens for …"
  • Adding a component, variant or token, or changing an existing one.
  • "Make these screens consistent", "standardize", "audit the guide", or loose hex values and one-off pieces in the screens.

When NOT to use

  • A question about one value ("what's our primary colour?"): answer it.
  • A small edit the person described exactly (one value, one label, one size), even on a shared piece: change it once where it's defined and say which screens it affects. No states matrix, no stop.

Before you start

  1. Read DESIGN.md at the project root if it exists: it is the project's design brief.
  2. Find what exists: tokens, the guide, the components, the screens and the code. An existing guide wins on look. Follow its rules even where they differ from the defaults below, and mention the difference once.
  3. Pick your tool's adapter in references/adapters/ (paper.md, pen.md, figma.md, penpot.md, html.md). If no adapter matches your tool, do the same verbs in your tool and say which you mapped by hand. With no design tool at all, build in HTML (html.md). If an image is all you have, say that values read from it are estimates.
  4. Decide the mode: create, add or change, or audit.

Steps · create

  1. Foundations draft:

    • colour roles (token roles);
    • type scale;
    • spacing;
    • radius;
    • shadows (two at most);
    • layout widths;
    • motion durations;
    • a short "how we write" section.

    Name tokens by role (text-muted, border-hover, danger-bg), never only by value (gray-500).

  2. Interaction rules, once: for bordered pieces, borderless pieces and the primary action, write how hover, pressed, focus (keyboard only), disabled, loading and selected look. Components follow these rules instead of each inventing its own.

  3. Stop and show the person the foundations and the interaction rules. Don't build components yet.

  4. Components one at a time, in the order the first screens need them. Each gets a guide section with the component anatomy: a legend with the rule and why, examples, and a states matrix of variants × states. Add each one to the component index.

Steps · add or change a piece

  1. Check whether an existing component plus a variant covers it. Prefer reuse to a one-off.
  2. Draw it with the anatomy, including the full states matrix. A new colour, size or icon becomes a token or an icon-set entry now, not later.
  3. List every screen and code location that uses the piece.
  4. Stop and show the person the change and that list.
  5. On approval, propagate:
    • update every screen on the list;
    • update the code, if any. When DESIGN.md says the design system's source is code, do it with REQUIRED SUB-SKILL: craft-sync (export), so the code change is a reviewed diff. If that diff holds only the change just approved and no conflicts, the approval carries over: say so and apply, without a second stop;
    • update the component index;
    • report what changed where.

Steps · audit

  1. Run the audit checklist over the guide, the screens and the code if any.
  2. Write the report: findings ranked by severity, each with where it is, why it matters and the proposed fix.
  3. Stop and show the person the report. Change no file until they say which fixes to make. Saving copies of the originals doesn't make editing them acceptable.

Rules

Firm (any project):

RuleWhy
Every colour is a token; no loose hex values in screens or codeLoose values drift into near-duplicates that nobody can change at once
One icon setMixed sets look like mixed products
Design and code change together, design firstOtherwise the guide stops being the truth within a week. When the system's source is code, "design first" means: draw the change in the tool, then land it in code through an approved export
Every interactive piece has a states matrixStates drawn ad hoc on screens never agree
A change to a shared piece is listed with the screens it affects before it propagatesOtherwise one "small" change silently redesigns twenty screens

Defaults (an existing guide overrides them):

DefaultWhy
On hover, bordered pieces only darken the borderA changing background on cards and fields feels heavy
Hover is subtler than selectedWhen hover looks like selected, people think two things are chosen
Selecting never changes font weightA weight change shifts the text's width
Placeholders are lighter than muted textOtherwise a placeholder reads as entered text
Items in stacked lists and menus have a small gap, never touchingTouching highlights merge into one block
The focus ring only appears from the keyboardA ring after a mouse click looks like a bug
Loading keeps the element's exact sizeLayout shift
Shadows only on floating things (menus, popovers, dialogs, toasts), at two strengthsShadows everywhere flatten the hierarchy they were meant to create
At most one primary action per screenTwo primaries means the screen didn't decide

Done when

  • Create: foundations and interaction rules approved; each component has its anatomy, states matrix and an index row.
  • Change: every listed screen and code location updated, and the index updated.
  • Audit: a ranked report delivered and no file changed.

Common mistakes

ThoughtReality
"I'll build the whole guide in one go: tokens and ten components"Ten components on unapproved foundations means ten reworks. Foundations, stop, then components.
"The audit found problems, I'll just fix them"The person may disagree with half of the fixes. Report, stop, fix only what they pick.
"I kept the originals in a backup folder, so fixing is safe"A backup doesn't make the person agree with the fixes. Report first.
"Buttons have hover and disabled, good enough"A states matrix has every state × every variant: normal, hover, pressed, focus, disabled, loading, selected.
"--teal-600 is a token"It's a value. Components need roles (--color-primary) so the value can change in one place.
"This screen needs a slightly different card"Make it a variant of the card, or use the card. A one-off is the start of drift.

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

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

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

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

Use when starting a design system, style guide or token set, adding or changing a component or token, standardizing screens that drifted apart, or auditing a guide for loose colours, one-off pieces, missing states or screens that don't match it.

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

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

كيف أثبّت Craft System في TypingMind؟

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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