شعار Fluid

Fluid

المجتمع
Darcos-Loft
fluid

تصميم حركة ويب بمستوى جاهز للإنتاج لمواقع React وTailwind. استخدمه عند إنشاء الرسوم المتحركة أو اختيارها أو مراجعتها، بما في ذلك تأثيرات التمرير والظهور وانتقالات الصفحات وتأثيرات التحويم والعدادات والنصوص المتحركة والتفاعلات الدقيقة. يحدّد قواعد التخفيف والتوقيت والارتداد ونقطة الأصل وتقليل الحركة، ويقدّم مكتبة مكوّنات جاهزة للإضافة.

Add to TypingMind

نظرة عامة

الناشرDarcos-Loft
المستودعfluid
اسم المهارةfluid
النجوم
3
التفريعات
0
الملفات المرفقة
16
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Fluid

Motion that feels like an extension of the user, not decoration. This skill is a house motion language: a small set of rules that decide whether to animate and how, plus a library of components that already follow them.

The rules are distilled from years of our own production sites into one house motion language.

House craft bar: the finish reference is plrstudio.fr. Motion stays restrained and serves the content (Swiss craft, the motion only accompanies). The differentiator is the quality of each detail, not the count of effects. When in doubt, do less, and make what remains feel inevitable: signature easings, spring micro-interactions, custom SVG over stock icons, a rationed brand accent.

When to use this skill

Whenever a task involves movement on a web interface:

  • adding or changing an animation, transition, hover, or scroll effect
  • building a reveal on scroll, a rolling counter, a marquee, a smooth-scroll page
  • reviewing a UI for "why does this animation feel off"
  • starting a new site and wanting the motion baseline set correctly

First decision: does it deserve motion?

fluid loves motion, used on purpose. Animate what rewards the eye and clarifies the moment; keep instant what the user hits constantly. The aim is fluid, not busy.

Let it flow when it is occasional, teaches something, gives feedback, reveals content, or keeps space consistent (a panel returns the way it left). That is most of a marketing site: heroes, reveals, counters, hovers, section transitions.

Keep it instant when:

  • the interaction happens many times a day (menus, list rows, repeated hovers)
  • it is triggered by the keyboard or by a tool the user runs to go fast
  • it adds nothing to clarity, feedback, or spatial understanding

If you keep one line: frequent means instant, everything else gets to flow.

The rules (apply by default)

Timing

  • Frequent micro-interactions stay fast: hovers, presses, selects around 150 to 250ms. Reveals, heroes, and ambient motion can run longer (600ms and up) when deliberate.
  • Animate transform and opacity for anything that moves often (GPU-cheap, smooth). Avoid animating layout (width, height, top, margin), and prefer naming the properties over a blanket transition: all.

Easing

  • ease-out for almost everything that enters or exits. It feels responsive.
  • ease-in-out for elements that move or morph while staying on screen.
  • ease-in suits exits more than enters; for enters use ease-out.
  • linear only for marquees, hold-to-confirm, and 3D rotation.
  • Prefer the house signature curves over browser defaults: --out: cubic-bezier(0.22, 1, 0.36, 1) for enters, exits, and hovers (the default), --fr: cubic-bezier(0.27, 0, 0.51, 1) for on-screen morphs and position changes, --spring: cubic-bezier(0.34, 1.4, 0.5, 1) for a gentle overshoot. The Reveal component uses a slightly stronger expo variant cubic-bezier(0.16, 1, 0.3, 1) for large section reveals. Full set in reference/easings-and-durations.md.

Springs (anything gesture-driven or that should feel physical)

  • Think in damping and response, never in duration.
  • Default to no overshoot. Add bounce only when the motion carried momentum.
  • The house rolling counter uses stiffness 120, damping 20.

Details that separate good from great

  • Press feedback: scale(0.97) on :active, around 150ms.
  • Never animate from scale(0). Start near 0.93 so it grows, instead of materialising from nothing.
  • Make scaling origin-aware. Popovers grow from their trigger: use the library transform-origin variable (Radix, Base UI), not the center.
  • If an animation still feels wrong after fixing easing and timing, add filter: blur(2px) across the transition.
  • Do not delay repeated tooltips. Delay the first, make the rest instant.

Accessibility (non negotiable)

  • Every motion must honour prefers-reduced-motion: disable inertia and parallax, snap counters to their final value, freeze ambient canvases on the first frame. Every component here already does this. Keep it that way.

Workflow

  1. Decide if it should move at all (section above). If not, stop.
  2. Pick the smallest tool: a CSS transition for a hover or press, a scroll-linked reveal for sections, a spring for anything gesture-driven or physical.
  3. Reach for a component below before writing new motion. When you do write new motion, follow the recipes in reference/motion-craft.md.
  4. Set easing and duration from the rules. transform and opacity only.
  5. Add the reduced-motion path in the same change, not later.
  6. Review against reference/anti-patterns.md before calling it done.

Component library

Drop-in, dependency-light, all reduced-motion safe. Files in components/. Stack: React 19, framer-motion, lenis, Tailwind v4.

  • SmoothScroll + ScrollContext: one weighted Lenis instance feeding a single shared velocity and progress value to the whole page. The biggest single lever for the premium feel. lerp 0.09, duration 1.1, native fallback under reduced motion.
  • ScrollProgress: a 2px reading-progress hairline that reuses the shared progress value at zero extra scroll cost.
  • Reveal: opacity and y: 24 on scroll into view, expo-out, fires once. The default way to bring sections in.
  • Odometer: per-digit rolling counter, springs to its value on view, locale-aware grouping, tabular figures.
  • AmbientField: soft brand-tinted blobs drifting on additive blend behind a hero. Pure canvas, no deps, paused off screen, frozen under reduced motion, gradients cached.
  • Marquee (+ marquee.css): infinite linear scroll for logos or tickers, the one correct use of linear. Pauses on hover, freezes under reduced motion.

Detector (deterministic guardrail)

Run detector/detect.mjs to scan code for these anti-patterns automatically, with no API calls. It is the fast, measurable, anti-generic check.

bash
node detector/detect.mjs src          # or bun; folders or files
node detector/detect.mjs --json src   # for CI
node detector/detect.mjs --strict src # exit 1 on warnings too

It flags the motion smells above (transition: all, layout animation, ease-in, scale(0), long durations, dated bounce, missing reduced-motion) and the generic-look tells (Inter/Roboto/Arial as a primary font, the purple gradient, pure black, emoji icons, Aceternity/Magic UI/21st template signatures shipped verbatim, and the display fonts generations converge on: Space Grotesk, Geist, Plus Jakarta Sans). Suppress a line with fluid-disable-line, configure via fluid.config.json. Rules live in detector/rules.mjs, extend them as the house ruleset grows. Run it before calling any UI change done.

Reference (load when needed)

  • reference/easings-and-durations.md: the full easing map, custom curves, duration table.
  • reference/motion-craft.md: implementation recipes (text blur reveal, pointer physics, number roll, spring discipline, stagger), all reduced-motion safe. Read this when you write new motion.
  • reference/principles.md: the motion principles behind the rules, condensed.
  • reference/anti-patterns.md: the review checklist. Seed of a future deterministic detector.

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

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

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

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

تصميم حركة ويب بمستوى جاهز للإنتاج لمواقع React وTailwind. استخدمه عند إنشاء الرسوم المتحركة أو اختيارها أو مراجعتها، بما في ذلك تأثيرات التمرير والظهور وانتقالات الصفحات وتأثيرات التحويم والعدادات والنصوص المتحركة والتفاعلات الدقيقة. يحدّد قواعد التخفيف والتوقيت والارتداد ونقطة الأصل وتقليل الحركة، ويقدّم مكتبة مكوّنات جاهزة للإضافة.

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

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

كيف أثبّت Fluid في TypingMind؟

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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