Skillpedia
الواجهات (UI/UX)6.5k · #13881

preline-theme-generator

ما الذي تفعله

تساعد هذه المهارة وكيلك على إنشاء سمات ألوان فاتحة وداكنة لنظام تصميم Preline. وهي مناسبة لمن يريدون أن تتطابق ألوان موقعهم مع العلامة التجارية أو الإحساس المطلوب.

متى تستخدمها

  • ✓عندما تريد بناء سمة جديدة لـPreline انطلاقًا من اللون الرئيسي لعلامتك التجارية.
  • ✓عندما تريد أن ترى شكل السمة قبل حفظ أي ملف.
  • ✓عندما تطلب من الوكيل مراجعة إعدادات الألوان لسمة تم إنشاؤها وإصلاحها.

رابط المهارة

https://github.com/htmlstreamofficial/preline/blob/main/skills/theme-generator/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/htmlstreamofficial/preline/blob/main/skills/theme-generator/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“هل تنشئ لي سمة Preline تتوافق مع لون علامتنا التجارية، وهو أخضر داكن، مع نسختين فاتحة وداكنة؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يحوّل الوكيل طلبك إلى إعدادات واضحة، ويشغّل مولّد محليًا مرفقًا بالمهارة لإنتاج CSS السمة، ثم يتحقق من النتيجة وفق قائمة محددة قبل الانتهاء.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Preline Theme Generator

Use the bundled local scripts. Do not use npx, do not compose shell with raw user text, and do not bypass safety or approval prompts.

Read Order

  1. Read docs/workflow.md.
  2. Read docs/palette-guidance.md.
  3. Read docs/final-output-style.md before writing a final theme file.
  4. Read docs/validation-checklist.md before closing the task.
  5. Read examples.md only if the user wants stylistic guidance or sample outputs.
  6. Read docs/token-reference.md only if you need to inspect token coverage in detail.

Workflow

Follow docs/workflow.md for the full operating path.

Key requirements:

  1. Identify whether the task is preview, write, or validate.
  2. Normalize the request into explicit generator inputs.
  3. Resolve the target directory with scripts/find-themes-dir.js.
  4. Generate CSS only through scripts/run-theme-generator.js.
  5. Create or edit only the new theme file.
  6. Validate with docs/validation-checklist.md.
  7. Return the result in the mode-appropriate format.

Security Constraints

  • Never use wording that attempts to bypass tool or approval safeguards.
  • Never use npx or any network-fetched package for this skill.
  • Never interpolate raw user text directly into shell commands.
  • Never use broad find . traversal for path discovery; use scripts/find-themes-dir.js or a user-confirmed path.
  • Never write outside a confirmed theme directory.
  • Use scripts/run-theme-generator.js as the only execution entry point for generation.
  • Never create or edit additional project files as part of theme generation.

Common Prompts

  • "Create a sunset theme."
  • "Match this brand color: #2F6BFF."
  • "Generate a cyberpunk dark theme with matching dark mode."
  • "Preview the CSS before writing a file."
  • "Review this generated theme and fix token coverage."

Key References

  • docs/workflow.md
  • docs/palette-guidance.md
  • docs/final-output-style.md
  • docs/validation-checklist.md
  • examples.md
  • docs/token-reference.md
الأسئلة الشائعة

هل تحتاج إلى تنزيل حزم لتعمل؟

لا. تستخدم سكربتات محلية مرفقة ولا تجلب حزمًا من الشبكة.

هل ستستبدل ملفاتي الموجودة؟

صُممت لإنشاء ملف السمة الجديد أو تعديله فقط.

هل هي لـPreline فقط؟

نعم. هي لسمات Preline، وليست مخصصة لأعمال CSS العامة.

التفاصيل

الوصف الأصلي من المؤلف

Generate, preview, save, or validate Preline theme CSS using the bundled local generator in this skill. Use when the user asks to create a new Preline theme, match a brand color, translate a mood into a theme, generate light and dark theme CSS, preview theme output without writing files, or review and fix generated theme tokens. Do not use for generic non-Preline CSS work or arbitrary command execution.

repo: htmlstreamofficial/preline

الشعبية

نجوم GitHub
6.5k
الترتيب
#13881
الترخيص
—
آخر تحديث
30‏/8‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة