Communitygithub.com

1345AbhishekKumar/starter-supabase

Toute la connaissance d'animation pour HyperFrames — règles atomiques de mouvement, plans multi-phases de scènes, transitions, techniques de motion design élargies, et les sept adaptateurs d'exécution (GSAP par défaut, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Utilisez pour toute tâche de mouvement ou d'animation : choisissez 2 à 4 règles et composez, ou chargez un plan, ou consultez l'API spécifique à l'exécution.

Qu'est-ce que starter-supabase ?

Ce skill regroupe toute la connaissance d'animation pour HyperFrames. Il fournit des règles atomiques (recettes de mouvement), des plans multi-phases (blueprints), des transitions de scène, des techniques de motion design, et des adaptateurs par environnement d'exécution (GSAP, Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). L'utilisateur peut composer 2 à 4 règles rapidement via une seule timeline GSAP en pause, ou charger un plan complet pour une chorégraphie complexe. Le skill garantit le déterminisme en suivant les contraintes core (timeline en pause, durée via `data-duration`, pas de `Math.random` ni de `getBoundingClientRect()` au moment des tweens). Un script d'audit (`animation-map.mjs`) permet d'inspecter la chorégraphie après écriture. Supports : Claude Code, Cursor, Codex, et tout agent IA gérant les skills Markdown.

Compatible avec~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/1345AbhishekKumar/starter-supabase/tree/HEAD/.agents/skills/hyperframes-animation

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Animation HyperFrames

Toute la connaissance du mouvement en un seul skill : règles (recettes atomiques), plans (modèles de scènes multi-phases), transitions (de scène à scène), techniques (motifs de motion design élargis) et adaptateurs (API par environnement d'exécution).

Pour le contrat de composition (attributs de données, sous-compositions, déterminisme), voir hyperframes-core.

Par défaut : composer des règles atomiques

Choisissez 2 à 4 règles dans rules-index.md, reliez-les avec une seule timeline GSAP en pause, terminé. C'est plus rapide et produit moins de code que de partir d'un plan.

Charger un plan quand

  • La scène correspond à un modèle multi-phases pré-conçu existant (révélation de marque, preuve sociale, etc.) et réutiliser son pipeline de phases permet de gagner du temps d'écriture.
  • Vous voulez du code exécutable de référence pour une chorégraphie complexe à 4-5 phases.

Les plans se trouvent dans blueprints-index.md. Chaque entrée pointe vers blueprints/<id>.md (recette). Ne le lisez pas par simple curiosité ; chargez-le seulement lorsque vous avez déjà décidé d'une orchestration de scène.

Routage

Vous voulez…Lisez
Choisir un motif de mouvement atomique par déclencheur / tagrules-index.md
Lire la recette complète HTML / CSS / GSAP d'une règlerules/<nom>.md
Choisir un modèle de scène multi-phasesblueprints-index.md
Lire la recette complète d'un planblueprints/<id>.md
Créer une transition de scène (pilotée par CSS, entre deux clips)transitions/overview.md, transitions/catalog.md
Consulter une technique plus large de motion designtechniques.md
Analyser la carte d'animation d'une composition existantescripts/animation-map.mjs
API GSAP — timeline / tweens / paramètres de positionadapters/gsap.md
GSAP — recettes d'effets prêt-à-l'emploirules/gsap-effects.md
GSAP — transformations / performancesadapters/gsap-transforms-and-perf.md
GSAP — easing / staggeradapters/gsap-easing-and-stagger.md
GSAP — timeline / labelsadapters/gsap-timeline-and-labels.md
Lottie / dotLottie (exports After Effects, window.__hfLottie)adapters/lottie.md
Three.js / WebGL (scènes 3D, AnimationMixer, hf-seek)adapters/three.md
Anime.js (window.__hfAnime)adapters/animejs.md
CSS keyframes (animation-delay / play-state / fill-mode)adapters/css-animations.md
Web Animations API (element.animate(), recherche currentTime)adapters/waapi.md
TypeGPU / WebGPU (navigator.gpu, WGSL, pipelines de calcul)adapters/typegpu.md
HTML-en-texture + post-fx WebGL/GLSL (capture DOM en direct via drawElementImage)adapters/html-in-canvas-patterns.md
Effets nommés d'animation de texte (24 IDs via skill externe animate-text)adapters/animate-text.md

Choisir un environnement d'exécution

  • GSAP est le choix par défaut pour 95 % du travail de mouvement — il couvre l'orchestration des timelines, les transformations, l'easing, le stagger. Toutes les règles atomiques de ce skill sont basées sur GSAP.
  • Lottie lorsque l'actif possède sa propre timeline pré-intégrée (typiquement des exports After Effects).
  • Three.js pour les scènes 3D, le mouvement de caméra, les visuels pilotés par shaders.
  • Anime.js pour du tweening léger quand GSAP est excessif.
  • CSS pour les motifs simples répétés, la décoration, le scintillement — sans coût JavaScript d'animation.
  • WAAPI pour les keyframes natives du navigateur sans dépendance GSAP.
  • TypeGPU / WebGPU pour les canvas rendus par GPU (particules, verre liquide, shaders personnalisés).

Plusieurs environnements d'exécution peuvent coexister dans une même composition. Chacun enregistre ses instances sur la variable globale propre à l'environnement, afin qu'HyperFrames puisse les parcourir toutes en une seule passe.

Contraintes critiques

Prérequis : hyperframes-core → Règles non négociables (timeline en pause unique, data-duration gouverne la longueur, pas de Math.random / Date.now / performance.now, pas de repeat: -1, pas de gsap.set sur les clips d'une scène ultérieure, pas d'animation de display / visibility, pas de construction de timeline à l'intérieur de async / setTimeout / Promise). Ne pas répéter ici.

Ajouts propres au savoir-faire d'animation, en plus du contrat core :

  • Constantes de mise en page pré-calculées — ne jamais dériver les positions depuis getBoundingClientRect() au moment du tween. Les mesures DOM au moment du tween se désynchronisent car le moteur de rendu échantillonne en parallèle ; calculez les coordonnées une fois lors de la configuration de la composition et réutilisez-les.
  • Le mouvement spatial utilise uniquement les alias de transformation GSAP (x, y, scale, rotation). La liste d'autorisation du core autorise également opacity / color / backgroundColor / borderRadius pour les tweens de propriétés non spatiales — mais jamais width / height / top / left pour les changements de mise en page.

Scripts

node skills/hyperframes-animation/scripts/animation-map.mjs <composition-dir> \
  --out <composition-dir>/.hyperframes/anim-map

Lit chaque timeline GSAP enregistrée sur window.__timelines, énumère les tweens, échantillonne les boîtes englobantes, calcule des indicateurs et produit animation-map.json. Utilisez-le pour auditer la chorégraphie (zones mortes, cohérence du stagger, avertissements de cycle de vie) après l'écriture.

Voir aussi

  • hyperframes-core — structure de composition, attributs de données, sous-compositions, contrat de rendu déterministe
  • hyperframes-creative — palettes, typographie, narration, planification de rythme (direction créative non-animation)
  • hyperframes-cli — npx hyperframes lint / validate / inspect / preview / render

Individual skills in this repo

This repo contains 13 individual skills — each has its own dedicated page.

1345AbhishekKumar/starter-supabase

Add captions to a talking-head video. ONE catalog (CATALOG.md) of 32 visual identities behind two engines: column-flow (captions composited INTO the scene — matte occlusion + mix-blend; cream/ink/editorial/keynote/documentary/loud/neon/glitch/chrome/velocity) and themed constitutions (anchor/ordnance/terminal/neonsign/stardust/stomp/scoreboard/transit/vhs/arcade/dossier/laser/thunder/hologram/biolume/aurora/spectrum/papercut/popup/chalkboard/graffiti/brush/inkwater/ransom/lastpage/nightcity — e.g. a glyph-decode climax, a neon sign WRITTEN stroke by stroke, or the quiet `anchor` rail default). Route by identity, never by mode. Trigger on "captions/subtitles", "embed/cinematic captions", "VFX captions", "炸/特效/酷炫字幕", a named identity, or top-tier motion-graphics asks. Embedding every word is wrong for most talking-head content — `anchor` is the verbatim default. Pipeline: transcription → hyperframes remove-background matting → HTML render → ffmpeg overlay. Requires hyperframes and a single-subject clip.

1345AbhishekKumar/starter-supabase

The fallback workflow for authoring custom HyperFrames video compositions at any length or format — longer or multi-scene pieces, brand / sizzle reels, montages, title cards, static loops, and freeform compositions. Input- and length-agnostic. If a specialized workflow clearly fits the input — a marketed product, a website, a topic explainer, a GitHub PR, existing footage, a short motion graphic, or a Remotion port — prefer it (see /hyperframes); use this only as the general fallback when none fit.

1345AbhishekKumar/starter-supabase

HyperFrames CLI dev loop. Use when running npx hyperframes init, add, catalog, capture, lint, validate, inspect, layout, snapshot, preview, play, render, publish, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, tts, or remove-background, or when troubleshooting the HyperFrames build/render environment. Entry point for AWS Lambda cloud rendering (`hyperframes lambda deploy / render / progress / destroy / policies`).

1345AbhishekKumar/starter-supabase

The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class="clip"`, tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

1345AbhishekKumar/starter-supabase

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.

1345AbhishekKumar/starter-supabase

Audio and media assets for HyperFrames compositions, produced by one shared audio engine (`scripts/audio.mjs`) — multi-provider TTS (HeyGen / ElevenLabs / Kokoro local), background music + sound effects (HeyGen audio-library retrieval by default, with local Lyria / MusicGen BGM generation and a bundled SFX library as the no-credential fallback), Whisper transcription, background removal, and caption authoring. Use for voiceover / TTS, BGM, SFX / sound effects, transcription, captions / subtitles / lyrics / karaoke / per-word styling, voice + provider selection, and music-mood prompting.

1345AbhishekKumar/starter-supabase

Install and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add, installing a block or component, wiring an installed item into index.html, or working with hyperframes.json. Covers the add command, install locations, block sub-composition wiring, component snippet merging, registry discovery, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

1345AbhishekKumar/starter-supabase

Use when the user wants a short, design-led motion graphic where motion is the message: kinetic typography, stat or number count-up, chart/data-viz hit, logo sting, brand lockup, lower-third, callout, social overlay, animated headline/tweet/news item, motion poster, or quick captured-page highlight. Usually under 10s and up to ~30s, with no narration arc, voice-over, or live-action subject. Can render to MP4 or transparent overlay. Not for longer, multi-scene, narrated, or brand-reel pieces (use general-video), narrated website videos (website-to-video), topic explainers (faceless-explainer), product promos (product-launch-video), PR videos (pr-to-video), or captions on existing footage (embedded-captions). When unsure whether it's a quick motion-first piece or a longer / narrated treatment, see /hyperframes.

1345AbhishekKumar/starter-supabase

Use when the user has a music track (an audio file, or a video to pull audio from) and wants a beat-synced HyperFrames video, calm to hard-hitting. The music drives everything: one analyzer reads it once, the orchestrator lays out the frames and fills a per-frame plan, and one sub-agent builds each frame. Typography and templates are the floor — a complete video needs zero assets — but any images or videos the user supplies are cut into the frames on the same beat grid (beat-cut / ken-burns). The genre (lyric video, slideshow, kinetic promo) falls out of the per-frame choices; the pipeline never branches on it.

1345AbhishekKumar/starter-supabase

turn a product or marketing URL, pasted script, or brief into a product launch video, including SaaS promos, feature reveals, app launches, company promos, and product marketing videos. Use this skill when the user wants to market, launch, promote, or reveal a product. Do not use it for general non-launch website tours, non-product topic explainers, GitHub pull requests, captioning existing footage, or short unnarrated motion graphics. If the intent is unclear, route through /hyperframes first. This is the new shot-sequence architecture: every visual frame is authored as a time-coded shot sequence picked from a menu of golden blueprints, so frames develop over their full duration instead of freezing after entrance.

1345AbhishekKumar/starter-supabase

turn a GitHub pull request (a PR URL like github.com/<owner>/<repo>/pull/<N>, an <owner>/<repo>#<N> ref, or 'this PR' in a checked-out repo) into a code-change explainer video, up to ~3 min (sweet spot 30-90s) — changelog, feature reveal, fix, or refactor walkthrough, rendered from the diff / commits / files. The input is a CODE CHANGE read via the gh CLI; there is no website capture. Use this skill for a GitHub PR. Do not use it for a product launch/promo (use /product-launch-video), a tour of a real website (use /website-to-video), a topic explainer with no PR (use /faceless-explainer), captions on existing footage (use /embedded-captions), or a short unnarrated motion graphic (use /motion-graphics). If the intent is unclear, route through /hyperframes first.

1345AbhishekKumar/starter-supabase

Port an existing Remotion (React) composition to HyperFrames HTML. Use ONLY when the user explicitly asks to port/convert/migrate/translate a Remotion source. Do NOT use: (a) authoring a new HyperFrames composition; (b) Remotion mentioned in passing; (c) Remotion code shared as reference only; (d) "same video as my Remotion one" without explicit migrate request — treat as fresh build. Doubt → `/general-video`. One-way, Remotion-only: no reverse export (HyperFrames→Remotion or any framework), no non-Remotion source (After Effects, Framer Motion, plain React/CSS) → out of scope, re-create via `/general-video`. Flags unsupported patterns (useState, useEffect, async calculateMetadata, third-party React libs, `@remotion/lambda`) and recommends runtime interop over lossy translation. Unsure whether to port vs. build fresh, or only a passing Remotion mention? → /hyperframes.

1345AbhishekKumar/starter-supabase

Capture a general website/URL and turn it into a HyperFrames video (site tour, showcase, or social clip from the site's own visuals). Uses headless Chrome screenshots + brand assets. Use when intent is general — portfolio/blog/landing-page showcase or social clip from the site. NOT for: product/SaaS launch or promo (→ /product-launch-video, even from a URL); topic explainer with no site (→ /faceless-explainer); GitHub PR (→ /pr-to-video); adding captions to existing video (→ /embedded-captions); short unnarrated page-highlight motion graphic (→ /motion-graphics). Unclear launch-vs-general-site? Ask one question or start at /hyperframes.

Skills associés