Skip to content
gsap-router logo

GSAP Router

gsap-router

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.

SKILL.md

Full skill instructions

GSAP Router

Routes to 4 specialized skills based on animation requirements.

Routing Protocol

  1. Classify — Identify animation type from user request
  2. Match — Apply signal matching rules below
  3. Combine — Production animations often need 2-3 skills together
  4. Load — Read matched SKILL.md files before implementation

Quick Route

Tier 1: Core (Start Here)

NeedSkillSignals
Basic animations, easinggsap-fundamentalstween, animate, ease, from, to, duration, delay
Complex sequencesgsap-sequencingtimeline, sequence, orchestrate, labels, callbacks
Scroll animationsgsap-scrolltriggerscroll, pin, scrub, parallax, reveal, sticky
React integrationgsap-reactReact, 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 properties

React Component Animation (2 skills)

gsap-fundamentals → Animation principles, easing
gsap-react → Hook patterns, cleanup, refs

Scroll-Based Experience (3 skills)

gsap-scrolltrigger → Scroll triggers, pinning
gsap-sequencing → Timeline for pinned sections
gsap-fundamentals → Individual animations

Full Production (3-4 skills)

gsap-fundamentals → Core animations
gsap-sequencing → Complex orchestration
gsap-react → Framework integration
gsap-scrolltrigger → Scroll interactions (if needed)

Decision Table

FrameworkAnimation TypeComplexityRoute To
Vanilla JSSimpleLowfundamentals
Vanilla JSSequencedMediumfundamentals + sequencing
Vanilla JSScroll-basedMediumfundamentals + scrolltrigger
ReactSimpleLowfundamentals + react
ReactComplexHighAll four skills
ReactScrollMediumreact + scrolltrigger

Animation Categories

Motion Type → Skill Mapping

Animation TypePrimary SkillSupporting Skill
Fade in/​outgsap-fundamentals-
Slide/​movegsap-fundamentals-
Scale/​rotategsap-fundamentals-
Staggergsap-fundamentals-
Page transitionsgsap-sequencingfundamentals
Orchestrated revealsgsap-sequencingfundamentals
Scroll revealsgsap-scrolltriggerfundamentals
Parallaxgsap-scrolltrigger-
Pinned sectionsgsap-scrolltriggersequencing
React animationsgsap-reactfundamentals
React + scrollgsap-reactscrolltrigger

Integration with Other Domains

With R3F (r3f-*)

r3f-fundamentals → 3D scene setup
gsap-fundamentals → Object property animation
gsap-sequencing → Camera movements, scene transitions

GSAP 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 states

GSAP drives effect intensity, colors, etc.

With Audio (audio-*)

audio-playback → Music timing
gsap-sequencing → Sync animations to audio cues
gsap-fundamentals → Audio-reactive property changes

Timeline callbacks sync with audio events.

With Particles (particles-*)

particles-systems → Particle emitters
gsap-fundamentals → Animate emitter properties
gsap-sequencing → Particle burst sequences

Workflow 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 properties

Interactive UI

1. gsap-fundamentals → Hover, click animations
2. gsap-react → Event handlers, cleanup
3. gsap-sequencing → Complex interaction sequences

Temporal 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, cleanup

Key animations:

  • Digit flip on time change
  • Pulse/​glow intensity over time
  • Final countdown dramatic sequence
  • Celebration reveal at zero

Quick Reference

Task → Skills

TaskPrimarySecondary
"Animate this element"fundamentals-
"Create entrance animation"fundamentalsreact
"Build page transition"sequencingfundamentals
"Animate on scroll"scrolltriggerfundamentals
"React component animation"reactfundamentals
"Pinned scroll section"scrolltriggersequencing
"Complex animation sequence"sequencingfundamentals
"Staggered list animation"fundamentalsreact

Easing Quick Reference

FeelEase
Snappy UIpower2.out
Smooth entrancepower3.out
Playful bounceback.out(1.7)
Springyelastic.out
Ball dropbounce.out
Linear/​mechanicalnone

Fallback Behavior

  • No framework stated → Assume vanilla JS, start with gsap-fundamentals
  • React mentioned → Add gsap-react to combination
  • Scroll mentioned → Add gsap-scrolltrigger
  • "Complex" or "sequence" → Add gsap-sequencing
  • Unclear requirements → Start with gsap-fundamentals

Performance Priority

When performance is critical:

  1. gsap-fundamentals — Use transforms, avoid layout properties
  2. gsap-react — Proper cleanup prevents memory leaks
  3. gsap-scrolltrigger — Use scrub wisely, batch updates
  4. gsap-sequencing — Reuse timelines, don't recreate

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View