Communitygithub.com

laviedezidane/hyperframes-skill

Todo o conhecimento de animação para HyperFrames — regras atômicas de movimento, blueprints de cenas multifásicas, transições de cena, técnicas mais amplas de motion design e os sete adaptadores de runtime.

O que é hyperframes-skill?

Este skill centraliza todo o conhecimento de animação para o ecossistema HyperFrames, funcionando como um guia completo para agentes de IA que precisam criar ou auditar composições animadas. Ele oferece regras atômicas de movimento (receitas GSAP prontas para uso), blueprints de cenas multifásicas (como revelações de marca e provas sociais), transições entre cenas, técnicas mais amplas de motion design e sete adaptadores de runtime: GSAP (padrão), Lottie, Three.js, Anime.js, CSS Keyframes, Web Animations API e TypeGPU. O skill é útil porque padroniza a criação de animações dentro dos princípios determinísticos do HyperFrames — uma única timeline pausada, sem aleatoriedade e com busca segura — garantindo previsibilidade e desempenho. Para usar, o agente deve selecionar 2 a 4 regras do índice e compô-las, ou carregar um blueprint completo, ou consultar APIs específicas de cada runtime (por exemplo, eases do GSAP ou mixer do Three.js). Também inclui scripts para auditar o mapa de animação de composições existentes e 24 efeitos de animação de texto nomeados, via skill externo `animate-text`.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/laviedezidane/hyperframes-skill/tree/HEAD/.agents/skills/hyperframes-animation

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

Instalação do plugin: Antes dos comandos de configuração ou atualização, siga as regras de execução de plugins quando este skill estiver dentro de um plugin HyperFrames. Instalações independentes mantêm as instruções de atualização abaixo.

Animação HyperFrames

Todo o conhecimento de movimento em um único skill: regras (receitas atômicas), blueprints (modelos de cena multifásica), transições (cena para cena), técnicas (padrões mais amplos de motion design) e adaptadores (APIs por runtime).

Para o contrato de composição (atributos de dados, subcomposições, determinismo), veja hyperframes-core.

Padrão: compor regras atômicas

Escolha 2 a 4 regras de rules-index.md, junte-as em uma única timeline GSAP pausada, pronto. Isso é mais rápido e produz menos código do que começar com um blueprint.

Carregue um blueprint quando

  • A cena corresponde a um modelo multifásico pré-projetado existente (revelação de marca, prova social, etc.) e reutilizar seu pipeline de fases economiza tempo de autoria real
  • Você deseja um código executável e preciso para uma coreografia complexa de 4 a 5 fases

Os blueprints estão em blueprints-index.md. Cada entrada aponta para blueprints/<id>.md (receita). Não o leia especulativamente; carregue-o quando já tiver decidido que precisa de orquestração em nível de cena.

Roteamento

Deseja…Leia
Escolher um padrão de movimento atômico por gatilho / tagrules-index.md
Ler a receita completa (HTML, CSS, GSAP) de uma regrarules/<name>.md
Escolher um modelo de cena multifásicablueprints-index.md
Ler a receita completa de um blueprintblueprints/<id>.md
Criar uma transição de cena (orientada a CSS, entre dois clipes)transitions/overview.md, transitions/catalog.md
Consultar uma técnica mais ampla de motion designtechniques.md
Motion blur — desfoque de obturador em um elemento e quando não usá-loreferences/motion-blur.md
Analisar o mapa de animação de uma composição existentescripts/animation-map.mjs
API GSAP — timeline / tweens / parâmetros de posiçãoadapters/gsap.md
GSAP — receitas de efeitos prontos para usorules/gsap-effects.md
GSAP — transformações / desempenhoadapters/gsap-transforms-and-perf.md
GSAP — eases / staggeradapters/gsap-easing-and-stagger.md
GSAP — timeline / labelsadapters/gsap-timeline-and-labels.md
Lottie / dotLottie (exportações do After Effects, window.__hfLottie)adapters/lottie.md
Animação de personagens (ciclo de caminhada, mascote, boneco articulado, gestos)adapters/lottie.md → Personagens
Three.js / WebGL (cenas 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(), currentTime seek)adapters/waapi.md
TypeGPU / WebGPU (navigator.gpu, WGSL, pipelines de computação)adapters/typegpu.md
HTML como textura + pós-efeitos WebGL/GLSL (capturar DOM ao vivo via drawElementImage)adapters/html-in-canvas-patterns.md
Efeitos de animação de texto nomeados (24 IDs via skill externo animate-text)adapters/animate-text.md

Escolhendo um runtime

  • GSAP é o padrão para 95% do trabalho de movimento — cobre orquestração de timeline, transformações, easing, stagger. Todas as regras atômicas neste skill são baseadas em GSAP.
  • Lottie quando um ativo tem sua própria timeline pré-definida (normalmente exportações do After Effects), incluindo personagens que andam, gesticulam ou reagem.
  • Three.js para cenas 3D, movimento de câmera, visuais orientados por shaders.
  • Anime.js para animações leves quando o GSAP é exagerado.
  • CSS para motivos simples e repetitivos, decoração, brilho — sem custo de animação JavaScript.
  • WAAPI para keyframes nativos do navegador sem dependência do GSAP.
  • TypeGPU / WebGPU para canvases renderizados por GPU (partículas, vidro líquido, shaders personalizados).

Múltiplos runtimes podem coexistir em uma única composição. Cada um registra suas instâncias no global específico do runtime para que o HyperFrames possa buscar todas elas em uma única passagem.

Restrições Críticas

Pré-requisito: hyperframes-core → Uma timeline pausada + Regras inegociáveis (uma única timeline pausada, data-duration governa a duração, sem Math.random / Date.now / performance.now, sem repeat: -1 sem uma data-duration raiz finita, sem gsap.set no carregamento da página em clipes de cenas posteriores, sem tweens de display ou visibility brutos, e registre a timeline somente após ela estar totalmente construída, inclusive quando a construção ocorrer dentro de um callback assíncrono como document.fonts.ready). autoAlpha do GSAP e conjuntos de visibilidade com duração zero em limites explícitos de timeline permanecem permitidos pelo core. Use essas exceções apenas em elementos não clipe ou wrappers dentro de um clipe; o framework é dono do ciclo de vida .clip. Não reafirme o contrato completo aqui.

Adições de criação de animação acima do contrato do core:

  • Constantes de layout pré-calculadas — nunca derive posições de getBoundingClientRect() no momento do tween. Medições de DOM no momento do tween dessincronizam porque o renderizador amostra em paralelo; calcule as coordenadas uma vez na configuração da composição e reutilize.
  • Movimento espacial usa apenas aliases de transformação do GSAP (x, y, scale, rotation). A lista de permissões do core também permite opacity / color / backgroundColor / borderRadius para tweens de propriedades não espaciais — mas nunca width / height / top / left para mudanças de layout.

Scripts

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

Lê cada timeline GSAP registrada em window.__timelines, enumera tweens, amostra bboxes, calcula flags e gera animation-map.json. Use para auditar a coreografia (zonas mortas, consistência de stagger, avisos de ciclo de vida) após a criação.

animation-map.mjs resolve pacotes auxiliares do projeto atual primeiro, depois pode inicializar a versão do pacote HyperFrames incluído. Defina HYPERFRAMES_SKILL_PKG_VERSION=<version> apenas ao executar o skill fora da CLI / instalação de skill incluída e quando precisar fixar explicitamente essa versão de inicialização.

Veja Também

  • hyperframes-core — estrutura da composição, atributos de dados, subcomposições, contrato de renderização determinística
  • hyperframes-creative — paletas, tipografia, narração, planejamento de batidas (direção criativa não animação)
  • 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.

Habilidades Relacionadas