Skip to content
SkillModel-led2,595 tokens in use

GSAP Frameworks

Use GSAP in Vue, Nuxt and Svelte with the right lifecycle hooks, scoped selectors and cleanup.

18,822 stars on the repository MIT Licensegreensock/gsap-skills · skills/gsap-frameworks
npx skills add https://github.com/greensock/gsap-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing GSAP Frameworks costs

89tokens idle
2,595tokens in use

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Good
  • Frontmatter15/15
  • Structure9/25
  • Examples15/15
  • Output10/15
  • Size15/15
  • Resources10/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Needs attention
  • Development activity12
  • Maintenance0
  • Community52
  • Maturity32
  • Momentum40

GSAP Frameworks is the official GreenSock skill for non-React frameworks. It shows where to create GSAP animations in Vue 3, Nuxt 4 and Svelte, how to scope selectors to a component, and how to clean up when the component unmounts.

It also covers ScrollTrigger cleanup and when to create and when to kill animations.

What You Get

  • Principles for GSAP in component frameworks
  • Examples for Vue 3 options and script setup, Nuxt 4 and Svelte
  • Rules for scoping selectors and cleaning up ScrollTrigger

Common Use Cases

  • Animating a Vue component on mount
  • Using GSAP in a SvelteKit page
  • Cleaning up ScrollTrigger on route change

What Makes It Unique

It maps GSAP to the lifecycle hooks of each framework, such as onMounted, onMount and onDestroy, and keeps React out by pointing to a separate skill.

Under The Hood

The skill is a single SKILL.md with no scripts. It guides the assistant to write component code in your project. It runs no commands and reaches no network.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers