gsap-animation-helper-skill
v1.0.0
Published
Claude AI skill for professional GSAP animations. Provides expert guidance on Tweens, Timelines, ScrollTrigger, and other GSAP features.
Maintainers
Readme
GSAP Animation Helper Skill
A modular Claude AI skill for creating professional animations with GSAP (GreenSock Animation Platform).
What is This?
This is a Claude AI skill that extends Claude's knowledge for GSAP animations. It's designed with a modular structure for efficient agent usage - loading only the specific documentation needed for each query.
Structure
gsap-skill/
├── SKILL.md # Entry point with decision tree
├── plugins/
│ ├── scroll-trigger.md # ScrollTrigger plugin
│ ├── scroll-smoother.md # ScrollSmoother plugin
│ ├── split-text.md # SplitText plugin
│ ├── flip.md # Flip plugin
│ ├── draggable.md # Draggable + Inertia
│ ├── observer.md # Observer plugin
│ ├── draw-svg.md # DrawSVG plugin
│ ├── morph-svg.md # MorphSVG plugin
│ ├── motion-path.md # MotionPath plugin
│ ├── text-plugins.md # Text + ScrambleText
│ └── physics.md # Physics2D + PhysicsProps
├── frameworks/
│ ├── react.md # React + useGSAP hook
│ ├── nextjs.md # Next.js SSR handling
│ └── vanilla.md # Vanilla JS patterns
├── reference/
│ ├── core-methods.md # gsap.to, set, timeline, etc.
│ ├── utilities.md # gsap.utils methods
│ └── easing.md # All easing functions
└── examples/ # Code examplesWhy Modular?
- Efficient - Load only what's needed (e.g., ScrollTrigger query → read
plugins/scroll-trigger.mdonly) - Maintainable - Update individual plugins without touching everything
- Scalable - Easy to add new plugins/frameworks
- Token-efficient - ~150 lines per file instead of 1000+ in one file
How It Works
- Agent reads
SKILL.md(entry point with decision tree) - Based on user's question, agent reads the relevant file(s)
- Agent provides targeted, accurate answer
Example Flow
User: "How do I use ScrollTrigger with React?"
Agent:
- Reads
SKILL.md→ sees decision tree - Reads
plugins/scroll-trigger.mdfor ScrollTrigger info - Reads
frameworks/react.mdfor React patterns - Combines knowledge to answer
Quick Reference
| Topic | File |
|-------|------|
| Basic animations | reference/core-methods.md |
| Scroll animations | plugins/scroll-trigger.md |
| Smooth scrolling | plugins/scroll-smoother.md |
| Text effects | plugins/split-text.md |
| SVG drawing | plugins/draw-svg.md |
| Shape morphing | plugins/morph-svg.md |
| Path animation | plugins/motion-path.md |
| Layout animation | plugins/flip.md |
| Drag & drop | plugins/draggable.md |
| Input handling | plugins/observer.md |
| Physics | plugins/physics.md |
| React | frameworks/react.md |
| Next.js | frameworks/nextjs.md |
| Vanilla JS | frameworks/vanilla.md |
| Easing | reference/easing.md |
| Utilities | reference/utilities.md |
Installation
For GSAP
npm install gsapFor This Skill
Point Claude to the SKILL.md file or include the skill in your Claude configuration.
GSAP Resources
- Official Docs: https://gsap.com/docs/v3/
- Cheatsheet: https://gsap.com/cheatsheet
- Easing Visualizer: https://gsap.com/docs/v3/Eases/
- Community: https://gsap.com/community/
License
This skill is MIT licensed.
Note: GSAP itself has its own licensing - core is free, some plugins require Club GSAP membership. See https://gsap.com/pricing/
