Communitygithub.com

1345AbhishekKumar/starter-supabase

El contrato de composición de HyperFrames: construye un proyecto renderizable. Úsalo para la estructura de composición, los atributos de temporización `data-*`, `class="clip"`, pistas, subcomposiciones, variables, reproducción de medios administrada por el framework, reglas de renderizado determinista y validación. Léelo antes de escribir HTML de composición.

¿Qué es starter-supabase?

HyperFrames es un framework que permite renderizar video a partir de HTML, donde una composición es un archivo HTML cuyos elementos declaran temporización mediante atributos `data-*`, cuyo runtime de animación es buscable (seekable) y cuya reproducción de medios está controlada por el framework. Este skill es el **contrato técnico** para construir un proyecto HyperFrames, detallando la estructura básica, patrones de composición (monolítico vs. modular), atributos `data-*`, pistas y clips, subcomposiciones, variables y manejo de medios (`<video>`/`<audio>`), y las reglas estrictas de renderizado determinista que garantizan una línea de tiempo reproducible. El skill también cubre temas de validación mediante el CLI `hyperframes-cli` (lint, validate, inspect, preview, render) y referencias detalladas para cada aspecto. Soporta tanto composiciones independientes como subcomposiciones cargadas mediante `data-composition-src`, y está diseñado para plataformas como Claude, Cursor, Codex y Cline. Es útil para desarrolladores que necesitan construir animaciones complejas, editar composiciones existentes o integrar contenido multimedia con temporización precisa y comportamiento determinista.

Compatible con~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/1345AbhishekKumar/starter-supabase/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 la temporización con atributos data-*, cuyo runtime de animación es buscable (seekable) y cuya reproducción de medios es administrada por el framework.

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

Referencias

ArchivoLéelo para…
references/minimal-composition.mdcomenzar 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 subcomp
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 en la misma pista / z-index, 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 permitida de propiedades animables; layout / ajuste de texto
references/full-screen-motion.mdcrear movimiento a pantalla completa con fondos compartidos
references/storyboard-format.mdredactar un plan STORYBOARD.md (+ el manifiesto analizado)
references/script-format.mdredactar la narración bloqueada opcional SCRIPT.md
references/subagent-dispatch.mdmapear verbos de despacho de subagentes (fan-out paralelo / fondo / espera) a tu harness
references/tailwind.mdtrabajar en un proyecto Tailwind v4 (init --tailwind; el contrato de runtime 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) — el <div data-composition-id="…"> raíz se coloca 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 un <template>.

⚠ Regla de transporte: el runtime solo clona los contenidos del <template>; todo lo que esté fuera (incluyendo estilos/scripts de <head>) se descarta — coloca <style>/<script> dentro del template. ⚠ Regla de ID del host: el data-composition-id del slot host debe coincidir exactamente con el data-composition-id del template interno y con la clave window.__timelines["<id>"] — sin sufijos -mount/-slot/-host.

Forma de archivo, cableado 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 un recuadro 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 o con 100% se colapsa a ~0 y el contenido se acumula en la esquina superior izquierda. lint/validate/inspect no detectan esto. 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 subtimelines dentro del host. Contrato completo (incluyendo runtimes no GSAP) → references/determinism-rules.md + hyperframes-animation/adapters/.

Reglas no negociables (errores silenciosos que lint/validate/inspect no detectan)

Aquí se listan; la justificación completa está en la referencia enlazada. No violar:

  • Sin relojes en tiempo de renderizado / Math.random sin semilla / red / estado de entrada; sin repeat: -1 (usar un número finito). → determinism-rules.md
  • Animar solo la lista permitida de propiedades visuales; nunca display/visibility; sin gsap.set en clips de escenas posteriores. → determinism-rules.md
  • Sin <br> en texto del cuerpo; los elementos transformados deben ser de tipo bloque y con tamaño; los decorativos absolutos pulsantes necesitan espacio libre máximo. → determinism-rules.md
  • <video>/<audio> debe ser hijo directo de la raíz del host (nunca dentro de un <template>/envoltorio de subcomp); el framework controla la reproducción. → variables-and-media.md
  • Cada id debe ser único en toda la página ensamblada; dentro de una subcomp, prefijar los ids con el id de la composición (#<id>-hero). Los ids duplicados de <video>/<img> 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 debe ir en un hijo que ocupe todo el espacio (position:absolute; inset:0), nunca en la raíz de la composición — la composición de fotogramas del productor puede eliminar el background del elemento raíz (el fotograma renderiza negro) aunque la vista previa/snapshot lo muestren correctamente. → composition-patterns.md

Editar composiciones existentes

  • Lee los archivos primero. Conserva la temporización, pistas, IDs, variables y rutas de medios no relacionadas.
  • Coincide con los IDs de composición y claves de línea de tiempo existentes.
  • Al agregar un clip: elige un data-track-index que no se superponga o ajusta la temporización circundante intencionalmente.
  • Al agregar una subcomposición: verifica su data-composition-id interno antes de cablear el host.

Validación

Usa hyperframes-cli para los detalles de comandos

  • npx hyperframes lint pasa (0 errores)
  • npx hyperframes validate pasa (0 errores de consola)
  • npx hyperframes inspect pasa (0 errores)
  • Proyectos con subcomposiciones: npx hyperframes snapshot --at <midpoints> y revisa visualmente 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 la aprobación del usuario

Individual skills in this repo

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

1345AbhishekKumar/starter-supabase

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.

1345AbhishekKumar/starter-supabase

The fallback workflow for authoring custom HyperFrames video compositions at any length or format — longer or multi-scene pieces, brand / sizzle reels, montages, title cards, static loops, and freeform compositions. Input- and length-agnostic. If a specialized workflow clearly fits the input — a marketed product, a website, a topic explainer, a GitHub PR, existing footage, a short motion graphic, or a Remotion port — prefer it (see /hyperframes); use this only as the general fallback when none fit.

1345AbhishekKumar/starter-supabase

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). HyperFrames-native: single paused timeline, seek-safe, deterministic.

1345AbhishekKumar/starter-supabase

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

1345AbhishekKumar/starter-supabase

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

1345AbhishekKumar/starter-supabase

Audio and media assets for HyperFrames compositions, produced by one shared audio engine (`scripts/audio.mjs`) — multi-provider TTS (HeyGen / ElevenLabs / Kokoro local), background music + sound effects (HeyGen audio-library retrieval by default, with local Lyria / MusicGen BGM generation and a bundled SFX library as the no-credential fallback), Whisper transcription, background removal, and caption authoring. Use for voiceover / TTS, BGM, SFX / sound effects, transcription, captions / subtitles / lyrics / karaoke / per-word styling, voice + provider selection, and music-mood prompting.

1345AbhishekKumar/starter-supabase

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

1345AbhishekKumar/starter-supabase

Use when the user wants a short, design-led motion graphic where motion is the message: kinetic typography, stat or number count-up, chart/data-viz hit, logo sting, brand lockup, lower-third, callout, social overlay, animated headline/tweet/news item, motion poster, or quick captured-page highlight. Usually under 10s and up to ~30s, with no narration arc, voice-over, or live-action subject. Can render to MP4 or transparent overlay. Not for longer, multi-scene, narrated, or brand-reel pieces (use general-video), narrated website videos (website-to-video), topic explainers (faceless-explainer), product promos (product-launch-video), PR videos (pr-to-video), or captions on existing footage (embedded-captions). When unsure whether it's a quick motion-first piece or a longer / narrated treatment, see /hyperframes.

1345AbhishekKumar/starter-supabase

Use when the user has a music track (an audio file, or a video to pull audio from) and wants a beat-synced HyperFrames video, calm to hard-hitting. The music drives everything: one analyzer reads it once, the orchestrator lays out the frames and fills a per-frame plan, and one sub-agent builds each frame. Typography and templates are the floor — a complete video needs zero assets — but any images or videos the user supplies are cut into the frames on the same beat grid (beat-cut / ken-burns). The genre (lyric video, slideshow, kinetic promo) falls out of the per-frame choices; the pipeline never branches on it.

1345AbhishekKumar/starter-supabase

turn a product or marketing URL, pasted script, or brief into a product launch video, including SaaS promos, feature reveals, app launches, company promos, and product marketing videos. Use this skill when the user wants to market, launch, promote, or reveal a product. Do not use it for general non-launch website tours, non-product topic explainers, GitHub pull requests, captioning existing footage, or short unnarrated motion graphics. If the intent is unclear, route through /hyperframes first. This is the new shot-sequence architecture: every visual frame is authored as a time-coded shot sequence picked from a menu of golden blueprints, so frames develop over their full duration instead of freezing after entrance.

1345AbhishekKumar/starter-supabase

turn a GitHub pull request (a PR URL like github.com/<owner>/<repo>/pull/<N>, an <owner>/<repo>#<N> ref, or 'this PR' in a checked-out repo) into a code-change explainer video, up to ~3 min (sweet spot 30-90s) — changelog, feature reveal, fix, or refactor walkthrough, rendered from the diff / commits / files. The input is a CODE CHANGE read via the gh CLI; there is no website capture. Use this skill for a GitHub PR. Do not use it for a product launch/promo (use /product-launch-video), a tour of a real website (use /website-to-video), a topic explainer with no PR (use /faceless-explainer), captions on existing footage (use /embedded-captions), or a short unnarrated motion graphic (use /motion-graphics). If the intent is unclear, route through /hyperframes first.

1345AbhishekKumar/starter-supabase

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.

1345AbhishekKumar/starter-supabase

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 relacionados