Agent skill
gsap
Comprehensive GSAP v3 best-practices skill covering fundamentals, plugins, and useful features/tools. Use when the user mentions GSAP, GreenSock, gsap.to, gsap.timeline, ScrollTrigger, ScrollSmoother, Flip, SplitText, MorphSVG, DrawSVG, Draggable, useGSAP, or asks to build, review, or optimize animations, motion, or scroll-driven interactions.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/gsap
SKILL.md
GSAP Best Practices
Comprehensive best-practices guide for GSAP v3, organized as modular rules for agents. The structure mirrors the docs taxonomy (fundamentals, plugins, useful features/tools) while prioritizing implementation decisions and code quality.
Rule categories by priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Fundamentals | CRITICAL | core- |
| 2 | Plugin architecture | HIGH | plugin- |
| 3 | Useful features & tools | HIGH | tools- |
| 4 | Performance | HIGH | perf- |
| 5 | Accessibility | MEDIUM-HIGH | a11y- |
| 6 | Debug workflow | MEDIUM | debug- |
How to use this skill
Read these files first:
rules/_sections.md
rules/core-animation-model.md
rules/plugin-registration-and-loading.md
rules/tools-utils-function-pipelines.md
Then load only category-specific rules relevant to the current task.
Rule index
| Topic | Description | Reference |
|---|---|---|
| Sections overview | Categories and recommended reading order | rules/_sections.md |
| Fundamentals | Core GSAP/Tween/Timeline/Easing rules | rules/core-animation-model.md |
| Plugins | Registration + plugin family rules | rules/plugin-registration-and-loading.md |
| Useful tools | Utility methods, helper functions, React/stagger patterns | rules/tools-utils-function-pipelines.md |
| Perf/a11y/debug | Cross-cutting quality rules | rules/perf-rendering-and-lifecycle.md |
Coverage and maintenance
- Coverage map:
rules/_coverage-map.md - Source index: https://gsap.com/llms.txt
- Update this skill when GSAP docs version changes or when plugin APIs evolve.
Framework note
For SSR/component frameworks (Nuxt, React, Vue, etc.), apply client-only lifecycle guards and strict teardown (context/revert) to prevent leaks and duplicate animations.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?