gsap-performance

Enforce compositor-friendly properties and cleanup patterns for GSAP animations.

26|4|Updated Jul 21, 2026
One-click install
npx skills add https://github.com/skyf0xx/hedgehog --skill gsap-performance-skyf0xx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsap-performance
Source: https://github.com/skyf0xx/hedgehog/tree/main/skills/GSAP/gsap-performance
Command: npx skills add https://github.com/skyf0xx/hedgehog --skill gsap-performance-skyf0xx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses animation jank and performance bottlenecks by enforcing best practices for GSAP-based web animations, ensuring smooth 60fps rendering.

Core Features & Use Cases

  • Performance Optimization: Provides guidance on prioritizing transform and opacity properties over layout-triggering properties like width or top.
  • Resource Management: Offers strategies for batching updates, using stagger for lists, and implementing efficient mouse-follower animations with quickTo.
  • Use Case: When building complex landing pages with many moving parts, use this skill to audit your animation code and ensure you are not causing layout thrashing or unnecessary paint cycles.

Quick Start

Analyze my current GSAP animation implementation in the main component and suggest optimizations to ensure it maintains a smooth 60fps frame rate.

Frequently Asked Questions about gsap-performance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize GSAP animations to prevent layout thrashing and maintain 60fps?

Optimize GSAP animations by prioritizing transform and opacity properties over layout-triggering properties like width or top, ensuring smooth 60fps rendering without layout thrashing or unnecessary paint cycles.

What is the best way to handle frequently updated mouse interactions in GSAP?

Handle frequently updated mouse interactions by using the quickTo method for efficient mouse-follower animations, batching updates, and enforcing proper cleanup of animation instances to prevent memory leaks.

Why does my GSAP scroll-triggered animation cause performance bottlenecks on complex landing pages?

GSAP scroll-triggered animations bottleneck when animating layout-triggering properties instead of compositor-friendly transforms, causing layout thrashing and jank during scroll updates on complex landing pages.

Can I use GSAP stagger to optimize list animations without dropping frames?

Use GSAP stagger to batch list updates efficiently, reducing paint cycles and maintaining frame rate by distributing animation timing across multiple elements instead of triggering simultaneous layout recalculations.

Do I need to clean up GSAP animation instances to prevent memory leaks in web applications?

Clean up GSAP animation instances properly to prevent memory leaks, ensuring efficient resource management and consistent performance during complex UI transitions and frequently updated interactions.