What problem does it solve?
This Skill prevents janky, insecure, and hard-to-maintain GSAP animation implementations by enforcing safe DOM usage, cleanup discipline, and performance/accessibility best practices.
Core Features & Use Cases
- GSAP animation guidance: Patterns for basic tweens, reusable timelines with labels, and structured React integration using useGSAP.
- Scroll-driven motion: ScrollTrigger setup patterns including scoped/cleaned triggers and reduced-motion disabling.
- Advanced motion effects: Flip-based layout transitions and orchestration strategies for complex sequences.
- Safety & quality gates: Guards against unsafe animation targeting, layout thrashing, missing cleanup on unmount, and reduced-motion violations.
Quick Start
Use the gsap skill when you need to implement a GSAP tween or timeline (including optional ScrollTrigger or Flip) for a scroll-driven or complex motion sequence in a web UI, ensuring you use validated element references, GPU-friendly properties, cleanup, and reduced-motion fallbacks.