gsap-router
Skill9 starsChanged 6 months agoMITView on GitHub
Router for GSAP animation domain. Use when implementing animations with GreenSock Animation Platform including tweens, timelines, scroll-based animations, or React integration. Routes to 4 specialized skills for fundamentals, sequencing, ScrollTrigger, and React patterns.
In this repository77 other files it gives its agents.
- building-mechanicsSkill
- algorithmic-artSkill
- audio-analysisSkill
- audio-playbackSkill
- audio-reactiveSkill
- audio-routerSkill
- aws-skillsSkill
- backend-dev-guidelinesSkill
- brainstormingSkill
- brand-guidelinesSkill
- builder-uxSkill
- building-routerSkill
- canvas-designSkill
- case-studies-referenceSkill
- component-librarySkill
- d3js-visualizationSkill
- dashboardSkill
- decay-upkeepSkill
- doc-coauthoringSkill
- docxSkill
- form-accessibilitySkill
- form-reactSkill
- form-securitySkill
- forms-routerSkill
- form-ux-patternsSkill
- form-validationSkill
- form-vanillaSkill
- form-vueSkill
- frontend-designSkill
- frontend-dev-guidelinesSkill
- gsap-fundamentalsSkill
- gsap-reactSkill
- gsap-scrolltriggerSkill
- gsap-sequencingSkill
- immersive-visuals-routerSkill
- internal-commsSkill
- mcp-builderSkill
- multiplayer-buildingSkill
- particles-gpuSkill
- particles-lifecycleSkill
- particles-physicsSkill
- particles-routerSkill
- pdfSkill
- performance-at-scaleSkill
- platform-buildingSkill
- postfx-bloomSkill
- postfx-composerSkill
- postfx-effectsSkill
- postfx-routerSkill
- pptxSkill
- product-self-knowledgeSkill
- r3f-dreiSkill
- r3f-fundamentalsSkill
- r3f-geometrySkill
- r3f-materialsSkill
- r3f-performanceSkill
- r3f-routerSkill
- router-templateSkill
- scientific-documentationSkill
- shader-effectsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 228
When performance is critical:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GSAP Router
Routes to 4 specialized skills based on animation requirements.
Routing Protocol
- Classify — Identify animation type from user request
- Match — Apply signal matching rules below
- Combine — Production animations often need 2-3 skills together
- Load — Read matched SKILL.md files before implementation
Quick Route
Tier 1: Core (Start Here)
| Need | Skill | Signals |
| Basic animations, easing | gsap-fundamentals | tween, animate, ease, from, to, duration, delay |
| Complex sequences | gsap-sequencing | timeline, sequence, orchestrate, labels, callbacks |
| Scroll animations | gsap-scrolltrigger | scroll, pin, scrub, parallax, reveal, sticky |
| React integration | gsap-react | React, useGSAP, ref, hook, cleanup, context |
Signal Matching
Primary Signals
gsap-fundamentals:
- "animate", "tween", "transition"
- "ease", "easing", "timing"
- "from", "to", "fromTo"
- "duration", "delay", "repeat"
- "stagger", "properties"
gsap-sequencing:
- "timeline", "sequence", "orchestrate"
- "labels", "callbacks", "nested"
- "position parameter", "overlap"
- "complex animation", "choreography"
- "play", "pause", "reverse", "seek"
gsap-scrolltrigger:
- "scroll", "ScrollTrigger"
- "pin", "sticky", "fixed"
- "scrub", "parallax"
- "reveal on scroll", "snap"
- "progress indicator"
gsap-react:
- "React", "component"
- "useGSAP", "useRef", "hook"
- "cleanup", "context"
- "event handler", "state"
Confidence Scoring
- High (3+ signals) — Route directly to matched skill
- Medium (1-2 signals) — Route with fundamentals as foundation
- Low (0 signals) — Start with
gsap-fundamentals
Common Combinations
Basic Animation (1 skill)
gsap-fundamentals → Tweens, easing, basic propertiesReact Component Animation (2 skills)
gsap-fundamentals → Animation principles, easing
gsap-react → Hook patterns, cleanup, refsScroll-Based Experience (3 skills)
gsap-scrolltrigger → Scroll triggers, pinning
gsap-sequencing → Timeline for pinned sections
gsap-fundamentals → Individual animationsFull Production (3-4 skills)
gsap-fundamentals → Core animations
gsap-sequencing → Complex orchestration
gsap-react → Framework integration
gsap-scrolltrigger → Scroll interactions (if needed)Decision Table
| Framework | Animation Type | Complexity | Route To |
| Vanilla JS | Simple | Low | fundamentals |
| Vanilla JS | Sequenced | Medium | fundamentals + sequencing |
| Vanilla JS | Scroll-based | Medium | fundamentals + scrolltrigger |
| React | Simple | Low | fundamentals + react |
| React | Complex | High | All four skills |
| React | Scroll | Medium | react + scrolltrigger |
Animation Categories
Motion Type → Skill Mapping
| Animation Type | Primary Skill | Supporting Skill |
| Fade in/out | gsap-fundamentals | - |
| Slide/move | gsap-fundamentals | - |
| Scale/rotate | gsap-fundamentals | - |
| Stagger | gsap-fundamentals | - |
| Page transitions | gsap-sequencing | fundamentals |
| Orchestrated reveals | gsap-sequencing | fundamentals |
| Scroll reveals | gsap-scrolltrigger | fundamentals |
| Parallax | gsap-scrolltrigger | - |
| Pinned sections | gsap-scrolltrigger | sequencing |
| React animations | gsap-react | fundamentals |
| React + scroll | gsap-react | scrolltrigger |
Integration with Other Domains
With R3F (r3f-*)
r3f-fundamentals → 3D scene setup
gsap-fundamentals → Object property animation
gsap-sequencing → Camera movements, scene transitionsGSAP animates Three.js object properties via onUpdate.
With Post-Processing (postfx-*)
postfx-composer → Effect setup
gsap-fundamentals → Animate effect parameters
gsap-sequencing → Transition between effect statesGSAP drives effect intensity, colors, etc.
With Audio (audio-*)
audio-playback → Music timing
gsap-sequencing → Sync animations to audio cues
gsap-fundamentals → Audio-reactive property changesTimeline callbacks sync with audio events.
With Particles (particles-*)
particles-systems → Particle emitters
gsap-fundamentals → Animate emitter properties
gsap-sequencing → Particle burst sequencesWorkflow Patterns
Page Load Animation
1. gsap-fundamentals → Understand tweens, easing
2. gsap-sequencing → Build entrance timeline
3. gsap-react → Integrate with React (if applicable)Scroll Experience
1. gsap-scrolltrigger → Set up triggers, pins
2. gsap-sequencing → Build scrubbed timelines
3. gsap-fundamentals → Individual animation propertiesInteractive UI
1. gsap-fundamentals → Hover, click animations
2. gsap-react → Event handlers, cleanup
3. gsap-sequencing → Complex interaction sequencesTemporal Collapse Stack
For the New Year countdown project:
gsap-fundamentals → Digit animations, pulse effects, easing
gsap-sequencing → Countdown sequence, final moment orchestration
gsap-react → Component integration, cleanupKey animations:
- Digit flip on time change
- Pulse/glow intensity over time
- Final countdown dramatic sequence
- Celebration reveal at zero
Quick Reference
Task → Skills
| Task | Primary | Secondary |
| "Animate this element" | fundamentals | - |
| "Create entrance animation" | fundamentals | react |
| "Build page transition" | sequencing | fundamentals |
| "Animate on scroll" | scrolltrigger | fundamentals |
| "React component animation" | react | fundamentals |
| "Pinned scroll section" | scrolltrigger | sequencing |
| "Complex animation sequence" | sequencing | fundamentals |
| "Staggered list animation" | fundamentals | react |
Easing Quick Reference
| Feel | Ease |
| Snappy UI | power2.out |
| Smooth entrance | power3.out |
| Playful bounce | back.out(1.7) |
| Springy | elastic.out |
| Ball drop | bounce.out |
| Linear/mechanical | none |
Fallback Behavior
- No framework stated → Assume vanilla JS, start with
gsap-fundamentals - React mentioned → Add
gsap-reactto combination - Scroll mentioned → Add
gsap-scrolltrigger - "Complex" or "sequence" → Add
gsap-sequencing - Unclear requirements → Start with
gsap-fundamentals
Performance Priority
When performance is critical:
gsap-fundamentals— Use transforms, avoid layout propertiesgsap-react— Proper cleanup prevents memory leaksgsap-scrolltrigger— Usescrubwisely, batch updatesgsap-sequencing— Reuse timelines, don't recreate
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

