شعار Scss Dry Structure

Scss Dry Structure

المجتمع
mrwigster
scss-dry-structure

Build or refactor maintainable component styling when a task benefits from SCSS architecture, shared design tokens, or deliberate CSS reuse. Consider the project's stack and task size first. Use for substantial styling in Sass projects or explicit styling-architecture requests; skip routine CSS tweaks and established alternative styling systems unless this guidance is requested.

نظرة عامة

الناشرmrwigster
المستودعscss-dry-structure
اسم المهارةscss-dry-structure
النجوم
4
التفريعات
0
الملفات المرفقة
21
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mrwigster/scss-dry-structure.git \
  .claude/skills/scss-dry-structure
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

SCSS DRY Structure

Create cohesive interfaces with clear style ownership, meaningful shared values, and economical CSS. SCSS is a useful authoring tool; the outcome is a well-designed, maintainable interface.

Decide whether this fits

Consider the whole project before adopting this workflow: its styling system, design system, build pipeline, and the requested change. The presence of a CSS file alone is not a reason to use this skill.

  • Good fit: substantial component work in a Sass project; consolidating inconsistent tokens or repeated style patterns; an explicit request for SCSS or styling architecture.
  • Usually skip: a small spacing/color fix, content-only work, native UI code, or ordinary work in an established Tailwind, CSS-in-JS, CSS Modules, or framework-scoped styling system. Continue with that project's normal workflow without a skill audit.
  • Explicit invocation: apply the relevant principles even in plain CSS or another system, adapting to its conventions. Invocation does not require converting it to Sass.

The user's instructions take precedence over this skill's defaults. Infer routine choices from the project and proceed; ask only when missing information materially changes the result. Keep work proportionate to the request. Do not expand a component change into a redesign, tooling migration, or design-system rebuild.

Establish the local context

Inspect the relevant component/template, nearby styles, token definitions, and actual style imports/build configuration. Identify the source file, selector contract, theme/state hooks, and browser targets. Follow a shared token's consumers when changing its meaning; a local search cannot establish its global impact.

For an unfamiliar or scattered style tree, optionally run the bundled inventory from this skill's directory:

sh
python3 /path/to/scss-dry-structure/scripts/style_audit.py /path/to/project-or-component

Replace paths with the actual skill and project locations. The script is a bounded, read-only source inventory, not a CSS parser or proof of quality. Narrow the path when its output is incomplete. If unavailable, use targeted file searches and continue. Do not run it or load every reference for a routine edit.

Make the design intentional

For new or substantially redesigned UI, identify the audience, primary action, content hierarchy, and visual direction from the brief and existing assets. Carry the project's typography, spacing rhythm, color roles, imagery, and density through the affected components. If the brief leaves room, choose a coherent direction and implement it without a mandatory design questionnaire.

Use composition and hierarchy to distinguish sections. Cards, gradients, shadows, pills, and animation should serve the content. Build with realistic content and relevant empty, error, loading, and interaction states. Read design-quality.md for substantial visual work.

Author with clear ownership

  • Extend the appropriate partial or component stylesheet; wire new files into the actual import graph. Preserve CMS/plugin hooks, naming conventions, and existing layer precedence. Edit source styles and rebuild tracked outputs through the existing pipeline.
  • Reuse tokens by meaning, not coincidentally equal values. Prefer CSS custom properties for runtime themes and component variation, Sass variables/functions for compile-time work. Keep one source of truth; a token for every literal or an alias for every component adds noise.
  • Share styles when they represent a stable common responsibility. Prefer an existing component or composition pattern; use a mixin for useful parameterized behavior. Small intentional duplication can be cheaper than coupling unrelated components. Avoid new @extend chains or large generated utility maps merely to satisfy DRY.
  • Keep compiled selectors predictable and low in specificity. Nest for component parts, states, and related queries, not to mirror the DOM. Preserve local BEM/scoping conventions; Sass &__part concatenation is not native CSS nesting syntax.
  • For new Sass modules, use namespaced @use/@forward and built-in modules. Keep @use at the top level before style rules; never nest it in @layer. Preserve working legacy import paths for bounded edits; migrate them when that is part of the task.
  • Prefer intrinsic Grid/Flex layouts, flexible sizing, and content-driven breakpoints. Use container queries when a component responds to its allocated space. Choose features for the project's browser targets, providing a usable fallback when needed.

Read scss-patterns.md when choosing token/module boundaries, resolving cascade issues, or changing architecture. It contains a compilable layer pattern and important Sass/CSS distinctions.

Verify the result, then finish

Use the project's relevant build/lint checks. For visible changes, inspect the affected UI at narrow and wide sizes when a browser is available; check keyboard focus, contrast, overflow, content extremes, and changed states. Fix observed defects. If rendering is unavailable, state that limitation.

For shared-style or substantial UI changes, use validation.md to select additional accessibility, regression, and performance checks. Inspect emitted CSS when changing imports, layers, mixins, or generation. Avoid new runtime dependencies for CSS-solvable layout or decoration.

Scale checks to the changed surface and complete required project checks. Once they pass, broaden testing only for unresolved risks or new failures. Report the useful design/structure decisions, checks actually run, and material limitations concisely; do not claim performance or accessibility results that were not measured.

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

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

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

ماذا تفعل مهارة الذكاء الاصطناعي Scss Dry Structure؟

Build or refactor maintainable component styling when a task benefits from SCSS architecture, shared design tokens, or deliberate CSS reuse. Consider the project's stack and task size first. Use for substantial styling in Sass projects or explicit styling-architecture requests; skip routine CSS tweaks and established alternative styling systems unless this guidance is requested.

لماذا تستخدم Scss Dry Structure على TypingMind؟

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

كيف أثبّت Scss Dry Structure في TypingMind؟

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

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Scss Dry Structure؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Scss Dry Structure؟

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

هل مهارة الذكاء الاصطناعي Scss Dry Structure مجانية؟

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

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

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

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

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

عرض الكل

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

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