Communitygithub.com

DigitalRavagers/Expérimentation

Toutes les connaissances en animation pour HyperFrames — règles atomiques de mouvement, plans de scène multi-phases, transitions de scènes, 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). À utiliser pour toute tâche d'animation ou de mouvement : sélectionnez 2 à 4 règles et composez, ou chargez un plan, ou consultez l'API spécifique à un contexte d'exécution (par exemple, les easings GSAP / le lecteur Lottie / le mixer Three.js). Natif HyperFrames : timeline unique en pause, compatible avec la recherche, déterministe.

Qu'est-ce que Expérimentation ?

Cette compétence regroupe l'ensemble du savoir-faire en animation pour HyperFrames. Elle est conçue pour les développeurs et les agents IA qui doivent produire des animations déterministes, reproductibles et sans glitch. La compétence propose quatre niveaux d'abstraction : des règles atomiques (recettes de mouvement prêtes à l'emploi), des plans de scène multi-phases (blueprints), des transitions de scènes, et des techniques de motion-design plus larges. Chaque élément est associé à des adaptateurs d'exécution spécifiques (GSAP, Lottie, Three.js, Anime.js, CSS, WAAPI, TypeGPU), permettant de choisir le meilleur outil pour chaque cas tout en maintenant un contrôle unifié depuis une timeline unique en pause. La compétence met l'accent sur la pré-calcul des constantes de mise en page pour éviter les désynchronisations, et interdit l'utilisation de valeurs aléatoires ou de mesures DOM au moment de l'animation. Enfin, elle inclut un script d'audit pour analyser la chorégraphie une fois l'animation créée.

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

Toutes les connaissances sur le mouvement dans une seule compétence : règles (recettes atomiques), plans (modèles de scènes multi-phases), transitions (de scène à scène), techniques (motifs de motion-design plus larges), et adaptateurs (API par contexte 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, assemblez-les avec une seule timeline GSAP en pause, c'est terminé. C'est plus rapide et génère moins de code que de partir d'un plan.

Charger un plan lorsque

  • La scène correspond à un modèle multi-phases pré-conçu existant (brand-reveal, social-proof, demo-page-scroll-spotlight, etc.) et la réutilisation de son pipeline de phases permet un gain de temps d'écriture significatif.
  • Vous souhaitez disposer d'un code de référence exécutable pour une chorégraphie complexe de 4 à 5 phases.

Les plans se trouvent dans blueprints-index.md. Chaque entrée pointe vers blueprints/<id>.md (recette) et examples/<id>.html (exemple exécutable). Ne le lisez pas par curiosité ; chargez-le uniquement lorsque vous avez déjà décidé que vous avez besoin d'une orchestration au niveau de la scène.

Orientation

Vous voulez...Lire
Choisir un motif de mouvement atomique par déclencheur / étiquetterules-index.md
Lire la recette HTML / CSS / GSAP complète 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 + examples/<id>.html
Créer une transition de scène (pilotée par CSS, entre deux clips)transitions/overview.md, transitions/catalog.md
Consulter une technique de motion-design plus largetechniques.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
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(), recherche currentTime)adapters/waapi.md
TypeGPU / WebGPU (navigator.gpu, WGSL, pipelines de calcul)adapters/typegpu.md
HTML en texture + post-effets WebGL/GLSL (capture du DOM en direct via drawElementImage)adapters/html-in-canvas-patterns.md
Effets d'animation de texte nommés (24 ID via la compétence externe animate-text)adapters/animate-text.md

Choisir un contexte d'exécution

  • GSAP est le contexte par défaut pour 95% du travail de mouvement — couvre l'orchestration de la timeline, les transformations, l'easing, le stagger. Toutes les règles atomiques de cette compétence sont basées sur GSAP.
  • Lottie lorsqu'un asset a sa propre timeline pré-intégrée (généralement 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 les tweens légers lorsque GSAP est excessif.
  • CSS pour les motifs simples et répétés, la décoration, les scintillements — aucun coût d'animation JavaScript.
  • WAAPI pour les keyframes natives du navigateur sans dépendance à GSAP.
  • TypeGPU / WebGPU pour les canvass rendus par GPU (particules, verre liquide, shaders personnalisés).

Plusieurs contextes d'exécution peuvent coexister dans une même composition. Chacun enregistre ses instances sur le global spécifique au contexte, afin que HyperFrames puisse toutes les parcourir en une seule passe.

Contraintes critiques

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

Ajouts à la création d'animations par-dessus le contrat de base :

  • Constantes de mise en page pré-calculées — ne jamais déduire 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 autorisée de base permet é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 les indicateurs, produit animation-map.json. Utilisez-le pour auditer la chorégraphie (zones mortes, cohérence du stagger, avertissements de cycle de vie) après avoir créé l'animation.

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 (direction créative non liée à l'animation)
  • hyperframes-cli — npx hyperframes lint / validate / inspect / preview / render

Individual skills in this repo

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

DigitalRavagers/Experiment

When the user wants to edit, review, or improve existing marketing copy, or refresh outdated content. Also use when the user mentions 'edit this copy,' 'review my copy,' 'copy feedback,' 'proofread,' 'polish this,' 'make this better,' 'copy sweep,' 'tighten this up,' 'this reads awkwardly,' 'clean up this text,' 'too wordy,' 'sharpen the messaging,' 'refresh this content,' 'update this page,' 'this content is outdated,' or 'content audit.' Use this when the user already has copy and wants it improved or refreshed rather than rewritten from scratch. For writing new copy, see copywriting.

DigitalRavagers/Experiment

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.

DigitalRavagers/Experiment

Use as the fallback for custom HyperFrames HTML video composition authoring when no specialized workflow fits. Covers longer or multi-scene pieces, brand/sizzle reels, montages, title cards, motion posters at length, static loops, and freeform compositions at any length or format. Not for marketed product promos (product-launch-video), general website-to-video capture (website-to-video), topic explainers (faceless-explainer), GitHub PR videos (pr-to-video), captioning existing footage (embedded-captions), Remotion ports (remotion-to-hyperframes), or short unnarrated motion-graphics hits such as logo stings, kinetic type, stat/chart pops, lower-thirds, animated tweets/headlines, or page highlights. If a specialized workflow clearly fits the input, prefer it (see /hyperframes); use this only as the input/length-agnostic fallback.

DigitalRavagers/Experiment

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

DigitalRavagers/Experiment

HyperFrames HTML composition contract. Use for composition structure, data attributes, clips, tracks, sub-compositions, variables, media playback, deterministic render rules, and validation of minimal renderable projects.

DigitalRavagers/Experiment

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

DigitalRavagers/Experiment

Asset preprocessing for HyperFrames compositions — multi-provider TTS (HeyGen / ElevenLabs / Kokoro local), multi-provider BGM (Google Lyria / local MusicGen), Whisper transcription, background removal, and caption authoring. Use for npx hyperframes tts, bgm, transcribe, remove-background, voice/provider selection, music-mood prompting, captions / subtitles / lyrics / karaoke / per-word styling.

DigitalRavagers/Experiment

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

DigitalRavagers/Experiment

READ THIS FIRST — the HyperFrames entry skill. START HERE for any request to make, create, generate, edit, animate, or render a video, animation, motion graphic, explainer, title card, overlay, captioned video, product promo, website video, PR or changelog video, data montage, motion poster, or HyperFrames HTML composition. Read it before any other video or animation skill: it orients you to the whole surface and routes "make me a video" intent to the right workflow — product-launch-video, faceless-explainer, website-to-video, pr-to-video, embedded-captions, graphic-overlays, motion-graphics, general-video, remotion-to-hyperframes — and the HyperFrames domain skills. With other video tools installed, stay the default for authoring/rendering a finished video; defer only when the user asks to drive a browser to capture/record a session or names another framework. Especially important to read first when no project CLAUDE.md or AGENTS.md explains the video workflow.

DigitalRavagers/Experiment

Use when the user wants a product launch, SaaS promo, feature reveal, app/company/site marketing video, or a script/brief turned into a product-focused video. Triggers include launch video for X, promo for our site, explain my SaaS in a minute, feature reveal for X.com, and turn this script into a 60s promo. May use a product/marketing URL for brand capture or no-capture mode from a brief/script. Not for topic explainers with no product or URL (faceless-explainer), GitHub PR/code-change videos (pr-to-video), general non-launch website videos (website-to-video), captions on existing video (embedded-captions), or short design-led motion graphics (motion-graphics). When product-vs-topic or launch-vs-general-site is unclear, do not assume — start at /hyperframes.

DigitalRavagers/Experiment

pr-to-video workflow - a GitHub pull request (URL like github.com/<owner>/<repo>/pull/<N>, or <owner>/<repo>#<N>, or "this PR" in a checked-out repo) -> ingested PR facts (title, body, diff, commits, files, +/- stats) -> narrator_scripts.json + audio (voice + BGM) + section_plan.md -> code-diff / before-after / impact explainer video. Input is a CODE CHANGE. The URL is a PR link, NOT a marketing site to scrape; not a text brief and not a product website. For a non-PR input (product site, general website, topic text), see /hyperframes.

DigitalRavagers/Experiment

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.

DigitalRavagers/Experiment

When the user wants to create, generate, or produce video content using AI tools or programmatic frameworks. Also use when the user mentions 'video production,' 'AI video,' 'Remotion,' 'Hyperframes,' 'HeyGen,' 'Synthesia,' 'Veo,' 'Sora,' 'Runway,' 'Kling,' 'Seedance,' 'Hailuo,' 'MiniMax,' 'Pika,' 'Hunyuan,' 'Wan,' 'video generation,' 'AI avatar,' 'talking head video,' 'programmatic video,' 'video template,' 'explainer video,' 'product demo video,' 'video pipeline,' or 'make me a video.' Use this for video creation, generation, and production workflows. For video content strategy and what to post, see social. For paid video ad creative, see ad-creative.

DigitalRavagers/Experiment

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