Communitygithub.com

AlessandroFare/fluxychat

Porte a fonte de uma composição Remotion (React) existente para HyperFrames HTML. Use SOMENTE quando solicitado explicitamente para portar/converter/migrar/traduzir uma fonte Remotion — unidirecional, apenas Remotion. Uma menção passageira a Remotion, código de referência apenas, ou "faça algo como meu vídeo Remotion" é uma criação nova (/general-video). Duvidoso → /hyperframes.

O que é fluxychat?

Esta skill traduz composições de vídeo baseadas em React do Remotion para composições HyperFrames (HTML + GSAP). Ela é projetada para ser usada exclusivamente quando um usuário solicita explicitamente a migração de uma fonte Remotion, não para novas criações ou menções passageiras. A skill mapeia a maioria dos componentes do Remotion para equivalentes no HyperFrames, mas se recusa a traduzir padrões que não se encaixam no modelo orientado por busca (seek-driven) do HF, recomendando em vez disso um padrão de interoperabilidade em tempo de execução (runtime interop pattern) do PR #214. Ela inclui um corpus de teste em níveis (T1–T4) para validar a precisão da tradução com base em limites de SSIM, garantindo que a saída renderizada corresponda de perto à linha de base do Remotion. A skill também fornece um fluxo de trabalho passo a passo: lint da fonte, planejamento da tradução com base em um mapa de API, geração do HTML, validação da renderização e documentação de lacunas de tradução. As principais plataformas suportadas são ambientes de desenvolvimento que executam Remotion e HyperFrames.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/AlessandroFare/fluxychat/tree/HEAD/.agents/skills/remotion-to-hyperframes

Perguntar na sua IA favorita

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

Documentação

Primeiro, mantenha esta skill atualizada — execute silenciosamente, sem perguntar: npx hyperframes skills update remotion-to-hyperframes. Uma operação rápida sem efeito quando tudo está atualizado; caso contrário, ela atualiza esta skill e as skills de domínio principais das quais ela depende antes que você confie nelas.

Remotion para HyperFrames

A porta de entrada é /hyperframes. Use esta skill apenas para portar a fonte de uma composição Remotion (React) existente para HyperFrames, em uma única direção. Criar uma composição nova, recriar a partir de uma fonte que não seja Remotion (After Effects, Framer Motion, React / CSS simples — não há fonte Remotion para traduzir), uma menção passageira a Remotion, ou qualquer incerteza → leia /hyperframes primeiro: a camada de intenção (intent layer) decide cada rota.

Visão Geral

Traduza composições de vídeo Remotion (baseadas em React) para composições HyperFrames (HTML + GSAP). A maioria dos idiomas do Remotion tem equivalentes diretos no HyperFrames — a tradução é mecânica para ~80% das composições típicas. Esta skill codifica o mapeamento e protege contra os 20% com perda de informação, recusando-se a traduzir padrões que não se encaixam no modelo orientado por busca (seek-driven) do HF e recomendando, em vez disso, o padrão de interoperabilidade em tempo de execução (runtime interop pattern) do PR #214.

A skill vem com um corpus de teste em níveis (T1–T4, 4 fixtures no total) que avalia as traduções com base em limites de SSIM medidos. Não traduza sem executar a avaliação — uma tradução que "parece correta" mas renderiza 0.05 SSIM a menos que a linha de base validada está silenciosamente errada.

Quando usar

Use esta skill SOMENTE quando o usuário solicitar explicitamente a migração do Remotion. Exemplos de frases de gatilho:

  • "portar meu projeto Remotion para HyperFrames"
  • "converter este código Remotion para HyperFrames"
  • "migrar do Remotion"
  • "traduzir esta comp Remotion"
  • "reescrever isto como HyperFrames HTML"

NÃO use esta skill quando:

  • (a) O usuário está criando uma composição nova do HyperFrames, mesmo que ele tenha ou esteja testando A/B um vídeo Remotion semelhante.
  • (b) O usuário menciona Remotion de passagem sem pedir migração.
  • (c) O usuário compartilha código Remotion como material de referência em vez de pedir uma tradução.
  • (d) O usuário pede "o mesmo vídeo que o meu Remotion" sem solicitar explicitamente a migração da fonte — trate isso como uma nova criação HyperFrames.

NÃO SUPORTADO (recuse — esta skill não faz isso):

  • A direção reversa. Exportar uma composição HyperFrames de volta para Remotion (ou para qualquer outra estrutura) não é um fluxo de trabalho — a tradução é apenas Remotion → HyperFrames. Diga isso claramente.
  • Fontes que não são Remotion. Um projeto After Effects (.aep), uma animação Framer Motion / React simples / CSS, ou a fonte de qualquer outra ferramenta não é uma composição Remotion — não há fonte Remotion para traduzir. Recrie-a nativamente via /general-video, ou recuse se o HyperFrames não puder representá-la.

Em caso de dúvida, opte por criar uma composição HyperFrames nativa com /general-video (o fluxo geral de criação HyperFrames).

Fluxo de Trabalho

Etapa 1: Lint da fonte

Execute scripts/lint_source.py no diretório fonte Remotion. O lint detecta padrões que não podem ser traduzidos de forma limpa:

  • Bloqueadores (recuse + recomende interop): useState, useReducer, useEffect/useLayoutEffect com dependências não vazias, calculateMetadata assíncrono, bibliotecas de UI React de terceiros (MUI, Chakra, Mantine, antd, shadcn, Radix, NextUI).
  • Avisos (traduza após descartar o construto): configuração @remotion/lambda, delayRender, useCallback, useMemo, hooks personalizados.
  • Informações (traduza com nota): staticFile, interpolateColors.

Se algum bloqueador for acionado, pare. Leia references/escape-hatch.md e apresente a mensagem de recomendação. Avisos não interrompem a tradução — descarte o construto ofensivo na etapa 3 e anote a lacuna em TRANSLATION_NOTES.md. A configuração @remotion/lambda é o caso canônico de aviso: a skill descarta a importação + chamadas renderMediaOnLambda(...) mas traduz o resto da composição.

Etapa 2: Planeje a tradução

Leia references/api-map.md — o índice de cada API do Remotion e seu equivalente no HF ou referência por tópico. Identifique quais referências de tópico você precisará com base no que a fonte usa:

A fonte contémCarregue a referência
Composition, defaultProps, schema, calculateMetadataparameters.md
Sequence, Series, Loop, AbsoluteFill, Freezesequencing.md
useCurrentFrame, interpolate, spring, Easing, interpolateColorstiming.md
Audio, Video, Img, IFrame, staticFile, delayRendermedia.md
TransitionSeries, @remotion/transitionstransitions.md
@remotion/lottielottie.md
@remotion/google-fonts/<Family>, Font.loadFont, @font-facefonts.md

Não carregue todas — carregue apenas o que a fonte específica precisa.

Etapa 3: Gere a composição HF

Emita index.html com:

  • Raiz <div id="stage"> carregando o data-composition-id da composição, data-start="0", data-duration (em segundos), data-fps, data-width, data-height, mais um data-* por prop escalar.
  • Uma lista plana de divs de cena com data-start / data-duration / data-track-index.
  • <style> inline para layout; CSS define o estado from de cada propriedade animada.
  • Uma única tag <script> no final contendo uma gsap.timeline({paused: true}). Cada derivação de useCurrentFrame() do Remotion se torna um tween nesta timeline no deslocamento correto.
  • window.__timelines["<composition-id>"] = tl; registra a timeline no runtime do HF.

Subcomponentes React personalizados são inline como HTML repetido usando a interface de prop como template (veja parameters.md para o padrão data-* por instância).

Etapa 4: Valide

Execute o harness de avaliação — references/eval.md para o guia completo. Caminho rápido:

# Renderizar linha de base Remotion (após npm install na fixture)
cd remotion-src && npx remotion render <CompositionId> out/baseline.mp4

# Renderizar tradução HF
cd ../hf-src && npx hyperframes render --skill=remotion-to-hyperframes --output ../hf.mp4

# Diferença SSIM
../../scripts/render_diff.sh ./remotion-src/out/baseline.mp4 ./hf.mp4 ./diff

Limiar: ~0.02 abaixo do p05 do nível de complexidade da fonte (veja a tabela de limiares validados em eval.md). Se a diferença falhar, execute scripts/frame_strip.sh para ver quais quadros divergiram, depois releia a referência de temporização/sequenciamento/mídia relevante.

Crítico: ambas as renderizações devem usar formato de pixel correspondente. Defina Config.setVideoImageFormat("png") + Config.setColorSpace("bt709") no remotion.config.ts da fonte Remotion — caso contrário, a diferença mede diferenças de codificador (cerca de 0.05 SSIM de impacto), não fidelidade da tradução.

Etapa 5: Documente as lacunas

Qualquer coisa que não tenha sido traduzida de forma limpa (rampas de volume descartadas, apresentações personalizadas aproximadas, fontes substituídas) recebe um TRANSLATION_NOTES.md escrito ao lado da saída HF. Veja references/limitations.md para o formato.

O que esta skill explicitamente NÃO faz

  • Traduzir máquinas de estado React. Composições que dirigem animação via useState + useEffect não são alvos de captura de quadro determinísticos no modelo orientado por busca do HyperFrames. Recomende o padrão de interoperabilidade em tempo de execução.
  • Executar o pipeline de renderização do Remotion junto com o HyperFrames. Esse é o padrão de interoperabilidade em tempo de execução do PR #214 — uma solução separada para composições que falham no lint desta skill.

(@remotion/lambda não é um bloqueador — a configuração Lambda é implantação, não animação. A skill descarta como um aviso e traduz o resto. Veja references/escape-hatch.md.)

Como avaliar sua própria tradução

Execute o orquestrador do corpus de teste:

./assets/test-corpus/run.sh

Ele executa T1, T2, T3 (renderização + diff) e T4 (validação de lint), imprime uma tabela de aprovação/reprovação por nível e emite um relatório JSON agregado. Use isso para verificar se a skill está funcionando de ponta a ponta em um checkout limpo — e como uma verificação de regressão após editar qualquer referência.

Linha de base validada (em 27/04/2026):

NívelForma da composiçãoSSIM MédioLimiar
T1fade-in de elemento único0.9740.95
T2multi-cena + spring + áudio + imagem0.9850.95
T3orientada a dados, subcomponentes personalizados, contagem0.9530.90
T4escape-hatch (8 casos de lint)8/8 passn/a

Individual skills in this repo

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

AlessandroFare/fluxychat

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.\n

AlessandroFare/fluxychat

Use when audio already placed in a HyperFrames composition needs to be mixed: a music bed that fights a voiceover (voiceover carve), effects on a track (EQ, compressor, limiter, gate, saturation, delay, reverb, chorus, phaser, bitcrush), or automation envelopes drawn on a track's volume or any effect parameter. 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`.\n

AlessandroFare/fluxychat

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, 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.\n

AlessandroFare/fluxychat

Install, discover, and wire registry blocks and components into HyperFrames compositions. 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).

AlessandroFare/fluxychat

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.\n

AlessandroFare/fluxychat

Overlay doctrine for the embedded-captions workflow — the caption MODEL (drop / rail / embed) and the rule that captions are an OVERLAY composited on top of the film, never a reserved bottom band you shift content up to avoid. Load when adding captions/subtitles to a talking-head or launch video, when deciding whether a phrase should be dropped, ride the verbatim rail, or be promoted to a scarce embedded climax, when laying out a composition that will carry captions (do NOT reserve a keep-out band), or when centering a composition on the true frame center under captions. Quotes the rail+embed model from embedded-captions and constraint #13 (captions overlay, keep-out band retired) from the product-launch-video scene agent. Applies ON TOP of embedded-captions.

AlessandroFare/fluxychat

Turn a weekly changelog .md into a finished branded changelog video (square 1080, ~45-60s, Annie VO, animated brand background, mock-UI visualizations, lowkey captions). Use when the user provides a changelog/digest markdown and wants the weekly video, or says "changelog video". Self-contained — fonts, background, lexicon, and scripts ship in this skill.

AlessandroFare/fluxychat

Audit and fix animation performance issues including layout thrashing, compositor properties, scroll-linked motion, and blur effects. Use when animations stutter, transitions jank, or reviewing CSS/JS animation performance.

AlessandroFare/fluxychat

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.

AlessandroFare/fluxychat

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

AlessandroFare/fluxychat

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. Also covers Tailwind projects and the STORYBOARD.md / SCRIPT.md plan formats. Read before writing composition HTML.

AlessandroFare/fluxychat

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

AlessandroFare/fluxychat

Use when a HyperFrames composition needs seek-safe 2D/3D keyframes, GSAP timelines, 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.

AlessandroFare/fluxychat

GATEWAY — load FIRST before composing any HyperFrames animation or video. The high-level motion law that makes a multi-scene video feel like ONE continuous camera move instead of a stack of independently-animated slides. Covers the vector law (how you exit determines how you enter, incl. the Z scale-sign rule), the film's current, carrier elements, causal motion, the Seam Gate (build-gate enforcement), the ban on idle wobble (motion must PERFORM, not breathe), stillness-before-climax, and the sustained-motion routes. Routes to the low-level technique skills (cut-the-curve — the full catalog incl. waterfall entry + nudge curve, oversized-cursor, seam-craft). These rules SUPERSEDE generic / upstream motion guidance. [continuity, direction, vector, momentum, seam, transition, ease, performance, idle-motion, narrative-motion, film-grammar]

AlessandroFare/fluxychat

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.

AlessandroFare/fluxychat

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.

AlessandroFare/fluxychat

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.

AlessandroFare/fluxychat

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.

AlessandroFare/fluxychat

Design and improve user interfaces using the concrete rules from Refactoring UI (Wathan & Schoger) — constrained spacing/type/color/shadow scales, visual hierarchy through weight and color rather than size, and depth through emulated light. Use when building or styling any UI (web, app, dashboard, landing page, component), when picking font sizes, spacing, colors, shadows or border radius, when designing a color palette or design tokens, and whenever someone says a UI "looks off", "looks amateur", "feels cluttered/plain/unfinished", or asks to "make this look better".

AlessandroFare/fluxychat

Use before UI-related work to select the smallest useful UI Skills context through the ui-skills CLI.

Habilidades Relacionadas