gsap-scrolltrigger-storytelling
できること
このスキルは、GSAPのScrollTriggerを使い、固定されたスクロール連動の製品紹介を作る作業をAIエージェントに案内します。訪問者に、製品の機能を一歩ずつ見せたい製品チーム向けです。
使う場面
- ✓訪問者がスクロールするごとに、製品を一歩ずつ見せたいとき。
- ✓スクリーンショット、パネル、文章が、一つの流れとして一緒に動くべきとき。
- ✓製品ページに、固定されたセクションとスクロールに同期した表示が必要なとき。
スキルのリンク
https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/gsap-scrolltrigger-storytelling/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“各スクロールの段階で、アプリの新しい画面と同期した文章が現れる、スクロール連動の製品ページを作ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、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
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
3d-cloth-material
7.2kThree.js で、糸の織り、柔らかい光沢、自然な襞、裾、縫い目を持つ、本物の織物らしい布を作るようエージェントを支援します。
3d-falling-leaves
7.2k3D のシーンに、回転し、風に流され、カメラの動きに合わせて再利用される、本物らしい落ち葉を加えるようエージェントを支援します。
3d-four-seasons
7.2k3D のシーンに、春、夏、秋、冬の見た目を加え、シーン全体を作り直さずに、茂み、光、空、雪を変えるようエージェントを支援します。
3d-high-poly-models
7.2k滑らかな形と自然な縁をもつ、詳細な3Dモデルを作り、その後、Web で快適に動く軽いバージョンを準備するようエージェントを支援します。
似ているスキル
angular-developer
280kエージェントがAngularのコードを作成し、プロジェクト構成についてアドバイスできるようにします。新しいプロジェクトの開始、コード部品の作成、パフォーマンスやアクセシビリティの改善に役立ちます。
frontend-a11y
280kエージェントが Web インターフェースを誰にとっても使いやすくするよう支援します。スクリーンリーダーやキーボード操作に対応し、サイトやアプリが適切に動作するようにします。
frontend-patterns
280kエージェントがフロントエンド開発の最新パターンを適用できるようにします。React と Next.js において、パフォーマンスの最適化、状態管理、ベストプラクティスの遵守を行います。