# gsap-animation

gsap-animation — a GSAP reference skill covering tweens, timelines, ScrollTrigger and other plugins, so the agent writes animations against the library's current syntax.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 1357 repo stars
- Author: qdhenry
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/qdhenry/Claude-Command-Suite/tree/HEAD/.claude/skills/gsap-animation/SKILL.md
- Updated: 2026-03-01
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/qdhenry-gsap-animation

## What it does

The skill packs GSAP's syntax into one reference: tween methods (`gsap.to`, `gsap.from`, `gsap.fromTo`, `gsap.set`), timelines, easing, staggers, control and utility methods, context cleanup, and responsive animation setups via `matchMedia()`. It also covers the plugin layer — ScrollTrigger, ScrollSmoother, Flip, SplitText — plus React wiring through the `useGSAP()` hook.

Setup notes point out that TypeScript type definitions ship with the package itself, with an optional `tsconfig.json` entry pointing at `node_modules/gsap/types/index.d.ts` for compilers that need it explicit. Each plugin must go through `gsap.registerPlugin()`, since skipping that step risks the plugin getting dropped by a bundler's tree shaking.

The skill doesn't install GSAP into a project: the `gsap` package itself still needs `npm install gsap` run separately.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `~/.claude/skills/gsap-animation/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/gsap-animation/

### Codex

**Manually: put the files in place**
- File: `.agents/skills/gsap-animation/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/gsap-animation/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install qdhenry/Claude-Command-Suite .claude/skills/gsap-animation
```

2. **Manually: put the files in place**
- File: `.github/skills/gsap-animation/SKILL.md`

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/qdhenry/Claude-Command-Suite --path .claude/skills/gsap-animation
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/gsap-animation/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/qdhenry/Claude-Command-Suite/tree/HEAD/.claude/skills/gsap-animation/SKILL.md

## When to use it
- structure GSAP tweens and timelines correctly
- wire up ScrollTrigger for scroll-based animation
- connect GSAP to React through useGSAP
- stop a bundler from tree-shaking away GSAP plugins
- build a responsive animation with matchMedia

## Example prompts
- Build a staggered GSAP timeline for a card list
- Set up ScrollTrigger so this section animates on scroll
- Wire GSAP into this component using useGSAP

## Similar
- [gsap-scrolltrigger-generate_animation](https://affpapa.org/en/nevibecode/commands/gsap-scrolltrigger-generate-animation.md) — command · ★ 1428 repo stars
- [gsap-scrolltrigger-storytelling](https://affpapa.org/en/nevibecode/skills/gsap-scrolltrigger-storytelling.md) — skill · 2300 installs
- [gsap](https://affpapa.org/en/nevibecode/skills/mengto-gsap.md) — skill · 2200 installs
- [gsap-router](https://affpapa.org/en/nevibecode/skills/gsap-router.md) — skill · 102 installs
- [gsap-framer-scroll-animation](https://affpapa.org/en/nevibecode/skills/gsap-framer-scroll-animation.md) — skill · 3900 installs
- [gsap-scrolltrigger](https://affpapa.org/en/nevibecode/skills/gsap-scrolltrigger.md) — skill · 87300 installs

## Other versions with the same name
- [gsap-animation · notedit](https://affpapa.org/en/nevibecode/skills/gsap-animation.md) — 359 installs

From the same set: [qdhenry/claude-command-suite](https://affpapa.org/en/nevibecode/by/qdhenry/claude-command-suite.md) — 112 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
