A comprehensive AI skill for building production-grade animations with GSAP. Covers core tweens/timelines, all major plugins, React/Next.js patterns, performance optimization, accessibility, and debugging.
npx skills add https://github.com/su69ar/rdnax-gsap-master --skill gsap-masterInstall this skill with the CLI and start using the SKILL.md workflow in your workspace.
Full GSAP v3 mastery for interactive websites
A comprehensive AI skill for building production-grade animations with GSAP. Covers core tweens/timelines, all major plugins, React/Next.js patterns, performance optimization, accessibility, and debugging.
Author: rdnax
Version: 1.5.0
License: MIT
gsap-master/
āāā SKILL.md # Main skill instructions
āāā README.md # This file
āāā references/
āāā GSAP_CORE.md (13KB) # Core fundamentals
āāā GSAP_RECIPES.md (4KB) # Quick-reference recipes
āāā UI_INTERACTIONS.md (20KB) # UI patterns & micro-interactions
āāā TEXT_ANIMATIONS.md (15KB) # Text animation patterns
āāā PHYSICS_PLUGINS.md (8KB) # Physics2D & PhysicsProps
āāā NEXTJS_REACT_PATTERNS.md (8KB) # Framework integration
āāā GSDEVTOOLS.md (8KB) # Debugging UI
āāā DEBUG_CHECKLIST.md (5KB) # Troubleshooting guide
Place the entire gsap-master/ folder in your skills directory:
~/.gemini/antigravity/global_skills/gsap-master/
The skill auto-activates when you mention GSAP-related keywords.
Read SKILL.md directly or browse the references/ folder for topic-specific documentation.
The skill automatically activates on these topics:
| Category | Keywords |
|---|---|
| Core | GSAP, Tween, Timeline, easing, stagger, keyframes |
| Scroll | ScrollTrigger, ScrollSmoother, ScrollTo, pin, scrub, parallax |
| UI | Flip, Draggable, magnetic button, cursor follower, carousel |
| Text | SplitText, ScrambleText, TextPlugin, typewriter |
| SVG | DrawSVG, MorphSVG, MotionPath |
| Physics | Physics2D, PhysicsProps, inertia, gravity |
| Tools | GSDevTools, debugging, matchMedia, gsap.context |
| Framework | React, Next.js, useGSAP, SSR, cleanup |
gsap.to(), gsap.from(), gsap.fromTo(), gsap.set()quickTo, quickSetter, mapRange, clamp, snapgsap.context() and gsap.matchMedia()| Plugin | Description |
|---|---|
| ScrollTrigger | Scroll-based triggering, scrub, pin, snap |
| ScrollSmoother | Smooth scrolling + parallax |
| ScrollTo | Programmatic scroll navigation |
| Observer | Gesture detection (wheel/touch/pointer) |
| Flip | FLIP layout transitions |
| Draggable | Drag interactions |
| InertiaPlugin | Momentum physics |
| SplitText | Character/word/line splitting |
| ScrambleText | Text scramble effects |
| TextPlugin | Text replacement/typing |
| DrawSVG | SVG stroke animations |
| MorphSVG | Path morphing |
| MotionPath | Animate along paths |
| Physics2D | 2D projectile physics |
| PhysicsProps | Physics for any property |
| CustomEase | Custom easing curves |
| GSDevTools | Visual debugging UI |
useGSAP() hookgsap.context() cleanup patternmatchMedia() patterns"Create a hero animation with staggered text reveal"
"Add scroll-triggered parallax to this section"
"Make this button have a magnetic hover effect"
"Implement a draggable carousel with snap"
"Add physics-based confetti explosion"
Core GSAP fundamentals including:
UI patterns including:
Text animation patterns:
Physics animations:
Framework integration:
useGSAP() hookgsap.context() patternsDebugging:
Troubleshooting:
gsap.to(".box", { x: 200, rotation: 360, duration: 1 });
const tl = gsap.timeline({ defaults: { ease: "power3.out" } });
tl.from(".title", { y: 30, autoAlpha: 0 })
.from(".content", { y: 20, autoAlpha: 0 }, "<0.2");
gsap.from(".reveal", {
y: 50, autoAlpha: 0,
scrollTrigger: { trigger: ".reveal", start: "top 80%" }
});
"use client";
import { useRef } from "react";
import gsap from "gsap";
import { useGSAP } from "@gsap/react";
export function Animated() {
const container = useRef(null);
useGSAP(() => {
gsap.from(".box", { y: 50, autoAlpha: 0 });
}, { scope: container });
return <div ref={container}><div className="box">Hi</div></div>;
}
Edit SKILL.md to update activation triggers or output rules.
Add new reference files to references/ and update the references list in SKILL.md.
| Version | Changes |
|---|---|
| 1.5.0 | Added Physics plugins, comprehensive README |
| 1.4.0 | Added GSAP Core, GSDevTools |
| 1.3.0 | Added Text animations |
| 1.2.0 | Added UI interactions |
| 1.1.0 | Full plugin coverage |
| 1.0.0 | Initial release |
MIT License - Free to use and modify.
"GSAP is currently the best available tool for creating astonishing interactive websites and animation effects." - Petr Tichy