Communitygithub.com

1345AbhishekKumar/starter-supabase

CLI de HyperFrames para ciclo de desarrollo. Úsalo al ejecutar 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 o remove-background, o al solucionar problemas del entorno de compilación/renderizado de HyperFrames. Punto de entrada para renderizado en la nube con AWS Lambda (`hyperframes lambda deploy / render / progress / destroy / policies`).

¿Qué es starter-supabase?

Este skill de agente IA define el flujo de trabajo completo del CLI de HyperFrames, una herramienta para la creación y renderizado de vídeos basados en composiciones HTML. Está diseñado para guiar a agentes como Claude Code, Cursor o Codex a través de las fases de desarrollo: desde el scaffolding inicial (`init`, `capture`), pasando por la autoría de composiciones, el linting (`lint`), la validación (`validate`), la inspección visual (`inspect`) y la vista previa en el editor Studio (`preview`), hasta el renderizado final en local o en la nube con AWS Lambda. El skill detalla convenciones críticas para la automatización, como el uso del flag `--json` (excepto en render, preview y play), la detección automática del modo no interactivo, y el bloqueo del renderizado automático hasta la aprobación del usuario. Además, incluye reglas para la verificación posterior al renderizado y un punto de control mínimo que combina estático (`lint`, `validate`) y visual (`snapshot`), especialmente importante para proyectos que usan subcomposiciones, donde los análisis estáticos fallan.

Compatible con~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/1345AbhishekKumar/starter-supabase/tree/HEAD/.agents/skills/hyperframes-cli

Preguntar en tu IA favorita

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

Documentación

CLI de HyperFrames

Todo se ejecuta a través de npx hyperframes a menos que las instrucciones del proyecto especifiquen una envoltura local. Obedece la envoltura local exactamente. Requiere Node.js >= 22 y FFmpeg.

Flujo de trabajo

  1. Scaffolding — npx hyperframes init my-video (o capture desde una URL)
  2. Escribir — crea la composición HTML (consulta el skill hyperframes-core)
  3. Lint — npx hyperframes lint
  4. Validar — npx hyperframes validate (errores de ejecución + contraste)
  5. Inspección visual — npx hyperframes inspect
  6. Vista previa — npx hyperframes preview abre Studio, el editor de línea de tiempo donde el usuario puede editar manualmente cualquier cosa (no solo ver). Revísalo allí, luego pregunta antes de renderizar.
  7. Renderizar — elige la variante:
    • Iterar: npx hyperframes render --quality draft
    • Entregar: npx hyperframes render --quality high --output out.mp4
    • CI / reproducción entre equipos: npx hyperframes render --docker --strict --output out.mp4
    • Nube (larga / grande): npx hyperframes lambda render ./my-project --width 1920 --height 1080 --wait (ver Lambda abajo)

Ejecuta lint, validate e inspect antes de preview. lint detecta data-composition-id faltantes, pistas superpuestas y líneas de tiempo no registradas. validate carga la composición en Chrome sin cabeza y reporta errores de consola en tiempo de ejecución más problemas de contraste WCAG. inspect recorre la línea de tiempo y reporta texto que se sale de burbujas/contenedores o del lienzo — y, cuando hay un archivo adjunto *.motion.json, verifica la intención de movimiento (entradas activadas por el recorrido, orden de escalonamiento, dentro del cuadro, actividad) contra la misma línea de tiempo recorrida.

Para trabajos con mucho movimiento, prefiere la iteración basada en instantáneas y un archivo adjunto *.motion.json — consulta references/lint-validate-inspect.md para la disciplina y la especificación de verificación de movimiento.

Convenciones del agente

Reglas transversales que se aplican a cada comando:

  • --json está disponible en todos los comandos excepto render, preview y play. Úsalo para cualquier invocación de agente / CI de los comandos compatibles; la salida incluye un sobre _meta (versión del CLI, última disponible, consejo de actualización). render informa el estado solo a través de stdout + código de salida — verifica el éxito con la comprobación posterior al renderizado a continuación; preview / play son servidores, no tienen JSON.
  • doctor --json siempre sale con 0, incluso cuando el entorno está roto. Verifica el campo ok del payload: npx hyperframes doctor --json | jq -e '.ok' > /dev/null. Esto aísla las canalizaciones de la fluctuación de versiones del CLI.
  • El modo no TTY se detecta automáticamente. Cuando stdout no es una TTY (CI, agentes, salida canalizada), el CLI cambia automáticamente a no interactivo; init entonces requiere --example. Pasa --non-interactive para forzar este modo incluso en una TTY.
  • Puerta de CI en render: --strict falla en errores de lint, --strict-all también falla en advertencias, --strict-variables falla en claves --variables no declaradas.
  • Las rutas en --json están redactadas — $HOME se convierte en el literal $HOME para que la salida sea segura de pegar en informes de errores y contextos de agente.
  • El renderizado está controlado por el usuario. Nunca auto-renderices una vez que las comprobaciones pasen. Pausa en preview, dile al usuario que el vídeo se puede editar en Studio y renderiza solo después de que lo aprueben.
  • Verificación posterior al renderizado. Después de que render devuelva el código de salida 0, confirma que el archivo de salida existe y tiene un tamaño plausible antes de informar éxito: [ -s "$OUTPUT" ] || echo "el renderizado no produjo salida". El CLI imprime ◇ <ruta> en caso de éxito; para renders largos, también verifica la duración con ffprobe -i "$OUTPUT" -show_format -v error.

Enrutamiento

¿Quieres…Lee
Crear un proyecto (init, capture, skills)references/init-and-scaffold.md
Verificar corrección (lint, validate, inspect, snapshot)references/lint-validate-inspect.md
Vista previa o renderizado (preview, play, render, publish)references/preview-render.md
Diagnosticar el entorno (doctor, browser)references/doctor-browser.md
Renderizar en la nube con AWS Lambda (lambda deploy / sites / render / progress / destroy / policies)references/lambda.md
Todo lo demás (info, upgrade, compositions, docs, benchmark, telemetry, preprocesamiento de activos)references/upgrade-info-misc.md

Traspasos entre skills

  • Proyectos Tailwind (init --tailwind) → usa hyperframes-core (referencia de Tailwind) antes de editar clases o tokens del tema.
  • Bloques/componentes del registro (hyperframes add, hyperframes catalog) → usa hyperframes-registry para rutas de instalación, cableado de subcomposiciones y fusión de fragmentos.
  • Preprocesamiento de activos (tts, transcribe, remove-background) → usa hyperframes-media para selección de voz, reglas del modelo Whisper, subtítulos y cadena TTS a subtítulos.
  • Renders parametrizados (--variables) → declarados mediante data-composition-variables en <html>; consulta hyperframes-core para el esquema completo.

Lambda (Renderizado en la nube)

hyperframes lambda despliega renderizado distribuido en AWS Lambda y ejecuta renders desde tu portátil o CI. De principio a fin son tres comandos:

npx hyperframes lambda deploy                                             # aprovisiona la pila SAM (Lambda + Step Functions + S3)
npx hyperframes lambda render ./my-project --width 1920 --height 1080 --wait
npx hyperframes lambda destroy                                            # desmonta (el bucket S3 se conserva)

Usa Lambda cuando un render es demasiado largo / grande para un solo equipo (vídeos de varios minutos, 4K, lotes paralelos grandes) y tengas credenciales de AWS configuradas. Para iteración en el bucle de desarrollo, quédate con el render local.

Consulta references/lambda.md para requisitos previos, los 6 subcomandos (deploy, sites create, render, progress, destroy, policies), validación de políticas IAM, archivos de estado y reglas de coste/limpieza.

Punto de control mínimo

Puertas estáticas

npx hyperframes lint
npx hyperframes validate

Añade inspect para trabajos sensibles al diseño y render --strict en CI para fallar en errores de lint.

Prueba visual de humo — requerida cuando el proyecto usa subcomposiciones

lint / validate / inspect evalúan cada composición de forma aislada. Nunca cargan index.html y montan subcomposiciones mediante data-composition-src, por lo que no pueden detectar fallos de montaje entre archivos (ver hyperframes-core → references/sub-compositions.md, "Errores comunes"). La única puerta que los detecta es una que realmente cargue index.html y recorra la línea de tiempo.

Usa hyperframes snapshot — carga el proyecto de la misma manera que render (por lo que ejercita la misma ruta de montaje) pero solo captura las marcas de tiempo que solicites, por lo que toma segundos en lugar de un render completo:

# Captura un fotograma en el punto medio de cada subcomposición.
# Puntos medios = data-start + data-duration/2 para cada ranura anfitriona en index.html.
npx hyperframes snapshot --at <t1>,<t2>,<t3>,...

# O, si no necesitas segmentación por escena, una muestra espaciada uniformemente:
npx hyperframes snapshot --frames 9

La salida se guarda en snapshots/frame-NN-at-Xs.png. Revisa visualmente cada fotograma contra el plan de la escena.

Indicadores de problemas por fotograma (cada uno corresponde a un modo de fallo específico que las puertas estáticas no detectan):

Lo que vesCausa raíz
El texto aparece pequeño + sin estilo en la esquina superior izquierdaBloque <style> dejado en <head> fuera de <template> (Error 1) — ningún CSS llegó al DOM vivo
Elementos SVG/icono ampliados al tamaño del lienzoIgual que arriba — no se aplicaron restricciones de ancho/alto
El elemento principal de la escena falta por completo; solo se ve fondo + marca de aguahost-id ≠ template id (Error 2) — la línea de tiempo nunca se ejecutó, fotograma capturado en el estado inicial
El comando snapshot registra Sub-composition timelines not registered after 45000msError 2 — confirmación directa

snapshots/ se puede eliminar después de la revisión visual; el render final para el usuario es una pasada separada con npx hyperframes render.

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

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.

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