From a14274baee50e90c1ffaafcf4dfe21214371918e Mon Sep 17 00:00:00 2001 From: jackdoyle Date: Thu, 5 Mar 2026 15:30:30 -0600 Subject: [PATCH] Added Webflow context --- skills/gsap-core/SKILL.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/skills/gsap-core/SKILL.md b/skills/gsap-core/SKILL.md index 9034f9a..3794899 100644 --- a/skills/gsap-core/SKILL.md +++ b/skills/gsap-core/SKILL.md @@ -1,6 +1,6 @@ --- name: gsap-core -description: Use GSAP core API correctly — gsap.to(), gsap.from(), gsap.fromTo(), easing, duration, stagger, and defaults. Use when animating DOM elements, SVG, or objects with GSAP, or when the user asks about GSAP tweens, easing, or basic animation. +description: Use GSAP core API correctly — gsap.to(), gsap.from(), gsap.fromTo(), easing, duration, stagger, and defaults. Use when animating DOM elements, SVG, or objects with GSAP, or when the user asks about GSAP tweens, easing, or basic animation. GSAP is used by Webflow Interactions (Webflow acquired GSAP); Webflow outputs or runs GSAP under the hood — GSAP skills apply when debugging or customizing Webflow animations. license: MIT --- @@ -10,6 +10,8 @@ license: MIT Apply when writing or reviewing GSAP animations that use the core engine: single tweens, eases, staggers, or when explaining how GSAP tweens work. +**Context:** GSAP was acquired by Webflow and powers **Webflow Interactions**. Code generated or run by Webflow’s interaction system is GSAP-based; when users ask about Webflow animations or interactions not behaving as expected, GSAP docs and patterns (e.g. tweens, ScrollTrigger) are relevant for debugging or customizing. + ## Core Tween Methods - **gsap.to(targets, vars)** — animate from current state to `vars`. Most common.