animation-on-scroll
Installation
SKILL.md
Animation On Scroll — Intentional Scroll Motion
Mandatory Pre-Flight Context Inspection
Before implementing scroll-driven animations, you MUST inspect:
- Target browser support → Prefer pure CSS
animation-timeline: view()/scroll()when possible - Pinning & Scrubbing rules (Section 45) → Use
scrub: 1in GSAP ScrollTrigger timelines for smooth inertia - Anti-Scrolljacking rule (Section 88) → Never hijack native scroll wheel momentum or override browser scrolling velocity
Architect performant scroll-linked motion and scrollytelling sequences that feel natural, fluid, and non-intrusive.
Activation Boundaries
- Activate when: Operating in tasks requiring Intentional scroll-driven motion using modern CSS scroll-timeline, view-timeline, or GSAP ScrollTrigger without scroll jank or performance degradation..
- DO NOT activate when: The task falls strictly outside animation-on-scroll domain or belongs to a different dedicated specialist.