Communitygithub.com

laviedezidane/hyperframes-skill

Toutes les connaissances en animation pour HyperFrames — règles atomiques, blueprints multi-phases, transitions, techniques de motion design, et les sept adaptateurs d'exécution (GSAP par défaut, plus Lottie, Three.js, Anime.js, keyframes CSS, Web Animations API, TypeGPU).

Qu'est-ce que hyperframes-skill ?

Ce skill regroupe l'intégralité des connaissances en animation pour le framework HyperFrames. Il couvre les **règles atomiques** (recettes d'animation unitaires), les **blueprints multi-phases** (gabarits de scènes pré-conçues), les **transitions** (entre scènes), les **techniques** de motion design plus générales, et surtout les **adaptateurs pour sept runtimes d'animation** : GSAP (par défaut), Lottie/dotLottie, Three.js, Anime.js, les keyframes CSS, l'API Web Animations (WAAPI) et TypeGPU/WebGPU. Chaque adaptateur a sa propre documentation détaillée (API, bonnes pratiques, exemples). Le skill inclut également un script d'audit (`animation-map.mjs`) qui analyse la chorégraphie d'une composition existante, ainsi que 24 effets d'animation de texte nommés via le skill externe `animate-text`. Destiné aux développeurs et aux agents IA, ce skill permet de composer rapidement des animations complexes en choisissant 2 à 4 règles atomiques, de charger un blueprint complet, ou de consulter l'API spécifique d'un runtime. Il respecte les contraintes fondamentales d'HyperFrames : timeline unique en pause, déterministe, et sécurisée pour la recherche temporelle (seek).

Compatible avec~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/laviedezidane/hyperframes-skill/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

Installation du plugin : Avant les commandes de configuration ou de fraîcheur, suivez les règles d'exécution du plugin lorsque ce skill se trouve dans un plugin HyperFrames. Les installations autonomes conservent les instructions de mise à jour ci-dessous.

HyperFrames Animation

Toutes les connaissances en motion dans un seul skill : règles (recettes atomiques), blueprints (gabarits de scènes multi-phases), transitions (d'une scène à l'autre), techniques (motifs plus larges de motion design) et adaptateurs (API par runtime).

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, assemblez-les avec une seule timeline GSAP en pause, c'est fait. C'est plus rapide et produit moins de code que de partir d'un blueprint.

Charger un blueprint quand

  • La scène correspond à un gabarit multi-phases existant (révélation de marque, preuve sociale, etc.) et la réutilisation de son pipeline de phases fait gagner du temps de conception.
  • Vous voulez un code de référence exécutable pour une chorégraphie complexe en 4 ou 5 phases.

Les blueprints se trouvent dans blueprints-index.md. Chaque entrée pointe vers blueprints/<id>.md (recette). Ne le lisez pas par spéculation ; chargez-le une fois que vous avez déjà décidé d'utiliser une orchestration au niveau de la scène.

Aiguillage

Vous voulez…Lisez
Choisir un motif atomique par déclencheur / étiquetterules-index.md
Lire la recette complète (HTML/CSS/GSAP) d'une règlerules/<nom>.md
Choisir un gabarit de scène multi-phasesblueprints-index.md
Lire la recette complète d'un blueprintblueprints/<id>.md
Créer une transition de scène (CSS, entre deux clips)transitions/overview.md, transitions/catalog.md
Consulter une technique plus large de motion designtechniques.md
Flou de mouvement — traînée d'obturateur sur un élément, et quand ne pas l'utiliserreferences/motion-blur.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êtes à l'emploirules/gsap-effects.md
GSAP — transformations / performancesadapters/gsap-transforms-and-perf.md
GSAP — easings / staggeradapters/gsap-easing-and-stagger.md
GSAP — timeline/labelsadapters/gsap-timeline-and-labels.md
Lottie / dotLottie (exports After Effects, window.__hfLottie)adapters/lottie.md
Animation de personnage (cycle de marche, mascotte, marionnette, gestes)adapters/lottie.md → Personnages
Three.js / WebGL (scènes 3D, AnimationMixer, hf-seek)adapters/three.md
Anime.js (window.__hfAnime)adapters/animejs.md
Keyframes CSS (animation-delay / play-state / fill-mode)adapters/css-animations.md
Web Animations API (element.animate(), currentTime seek)adapters/waapi.md
TypeGPU / WebGPU (navigator.gpu, WGSL, pipelines de calcul)adapters/typegpu.md
HTML en texture + post-effets WebGL/GLSL (capture DOM via drawElementImage)adapters/html-in-canvas-patterns.md
Effets d'animation de texte nommés (24 IDs via le skill animate-text)adapters/animate-text.md

Choix d'un runtime

  • GSAP est le runtime par défaut pour 95% du travail de motion — 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 (généralement des exports After Effects), y compris les personnages qui marchent, gesticulent ou réagissent.
  • Three.js pour les scènes 3D, le mouvement de caméra, les visuels pilotés par shaders.
  • Anime.js pour un tweening léger quand GSAP est trop lourd.
  • CSS pour les motifs simples et répétés, la décoration, le scintillement — pas de coût JavaScript pour l'animation.
  • WAAPI pour des keyframes natives du navigateur sans dépendance à GSAP.
  • TypeGPU / WebGPU pour des canevas rendus sur GPU (particules, verre liquide, shaders personnalisés).

Plusieurs runtimes peuvent coexister dans une même composition. Chacun enregistre ses instances sur la variable globale spécifique au runtime, afin qu'HyperFrames puisse toutes les parcourir en une seule passe.

Contraintes critiques

Prérequis : hyperframes-core → Une timeline en pause + règles non négociables (timeline unique en pause, data-duration régit la durée, pas de Math.random / Date.now / performance.now, pas de repeat: -1 sans une data-duration racine finie, pas de gsap.set au chargement de page sur des clips de scène ultérieure, pas de tweens sur display ou visibility bruts, et enregistrer la timeline uniquement après qu'elle est entièrement construite, même si la construction s'exécute dans un callback asynchrone tel que document.fonts.ready). Les réglages de autoAlpha et de visibilité à durée nulle à des limites explicites de la timeline restent autorisés par le core. N'utilisez ces exceptions que sur des éléments non-clip ou des wrappers à l'intérieur d'un clip ; le framework gère le cycle de vie .clip. Ne reformulez pas l'intégralité du contrat ici.

Ajouts propres au métier d'animation par-dessus le contrat du core :

  • Constantes de mise en page pré-calculées — ne jamais dériver les positions de 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 blanche 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 <SKILL_DIR>/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 sur le cycle de vie) après la création.

animation-map.mjs résout d'abord les packages d'aide du projet en cours, puis peut amorcer la version groupée du package HyperFrames. Définissez HYPERFRAMES_SKILL_PKG_VERSION=<version> uniquement lorsque vous exécutez le skill en dehors de l'installation groupée CLI/skill et que vous devez épingler explicitement cette version d'amorçage.

Voir aussi

  • hyperframes-core — structure de composition, attributs de données, sous-compositions, contrat de rendu déterministe
  • hyperframes-creative — palettes, typographie, narration, planification des temps forts (direction créative non liée à l'animation)
  • hyperframes-cli — npx hyperframes lint / check / snapshot / preview / render

Individual skills in this repo

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

laviedezidane/hyperframes-skill

Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet `anchor` rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.

laviedezidane/hyperframes-skill

Turn arbitrary text — an article, notes, a topic, a brief — into a faceless explainer video: there is no site or footage to capture, so the visuals are invented per scene (typography, abstract graphics, diagrams, data-viz). Use for topic explainers, concept breakdowns, how-tos, listicles. Not a video built from a website (/product-launch-video — promo or tour). Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Import Figma content into a HyperFrames composition — rendered assets, brand tokens, components, storyboard sections → reconstructed motion (frames read as states, not slides) (REST/CLI), connector-assisted motion when available, and shaders from a connector or native export. Use when the user pastes a figma.com link or asks to bring a Figma design, frame, logo, brand, or animation into a video/composition.

laviedezidane/hyperframes-skill

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated motion-first unit, including an animated title. Route fresh creation through hyperframes before using this skill.

laviedezidane/hyperframes-skill

Use when audio already placed in a HyperFrames composition needs to be mixed: fade-in/fade-out, crossfade, track gain or volume, volume automation, ducking, a music bed that fights a voiceover (voiceover carve), effects on a track (EQ, compressor, limiter, gate, saturation, delay, reverb, chorus, phaser, bitcrush), automation envelopes drawn on a track's volume or any effect parameter, or one submix bus carrying a chain, a fader and an automation clock for several tracks at once (`<hf-audio-group>`). Don't use for sourcing or generating audio — finding BGM, SFX, or making a voiceover is `/media-use`. Don't use for clip timing or track layout, which is `/hyperframes-core`.

laviedezidane/hyperframes-skill

Use the HyperFrames CLI development loop: init, add, catalog, capture, lint, check, snapshot, compare, grade-compare, preview, play, present, beats, keyframes, single or batch render, publish, cloud, cloudrun, feedback, lambda, doctor, browser, info, upgrade, skills, compositions, timeline, history, clean, docs, benchmark, telemetry, transcribe, auth, tts, and remove-background. Also use when diagnosing build or render failures. validate, inspect, and layout are deprecated aliases; use check. Covers local, HeyGen-hosted cloud, AWS Lambda, and Google Cloud Run rendering.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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`.

laviedezidane/hyperframes-skill

Use when a HyperFrames composition needs a punch-in, punch-out, zoom, reframe, Ken Burns treatment, camera move, visual match/whip handoff, or other seek-safe 2D/3D keyframes; also for GSAP, CSS keyframes, Anime.js, WAAPI, FLIP, paths, masks, SVG morph/draw, text trails, 3D depth, or `hyperframes keyframes` diagnostics. Don't use for broad scene strategy, brand design, media sourcing, captions, or general video planning.

laviedezidane/hyperframes-skill

Search, install, and wire registry blocks and components into HyperFrames compositions. Use BEFORE hand-building any named visual — whenever a brief, a user, or a storyboard names a look, effect, treatment, or transition such as CRT scanlines, glitch, chromatic aberration, film grain, a shimmer sweep, a chart, a code or terminal window, a map, or a confetti burst — because roughly 400 hosted items already cover many of them and the search ranks all of them with nothing installed, no project, and no account. Also use when running hyperframes add or hyperframes catalog, installing one item or every block matching a tag, wiring an installed item into index.html, or working with hyperframes.json. Covers discovery, install locations, block sub-composition wiring, component snippet merging, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

laviedezidane/hyperframes-skill

Mandatory entry point: read this first for any request to make, create, edit, animate, or render a video, animation, or motion graphic, including a promo, explainer, captioned clip, title card, overlay, slideshow or interactive deck, Remotion port, or any HyperFrames HTML composition. Also use it to inspect, diagnose, validate, preview, publish, or batch-render an existing HyperFrames project. Inputs may be a website URL, GitHub PR, Figma design or URL, text or brief, existing footage, or music. It resumes project state, captures intent when applicable, selects and installs the owning workflow, and routes domain capabilities. HyperFrames is the default output framework unless the user explicitly chooses another framework for the deliverable or asks only to record a browser session.

laviedezidane/hyperframes-skill

Use when working with a person on a HyperFrames project in Studio: first, whether their message asks for a change at all (questions, loose ideas and "don't change anything" get an answer and a plan, not an edit); for a new film, the plan, storyboard and build order that the HyperFrames launch films follow; and how the timeline should be laid out so it reads well (one caption track, one element kind per track, every scene a sub-composition) and where captions and key content may sit (safe zones). Don't use for how to perform an individual edit (split, trim, retime, volume, copy, swap): that is `creator-editing-recipes.md` in `/hyperframes-core`.

laviedezidane/hyperframes-skill

Agent Media OS for a HyperFrames project. Resolve BGM, SFX, image, icon, brand logo, voice, color grade, or LUT into a frozen local file or paste-ready block + ledger record (one verb, `resolve`); generate via TTS / music / image models when the catalog misses; produce voiceover, transcription, captions, and background removal through one shared audio engine; operate on media (cut / reframe / transform); and reuse assets across projects. Also use for vague feedback that real footage looks dark, flat, boring, should feel retro/camcorder/print/ASCII, needs privacy, or needs a media reveal. When the host app provides its own music or sound-effect tools, use those for music and sound effects; `resolve --type bgm|sfx` needs the heygen CLI. When `HEYGEN_API_BASE` is set, HeyGen calls go through that host with no CLI sign-in.

laviedezidane/hyperframes-skill

A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI animation (scroll, cursor, callouts), or fusing a real image's geometry into a chart. Usually under 10s (up to ~30s), no narration or live-action subject; renders to MP4 or transparent overlay. Longer / narrated / multi-scene → /general-video. Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Turn a music track (an audio file, a video to pull audio from, or a track generated from a mood brief) into a beat-synced video — lyric video, slideshow, or kinetic promo. The music drives all pacing; any user-supplied images/videos are cut onto the same beat grid, and a complete video needs zero assets. Narrated pieces → the input-matched workflow (see /hyperframes). Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Turn a product or marketing URL, pasted script, or brief into a product launch / promo video — SaaS promos, feature reveals, product demos, app and company launches. Use when the user wants to market, launch, promote, or reveal a product; the default for any commercial URL. Site tours / showcases of a website route here too — the brief carries the show-it-as-is intent. Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Turn a GitHub pull request (a PR URL, owner/repo#N, or 'this PR' in a checked-out repo) into a code-change explainer video — changelog, feature reveal, fix, or refactor walkthrough built from the diff, commits, and files: the input is a code change, not a website. Not a product promo (/product-launch-video) or a no-PR topic explainer (/faceless-explainer). Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Port an existing Remotion (React) composition''s source to HyperFrames HTML. Use ONLY on an explicit ask to port/convert/migrate/translate a Remotion source — one-way, Remotion-only. A passing Remotion mention, reference-only code, or "make something like my Remotion video" is a fresh build (/general-video). Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Author a HyperFrames slideshow — a presentation, pitch deck, or interactive deck with discrete slides, fragment reveals, branching, hotspot navigation, and built-in presenter mode with speaker notes; also converts an existing page into a deck. Output is a navigable deck, not a rendered MP4. If the user didn't explicitly ask for a slideshow, confirm before authoring. Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Package an existing talking-head / interview / podcast video with timed, designed GRAPHIC OVERLAY cards — kinetic titles, lower-thirds, data callouts, quotes, side panels, picture-in-picture — synced to the transcript, on a 16:9 / 9:16 / 4:5 canvas of your choice; the clip plays untouched underneath. Trigger on "graphic overlays", "on-screen graphics", "package / dress up my video". Not plain subtitles (/embedded-captions). Unclear → /hyperframes.

Skills associés