gsap-frameworks
Skill by magicpro97
Guides GSAP animation code in Vue, Nuxt, Svelte and SvelteKit. It covers creating animations after mount, scoping selectors to the component and reverting them on unmount. React work is sent to the gsap-react skill.
Install gsap-frameworks
Built from the published package, never by AI.
git clone --depth 1 https://github.com/magicpro97/vibeflow /tmp/vibeflow && mkdir -p ~/.claude/skills && cp -r /tmp/vibeflow/.agents/skills/gsap-frameworks ~/.claude/skills/gsap-frameworksRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/magicpro97/vibeflow /tmp/vibeflow && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/vibeflow/.agents/skills/gsap-frameworks ~/.gemini/antigravity-cli/skills/gsap-frameworksAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill gives an AI assistant patterns for writing and reviewing GSAP code in Vue 3, Nuxt, Svelte and SvelteKit. It explains that tweens and ScrollTriggers should be created after the component's DOM is available, such as in onMounted or onMount. It also explains how to clean up when the component unmounts.
The main method is gsap.context(callback, scope). Passing the component root as the scope limits selectors like .box to that component. Calling ctx.revert() kills the animations and ScrollTriggers and reverts inline styles. The skill also includes a Nuxt composable for registering and lazy loading GSAP plugins. It is meant for developers building animations in these non-React frameworks. React code should use the separate gsap-react skill.
Written from the project's SKILL.md and checked against it.
What it can do
- Vue 3 lifecycleCreates GSAP animations in onMounted and reverts them in onUnmounted.
- Vue script setupShows the same cleanup pattern using script setup and template refs.
- Nuxt 4 composableRegisters GSAP plugins and lazy loads less used ones from a reusable composable.
- Svelte onMountReturns a cleanup function from onMount that calls ctx.revert().
- Scoped selectorsLimits selectors to the component root by passing it to gsap.context().
- ScrollTrigger cleanupCreates ScrollTriggers inside the same context so revert removes them.
What you need
- Vue 3 or Nuxt 4 project
- Svelte or SvelteKit project
- GSAP library
Try asking
- Add a GSAP entrance animation to my Vue component and clean it up on unmount
- Set up GSAP plugin lazy loading in my Nuxt 4 app
- Review my Svelte component for GSAP cleanup and scoped selectors
Good to know
- React is not covered. Use the gsap-react skill for React.
- The source says Svelte 5 uses a different lifecycle, and gives only the general principle.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/gsap-frameworks/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to gsap-frameworks
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
gsap-frameworks: common questions
How do I stop GSAP animations when a Vue component unmounts?
Store the gsap.context in a variable in onMounted and call ctx.revert() in onUnmounted. The source says this kills the tweens and ScrollTriggers and reverts inline styles.
Does this skill work with React?
No. The source says React should use the gsap-react skill, which covers useGSAP and gsap.context().
Why scope GSAP selectors to a container?
Unscoped selectors like .box can match elements outside the component or elsewhere on the page. Passing the container as the scope limits matches to that subtree.
How do I install gsap-frameworks?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is gsap-frameworks free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is gsap-frameworks safe to use?
It scores 71 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to gsap-frameworks?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
