К основному содержанию
скилл CX Codex

gsap-router — скилл для Claude Code: что делает и как установить

Скилл gsap-router для Claude Code распределяет задачи по анимации GSAP между специализированными скиллами. Маршрутизация учитывает тип анимации, React и работу при прокрутке.

MIT 102 установок ★ 9 обновлён 2026-10-25

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add Bbeierle12/Skill-MCP-Claude --skill gsap-router -a claude-code
Открыть на GitHub

Что делает gsap-router

gsap-router определяет, какие из четырёх скиллов GSAP нужны для задачи: gsap-fundamentals, gsap-sequencing, gsap-scrolltrigger и gsap-react. Он сопоставляет запрос с сигналами вроде timeline, ScrollTrigger или useGSAP, затем предлагает загрузить подходящие инструкции перед реализацией.

Для сложной анимации можно сочетать несколько скиллов. Например, прокрутка с закреплёнными секциями связывает ScrollTrigger с последовательностью, а анимация React-компонента — базовые приёмы с React-интеграцией. Если требования неясны, маршрутизатор начинает с gsap-fundamentals; для проекта без указанного фреймворка предполагается vanilla JS.

Какие задачи решает

  • выбрать скилл для базовой анимации элемента
  • составить последовательность из нескольких анимаций
  • связать анимацию с прокруткой страницы
  • подобрать скиллы для анимации React-компонента

Примеры запросов агенту

  • Анимируй элемент с плавным появлением при загрузке страницы.
  • Сделай закреплённую секцию с анимацией, связанной с прокруткой.
  • Подбери скиллы GSAP для анимации React-компонента.

Как установить gsap-router

1Через Skills CLI (Vercel)

npx skills add Bbeierle12/Skill-MCP-Claude --skill gsap-router -a claude-code

2Вручную: положить файлы

~/.claude/skills/gsap-router/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/gsap-router/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о gsap-router

Как установить gsap-router в Claude Code?

Выполни npx skills add Bbeierle12/Skill-MCP-Claude --skill gsap-router -a claude-code. Файл скилла появится по пути ~/.claude/skills/gsap-router/SKILL.md.

Что делает gsap-router?

Он направляет задачи по GSAP к одному или нескольким из четырёх скиллов: для основ анимации, последовательностей, ScrollTrigger и React.

Как gsap-router выбирает скиллы для задачи?

Маршрутизатор сопоставляет признаки из запроса с типом анимации и фреймворком. Если запрос неясен, он начинает с gsap-fundamentals.

Исходный текст

SKILL.md · MIT
---
name: gsap-router
description: 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.
---

# 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)
| 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 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

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

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

© Bbeierle12 · MIT · Bbeierle12/Skill-MCP-Claude

Похожие скиллы

Все скиллы по теме «Фронтенд и UI» →
gsap MengTo Помогает писать и отлаживать веб-анимации на GSAP: таймлайны, ScrollTrigger, stagger, трансформации. CX Codex +1 2 200установок gsap-scrolltrigger-storytelling MengTo Скилл gsap-scrolltrigger-storytelling для Claude Code, Cursor и Codex: строит кинематографичный скролл-нарратив через GSAP ScrollTrigger — липкие секции, синхронные анимации, плавные переходы между сценами. CX Codex +1 2 300установок gsap-animation qdhenry Скилл gsap-animation для Claude Code — справочник по GSAP, который помогает агенту писать анимации с актуальным синтаксисом библиотеки. CX Codex +1 ★ 1 357звёзд репо gsap-plugins greensock Скилл gsap-plugins для Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode — учит агента работать с плагинами GSAP: ScrollToPlugin, Flip, Draggable, SplitText, MorphSVG, CustomEase и другими. CX Codex +1 81 000установок gsap-scrolltrigger greensock Скилл gsap-scrolltrigger обучает ИИ-агента писать анимации по скроллу с плагином ScrollTrigger от GreenSock: закреплять секции и связывать таймлайны с прокруткой через scrub. CX Codex +1 87 300установок gsap-scrolltrigger-generate_animation Claude Design Skillstack Слэш-команда gsap-scrolltrigger-generate_animation вызывает generate_animation.py из скилла GSAP ScrollTrigger: собирает анимацию прокрутки, а недостающие данные спрашивает в интерактивном режиме. CX Codex +1 ★ 1 428звёзд репо

Из того же набора19

Весь набор →
software-architecture Скилл software-architecture для Claude Code разбирает код по слоям через SOLID и Clean Architecture, показывая, где класс берёт на себя лишнюю ответственность. CX Codex +1 150установок particles-physics Скилл particles-physics для Claude Code задаёт движение частиц через силы и поля. В анимациях можно использовать гравитацию, ветер, притяжение и турбулентность. CX Codex +1 134установок r3f-fundamentals Скилл r3f-fundamentals помогает настраивать сцены React Three Fiber, управлять камерами, источниками света и циклом рендеринга через декларативный синтаксис JSX. CX Codex +1 125установок shader-noise Скилл shader-noise для Claude Code даёт GLSL-функции процедурного шума для генерации текстур, ландшафтов, облаков и клеточных узоров в шейдерах. CX Codex +1 121установок form-ux-patterns Скилл form-ux-patterns для Claude Code помогает проектировать сложные формы: группировать поля, строить пошаговые сценарии и показывать условные поля. Охватывает оформление заказа и онбординг. CX Codex +1 120установок audio-reactive Скилл audio-reactive связывает частотный анализ звука с анимацией интерфейса, частицами и 3D-сценами. CX Codex +1 108установок postfx-effects Скилл postfx-effects для Claude Code собирает рецепты пост-эффектов для сцен на React Three Fiber: глубину резкости, виньетирование и ретро-стили. CX Codex +1 106установок r3f-performance Скилл r3f-performance для Claude Code помогает ускорять рендеринг в React Three Fiber. Включается при работе с большими 3D-сценами и поиске причин низкой частоты кадров. CX Codex +1 100установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой