gsap-scrolltrigger-storytelling
ما الذي تفعله
تُرشد هذه المهارة وكيلًا للذكاء الاصطناعي في إنشاء عرض منتج ثابت يتحكم فيه التمرير باستخدام GSAP ScrollTrigger. وهي موجهة لفرق المنتجات التي تريد أن تأخذ الزوار في الميزات خطوة بخطوة.
متى تستخدمها
- ✓عندما تريد أن تأخذ الزوار في المنتج خطوة واحدة في كل مرة أثناء التمرير.
- ✓عندما يجب أن تتحرك الشاشات واللوحات والنصوص معًا كتسلسل واحد.
- ✓عندما تحتاج صفحة منتج إلى أقسام ثابتة وكشوف مرتبطة بالتمرير.
رابط المهارة
https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/gsap-scrolltrigger-storytelling/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ابنِ صفحة منتج تُمرَّر، فيها كل خطوة تكشف شاشة جديدة من تطبيقي مع نص متزامن.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يستخدم وكيلك ScrollTrigger لربط مخططات الحركة بموضع التمرير. تتحرك الشاشات والنصوص والطبقات معًا كتسلسل واحد، مع كشوف مثل اللوحات المنزلقة وعدّ القيم صعودًا.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
GSAP ScrollTrigger Storytelling Skill
Use When
- Build cinematic sticky product storytelling with GSAP ScrollTrigger, progressive UI reveals, scroll-synced animation, smooth interpolation, and immersive section transitions.
Workflow
Scope
- Apply this when the page should feel like a scroll-driven product story rather than a static marketing layout.
- Use GSAP ScrollTrigger as the main choreography layer for sticky sections, progressive interface reveals, pinned scenes, scrubbed timelines, and immersive transitions between sections.
- Preserve the actual product narrative and interface clarity. The motion should amplify comprehension, not hide basic content behind theatrical effects.
Experience target
- Create sticky product storytelling where each scroll segment reveals a new product state, feature layer, data view, device frame, or workflow step.
- Use scroll-synced animation so copy, UI panels, screenshots, overlays, and background atmosphere move together as one authored sequence.
- Build progressive UI reveals: draw in frames, fade in controls, slide panels into place, count values up, highlight regions, and swap states as the user advances.
- Keep the overall mood cinematic, premium, and immersive with controlled pacing, clean staging, depth, and transitions that feel intentional.
Implementation guidance
- Use GSAP timelines with ScrollTrigger
scrubfor the main scroll narrative and regular tweens only for supporting entrance or hover motion. - Pin long-form story sections with
pin: trueand map each scene to explicit timeline labels so the sequence is easy to tune. - Prefer transform and opacity animation over layout-affecting properties. Use
will-changesparingly on animated elements that actually need it. - Use
gsap.context()in React components and clean it up on unmount so ScrollTriggers are killed correctly. - Refresh ScrollTrigger after images, fonts, or async content load if those assets affect section height or pinned offsets.
- Use
matchMedia()or equivalent breakpoints so desktop sticky choreography can simplify gracefully on smaller screens.
Motion patterns
- Sticky product frame: keep the main artifact pinned while the surrounding narrative updates in measured steps.
- Layer reveal: bring labels, overlays, panels, and product states in one at a time with short offsets and a shared easing language.
- Section handoff: let the current scene scale, mask, blur, or translate into the next section instead of ending abruptly.
- Smooth interpolation: use scrub smoothing, quickSetter/quickTo, or lerped values for pointer-following and scroll-reactive details.
- Cinematic depth: use foreground/background parallax, subtle camera moves, dimming layers, masks, and focus shifts without overwhelming readability.
Tuning knobs
- Pin duration: extend for dense product stories, shorten when the scene has only one or two state changes.
- Scrub feel: use direct scrub for precise technical walkthroughs and eased scrub for a more cinematic product film feel.
- Reveal density: add more micro-reveals for complex UI, reduce them for narrative sections where copy needs to carry the moment.
- Transition intensity: keep high-impact transitions reserved for section handoffs, not every small content change.
Avoid
- Triggering unrelated animations on every scroll tick without a clear story beat.
- Using sticky/pinned sections that trap the reader for too long or make the page feel broken.
- Animating width, height, top, left, or layout-heavy properties during scrubbed scenes when transforms can do the job.
- Letting cinematic effects reduce text contrast, cover CTAs, or obscure the product UI the section is meant to explain.
- Leaving ScrollTriggers alive after component unmounts or route changes.
الأسئلة الشائعة
هل تخفي المهارة معلومات المنتج؟
لا. تنص المهارة على أن الحركة يجب أن تساعد الناس على فهم المنتج، لا أن تخفي المحتوى الأساسي خلف التأثيرات.
ما الأداة المستخدمة؟
GSAP مع إضافة ScrollTrigger.
هل يمكن عدّ الأرقام صعودًا؟
نعم. عدّ القيم صعودًا من أمثلة الكشف التدريجي التي تذكرها المهارة.
التفاصيل
الوصف الأصلي من المؤلف
Build cinematic sticky product storytelling with GSAP ScrollTrigger, progressive UI reveals, scroll-synced animation, smooth interpolation, and immersive section transitions.
repo: MengTo/Skills
الشعبية
- نجوم GitHub
- 7.2k
- الترتيب
- #13438
- الترخيص
- MIT
- آخر تحديث
- 1/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
3d-cloth-material
7.2kيساعد وكيلك على بناء قماش منسوج واقعي في Three.js، مع نسيج الخيوط والبريق الناعم والثنيات الطبيعية والأطراف والدروز.
3d-falling-leaves
7.2kيساعد وكيلك على إضافة أوراق متساقطة واقعية إلى مشهد ثلاثي الأبعاد، تتقلب وتنجرف مع الريح وتُعاد تدويرها مع حركة الكاميرا.
3d-four-seasons
7.2kيساعد وكيلك على إضافة مظاهر الربيع والصيف والخريف والشتاء إلى مشهد ثلاثي الأبعاد، بتغيير النباتات والضوء والسماء والثلج دون إعادة بناء المشهد.
3d-high-poly-models
7.2kيساعد وكيلك على بناء نماذج ثلاثية الأبعاد مفصلة بأشكال ناعمة وحواف مقنعة، ثم تجهيز نسخ أخف تعمل جيدًا على الويب.
مهارات مشابهة
angular-developer
280kيساعد وكيلك على كتابة شيفرة Angular وتقديم نصائح لبنية المشروع، ويفيد في بدء المشاريع الجديدة وإنشاء المكونات وتحسين الأداء وإمكانية الوصول.
frontend-a11y
280kيساعد وكيلك على جعل واجهات الويب متاحة للجميع، فيضمن أن المواقع والتطبيقات تعمل جيدًا مع قارئات الشاشة والتنقل بلوحة المفاتيح.
frontend-patterns
280kيطبّق وكيلك أنماط تطوير الواجهات الحديثة، فيحسّن الأداء ويدير الحالة ويتبع أفضل الممارسات في React وNext.js.