gsap-animation-composition
БесплатноБез исполняемых скриптовНе проверенProduction guidance for authoring, integrating, and reviewing GSAP animation in browser-rendered media. Use for deterministic kinetic typography, SVG drawing…
от calesthio★ 262 звезды на GitHubОб этом скилле
GSAP animation composition
Use GSAP when a media composition needs choreography that is awkward to express as isolated CSS transitions or simple frame interpolation: overlapping multi-beat sequences, per-character typography, SVG stroke drawing or shape morphing, curved paths, layout-state transitions, or a reusable motion language controlled from one playhead.
This skill covers GSAP as an animation engine inside media production. It does not replace the composition contract, edit decisions, audio timeline, asset ledger, accessibility review, or delivery workflow of the host renderer.
Evidence and version stance
The following labels are used throughout:
- Documented fact: behavior stated in official GSAP, W3C, or browser documentation.
- Production heuristic: a practical default that should yield to the brief, brand system, renderer, or measured result.
- Empirical observation: a result measured in the actual composition, preview, render, or target device.
GSAP APIs, plugin packaging, licensing, and framework integrations are volatile. The API and license facts below were verified on 2026-07-12. Re-check the installed GSAP version, official installation guidance, plugin documentation, and current license before production use.
Decide whether GSAP is warranted
Choose GSAP when at least one of these is central to the deliverable:
- many dependent animation beats must share labels, overlaps, or nested timelines;
- text must split into words, lines, or characters for designed reveals;
- SVG paths must draw, morph, or carry moving objects;
- a layout change must preserve apparent continuity through a FLIP transition;
- a browser-native composition needs one seekable playhead for preview and frame capture;
- responsive variants need related but materially different motion choreography.
Prefer a simpler mechanism when:
- one element only fades, translates, scales, or rotates;
- the host video runtime already provides concise frame interpolation or spring primitives;
- conventional editing, compositing, or keyframes will be easier for the receiving team to revise;
- the deliverable is a static image, an interchange asset, or a native application animation that will not run in a browser context.
Do not add a plugin merely because it exists. Every plugin should eliminate meaningful implementation risk or improve the intended motion.
Lock the motion contract
Before writing animation code, record:
- composition dimensions, aspect ratios, frame rate, and duration;
- scene and beat timecodes, including audio or narration anchors;
- exact on-screen text and final held states;
- layer names, selectors, SVG path IDs, and transform pivots;
- entry, emphasis, transition, and exit purpose for each animated element;
- motion tokens: duration families, easing families, stagger policy, travel limits, and overshoot policy;
- responsive and reduced-motion variants;
- renderer ownership of the playhead;
- plugin imports and current licensing review;
- review frames and failure thresholds.
If the renderer captures arbitrary frames, the composition must be correct when visited out of order. A beautiful real-time preview is not evidence of deterministic rendering.
Build one controlled timeline
Documented fact: a GSAP Timeline contains tweens and nested timelines and can control them as a unit. Its position parameter can place children at absolute times, relative to the timeline end, relative to labels, or relative to the most recently added child with markers such as < and >. Timelines expose controls including pause(), seek(), time(), progress(), and totalProgress().
Use semantic labels for editorial beats, not incidental implementation steps:
const timeline = gsap.timeline({
paused: true,
defaults: {duration: 0.42, ease: "power3.out"},
});
timeline
.addLabel("claim", 0.4)
.from(".claim-line", {yPercent: 110, stagger: 0.07}, "claim")
.addLabel("proof", "claim+=0.85")
.from(".proof-mark", {scaleX: 0, transformOrigin: "left"}, "proof")
.from(".proof-label", {opacity: 0, y: 16}, "<0.12")
.to(".claim-group", {opacity: 0, duration: 0.24}, ">+1.1");
This is an example, not a required timeline shape.
Production rules:
- Use labels such as
claim,proof,turn, andctawhen they correspond to script, music, or edit events. - Use timeline defaults for a coherent motion family, then override deliberately.
- Nest timelines by scene or semantic unit; return them to a master timeline.
- Prefer position parameters over chains of manually calculated delays.
- Keep the timeline finite for rendered media. An infinite repeat has no auditable final state.
- Use
fromTo()when both endpoints must be explicit, especially after rerenders, responsive rebuilds, or repeated state changes. Otherwise prefer the simplerto()orfrom()form. - Do not let CSS transitions compete with GSAP on the same properties.
- Set transform state consistently through
Установить gsap-animation-composition в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл gsap-animation-composition?
Production guidance for authoring, integrating, and reviewing GSAP animation in browser-rendered media. Use for deterministic kinetic typography, SVG drawing and morphing, motion paths, FLIP transitions, responsive motion systems, or frame-seekable GSAP timelines inside HTML video composition and React-based renderers; not for ordinary CSS transitions or generic frontend development.
Как установить скилл gsap-animation-composition?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gsap-animation-composition запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic