شعار Ui Style Extractor

Ui Style Extractor

المجتمع
ivansong1981
ui-style-extractor

Extract visual design systems from existing websites into reusable markdown style guides, optional website demos, and optional app UI style guides. Use when analyzing a live site, screenshots, or harvested CSS to document colors, typography, spacing, layout, components, motion, and design rules, or when generating new website or app UI that should match a reference site's visual language without copying its content.

نظرة عامة

الناشرivansong1981
المستودعui-style-extractor
اسم المهارةui-style-extractor
النجوم
6
التفريعات
1
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

UI Style Extractor

Extract a site's visual language into a reusable Markdown guide, then use that guide to build original pages that still feel native to the source system.

Workflow

  1. Decide the output first.
    • Produce only a website style guide when the user wants documentation or prompt context.
    • Produce a website style guide plus demo page when the user wants website validation.
    • Produce a website style guide plus app UI style guide when the user wants the visual system translated into product UI.
    • Produce all three only when the user explicitly wants both website and app outputs.
  2. Build the evidence set before writing.
    • Prefer production CSS, design tokens, computed styles, and real DOM structure over screenshot-only guesses.
    • Inspect at least the homepage and one secondary page unless the user gives a tighter scope.
    • Use screenshots to capture composition, density, rhythm, imagery treatment, and overall mood.
  3. Duplicate the blank template and fill it section by section.
    • Use exact values where possible.
    • If a section is unsupported by evidence, write Not observed or Not present instead of inventing details.
  4. Distill repeated patterns into system rules.
    • Promote only repeated values into palette, spacing, radius, shadow, or motion tokens.
    • Keep one-off values in component notes unless they clearly define the brand language.
  5. Generate derivative outputs only after the website guide is stable.
    • Change the copy, product, and brand-specific content.
    • Preserve the design grammar: typography hierarchy, spacing rhythm, component treatment, and motion behavior.
    • For app guides, inherit the token layer first, then mark shell, workflow, and state patterns as adapted or inferred where necessary.
  6. Validate against the reference.
    • Compare screenshots side by side.
    • Tighten the guide if the generated page drifts from the source.

Extraction Rules

  • Prefer exact CSS values over visual estimation.
  • Treat screenshots as supporting evidence, not the primary source of tokens.
  • Record which pages were analyzed near the top of the guide.
  • Separate global rules from component-local exceptions.
  • Call out uncertainty explicitly when the source is ambiguous.
  • If the site has multiple modes or contrasting sections, document each mode rather than averaging them together.
  • Keep the final "Summary of Key Design Rules" strict enough that another model can follow it without re-reading the entire guide.

Demo Rules

  • Build original content in the extracted style; do not reproduce the reference site's copy wholesale.
  • Reuse the extracted tokens faithfully before adding custom flourishes.
  • Match the site's density and alignment logic, not just its colors and fonts.
  • Include only enough interactivity to demonstrate the system.
  • If fidelity depends on animation, gradients, or texture, implement them rather than omitting them.

App Guide Rules

  • Treat app UI guides as a derived artifact unless real product UI was also analyzed.
  • Explicitly separate inherited website tokens from adapted or inferred app patterns.
  • Define the product assumption near the top: dashboard, admin panel, consumer utility, and so on.
  • Keep app shells, data views, and forms consistent with the source system instead of defaulting to a generic SaaS aesthetic.
  • If the source is mostly marketing UI, reduce decorative gradients and oversized hero spacing in app contexts.

Output Conventions

  • Prefer <site>/<site>-ui-style.md for guide files when working in a multi-example repo.
  • Prefer <site>/demo.html for validation pages.
  • Prefer <site>/<site>-app-ui-style.md for app adaptation guides.
  • Keep reference captures close to the example, such as ref-viewport.png or ref-fullpage.png.
  • Keep guides in Markdown and keep component examples copyable.

Shared Resources

  • Use ../../../ui-style-extractor/assets/style-guide-template.md as the blank extraction template.
  • Use ../../../ui-style-extractor/assets/app-ui-style-template.md as the blank app adaptation template.
  • Read ../../../ui-style-extractor/references/extraction-workflow.md when you need the detailed page-selection and evidence-gathering workflow.
  • Read ../../../ui-style-extractor/references/app-adaptation-workflow.md when translating a website system into an app UI guide.
  • Read ../../../ui-style-extractor/references/quality-bar.md when deciding whether a guide or demo is complete enough to ship.

Install Note

  • This wrapper exists so Claude Code can discover the shared skill when this repository is open as a project.
  • For installation into another project or into ~/.claude/skills/, copy the canonical ui-style-extractor/ folder from this repository into that skills/ directory.

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

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

Extract visual design systems from existing websites into reusable markdown style guides, optional website demos, and optional app UI style guides. Use when analyzing a live site, screenshots, or harvested CSS to document colors, typography, spacing, layout, components, motion, and design rules, or when generating new website or app UI that should match a reference site's visual language without copying its content.

لماذا تستخدم Ui Style Extractor على TypingMind؟

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

كيف أثبّت Ui Style Extractor في TypingMind؟

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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