Communitygithub.com

AlessandroFare/fluxychat

El contrato de composición de HyperFrames: construye un proyecto renderizable. Úsalo para la estructura de composición, los atributos de tiempo `data-*`, `class="clip"`, pistas, subcomposiciones, variables, reproducción de medios gestionada por el framework, reglas de renderizado determinista y validación. También cubre proyectos con Tailwind y los formatos de planificación STORYBOARD.md / SCRIPT.md. Léelo antes de escribir HTML de composición.

¿Qué es fluxychat?

Este skill define el contrato técnico central de HyperFrames para construir composiciones de video renderizables desde HTML. Cubre la estructura fundamental: cómo declarar el tiempo con atributos `data-*`, usar pistas y clips, manejar subcomposiciones, declarar variables y gestionar la reproducción de medios (video/audio) que el framework controla. El skill detalla reglas no negociables para garantizar un renderizado determinista y evitable, como la prohibición de relojes en tiempo de render, `Math.random` sin semilla o `repeat: -1`. También especifica la validación mediante el CLI `hyperframes-cli` y los formatos de planificación `STORYBOARD.md` y `SCRIPT.md`. Está diseñado para plataformas que ejecutan HyperFrames, como Claude Code, y proporciona referencias detalladas en archivos separados dentro del directorio `references/` para consultas específicas sobre patrones de composición, atributos, determinismo, etc.

Compatible con~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/AlessandroFare/fluxychat/tree/HEAD/.agents/skills/hyperframes-core

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

HyperFrames Core

HyperFrames renderiza video a partir de HTML. Una composición es un archivo HTML cuyo DOM declara el tiempo con atributos data-*, cuyo runtime de animación es buscable y cuya reproducción de medios es gestionada por el framework.

Este skill es el contrato técnico — cómo construir un proyecto de HyperFrames. El cuerpo a continuación es la guía de construcción; los detalles por tema se encuentran en references/ (índice a continuación), léelos bajo demanda. Otras preocupaciones se encuentran en los skills de dominio hermanos — hyperframes-animation, hyperframes-creative, media-use, hyperframes-cli, hyperframes-registry. El mapa de capacidades en /hyperframes indica lo que cubre cada uno.

Referencias

ArchivoLéelo para…
references/minimal-composition.mdempezar desde el esqueleto de composición renderizable más pequeño
references/composition-patterns.mdelegir monolítico vs modular; estructurar un index.html modular; elegir un arquetipo de subcomposición
references/data-attributes.mdconsultar cualquier data-* (raíz / clip / host de subcomp / alias heredados); usar class="clip"
references/tracks-and-clips.mdelegir data-track-index, manejar superposición / z-index en la misma pista, temporizar un clip relativo a otro
references/sub-compositions.mdconectar una subcomposición (atributos del host, <template>, variables por instancia) y animar dentro de ella
references/variables-and-media.mddeclarar variables; colocar <video>/<audio>, establecer volumen, recortar
references/determinism-rules.mdconstruir una línea de tiempo buscable; prohibiciones de determinismo; lista blanca de propiedades animables; ajuste de diseño / texto
references/full-screen-motion.mdcrear movimiento a pantalla completa con fondos compartidos
references/storyboard-format.mdescribir un plan STORYBOARD.md (+ el manifiesto analizado)
references/review-loop.mdejecutar los pases de revisión plan → boceto → construcción en un tablero en vivo — compartido por cada flujo de trabajo de planificación de storyboard
references/production-loop.mdllevar un plan aprobado a un video entregado — las dependencias de etapa (audio, fotogramas, montaje, transiciones, subtítulos, verificar, entregar) una compilación libre sigue directamente
references/brief-contract.mdlas reglas básicas del brief — derivación de modo (colaborativo / autónomo), registro de campos compartidos, invariantes de preguntas (la pregunta en sí vive en /hyperframes → la capa de intención)
references/brief-format.mdescribir BRIEF.md — el documento de intención confirmada que el Setup de un flujo de trabajo escribe y cada paso posterior lee
references/script-format.mdescribir el opcional SCRIPT.md de narración bloqueada
references/subagent-dispatch.mdmapear verbos de despacho de subagentes (fan-out paralelo / fondo / espera) a tu entorno
references/frame-worker-core.mdel contrato compartido del rol de frame-worker — cada generador de paquetes de flujo de trabajo narrativo lo antepone al delta de sub-agents/frame-worker.md de ese flujo de trabajo
references/tailwind.mdtrabajar en un proyecto con Tailwind v4 (init --tailwind; el contrato en tiempo de ejecución difiere del v3 de Studio)

Para detalles específicos del runtime de animación (API de GSAP, Lottie, Three.js, etc.) ve a hyperframes-animation → adapters/<runtime>.md.

Construir una composición

Dos formas raíz (no intercambiables)

  • Independiente (index.html de nivel superior) — un <div data-composition-id="…"> raíz va directamente en <body>, sin envoltorio <template> (envolverlo oculta todo el contenido y rompe el renderizado).
  • Subcomposición (cargada mediante data-composition-src) — la raíz debe estar envuelta en <template>.

⚠ Regla de transporte: el runtime solo clona el contenido de <template>; todo lo demás (incluyendo estilos/scripts de <head>) se descarta — coloca <style>/<script> dentro del template. ⚠ Regla de ID del host: el data-composition-id del slot del host debe ser exactamente igual al data-composition-id del template interno y a la clave window.__timelines["<id>"] — sin sufijo -mount/-slot/-host.

Forma del archivo, conexión del host y lista de verificación previa al renderizado → references/sub-compositions.md.

La raíz debe tener tamaño (error de layout silencioso)

La raíz independiente necesita una caja con tamaño explícito (width/height en px), y cada ancestro hasta un elemento con height:100% debe tener una altura resuelta — de lo contrario, un hijo flex/con 100% se colapsa a ~0 y el contenido se apila en la esquina superior izquierda. No confíes solo en las compuertas automatizadas para detectar esto; inspecciona una captura. Esqueleto → references/minimal-composition.md.

Una línea de tiempo pausada

Cada composición registra exactamente una gsap.timeline({ paused: true }) en window.__timelines["<id>"] (clave = data-composition-id de la raíz), construida sincrónicamente al cargar la página. La duración del renderizado = data-duration de la raíz, no la longitud de la línea de tiempo. No anides manualmente sublíneas de tiempo en el host. Contrato completo (incl. runtimes no GSAP) → references/determinism-rules.md + hyperframes-animation/adapters/.

Errores comunes del lint en la primera pasada (un fallo garantizado en la primera compilación)

Dos reglas que lint sí detecta, pero solo después del hecho — escríbelas correctamente la primera vez:

  • El elemento raíz de la composición debe llevar data-start="0" (junto con data-composition-id/data-width/data-height); omitirlo hace que lint falle con root_composition_missing_data_start.
  • Nunca combines un transform CSS inicial con un tween de GSAP en la misma propiedad — el valor CSS y el inicio del tween entran en conflicto y lint lo rechaza con gsap_css_transform_conflict. Establece el estado inicial dentro del tween con gsap.fromTo(el, { x: -40 }, { x: 0 }) en lugar de un transform: translateX(-40px) CSS.

Reglas no negociables (errores silenciosos que las compuertas automatizadas pueden pasar por alto)

Se exponen aquí; la justificación completa en la referencia vinculada. No las violes:

  • Sin relojes en tiempo de renderizado / Math.random sin semilla / red / estado de entrada; sin repeat: -1 (usa un conteo finito). → determinism-rules.md
  • Anima solo la lista blanca de propiedades visuales; nunca apliques un tween a display o visibility sin procesar. autoAlpha de GSAP y los límites de línea de tiempo de duración cero son las únicas excepciones de visibilidad, y solo en elementos que no sean clips o envoltorios dentro de un clip. El framework solo controla la visibilidad de .clip. No uses gsap.set en clips de escenas posteriores al cargar la página. → determinism-rules.md
  • Sin <br> en el texto del cuerpo; los elementos transformados deben ser de nivel de bloque + con tamaño; los elementos decorativos absolutos pulsantes necesitan espacio libre máximo. → determinism-rules.md
  • <video>/<audio> funcionan a cualquier profundidad de anidamiento (incluso dentro de un <template> o envoltorio de subcomp); el framework posee la reproducción y busca/decodifica los medios donde sea que estén. La única salvedad son las líneas de tiempo, no la colocación: la línea de tiempo de una subcomp no puede animar elementos raíz del host. → variables-and-media.md
  • Cada id debe ser único en toda la página ensamblada; dentro de una subcomp, prefija los ids con el id de la composición (#<id>-hero). Los id duplicados de <video>/<img> se renderizan en blanco — el productor inyecta fotogramas mediante getElementById, y los duplicados entre archivos pasan desapercibidos para lint. → composition-patterns.md
  • Un relleno de escena a pantalla completa va en un hijo con sangría completa (position:absolute; inset:0), nunca en la raíz de la composición misma — la composición de fotogramas del productor puede descartar el background propio del elemento raíz (el fotograma se renderiza negro) aunque la vista previa/snapshot lo muestren correctamente. → composition-patterns.md

Editar composiciones existentes

  • Lee los archivos primero. Preserva el tiempo, las pistas, los IDs, las variables y las rutas de medios no relacionados.
  • Coincide con los IDs de composición y las claves de línea de tiempo existentes.
  • Al agregar un clip: elige un data-track-index que no se superponga o ajusta el tiempo circundante intencionalmente.
  • data-hidden en cualquier elemento de la composición lo oculta TANTO en la vista previa como en el renderizado, anulando su ventana de tiempo; no es destructivo / reversible y se alterna con el icono de ojo de la línea de tiempo de Studio.
  • Al agregar una subcomposición: verifica su data-composition-id interno antes de conectar el host.

Validación

Usa hyperframes-cli para obtener detalles de comandos

  • npx hyperframes check pasa (0 hallazgos en lint, runtime, layout, movimiento y contraste)
  • Proyectos con subcomposiciones: npx hyperframes snapshot --at <puntos medios> y examina cada fotograma
  • npx hyperframes preview para revisión (el usuario puede editar cualquier cosa en la línea de tiempo de Studio)
  • npx hyperframes render solo después de que el usuario lo apruebe

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

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

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.

AlessandroFare/fluxychat

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

Skills relacionados