Communitygithub.com

Alemoterani/auto-edit-hyperframes

Convierte un archivo .md de changelog semanal en un video de changelog con marca (cuadrado 1080, ~45-60s, voz de Annie, fondo animado con marca, visualizaciones tipo mock-UI, subtítulos discretos). Úsalo cuando el usuario proporcione un changelog/digest markdown y quiera el video semanal, o diga «video de changelog». Autocontenido: fuentes, fondo, léxico y scripts vienen incluidos en esta skill.

¿Qué es auto-edit-hyperframes?

Esta skill de agente de IA está diseñada para transformar un changelog en formato Markdown (como el resumen semanal de HyperFrames) en un video de marca pulido, listo para publicar. El resultado es un proyecto en `projects/active/weekly-changelog-<rango>/` que sigue una estricta doctrina de motion design (`motion-doctrine`, `cut-the-curve`, `seam-craft`, `captions-overlay`). Su valor principal es la **directriz principal: visualizar, no enumerar**: cada tema del changelog debe representarse mediante una maqueta animada de la interfaz de usuario real o un análogo fiel, no con viñetas de texto. Incluye pasos detallados para parsear el changelog, enrutar las visualizaciones a través de un registro, escribir un guion de dos capas (oral vs. pantalla), generar la voz en off con el personaje de HeyGen «Annie», alinear los subtítulos con precisión, y construir el video final con el scaffold de marca, todo ello verificado por una serie de compuertas de calidad. Soporta ejecución local desde un repositorio de HyperFrames mediante scripts auxiliares como `heygen-tts.mjs` y `align-captions.mjs`, y es autocontenida (sus activos definen la marca, no se permite copiar de proyectos anteriores).

Compatible con✓Claude Code✓Codex CLI✓Cursor
npx skills add https://github.com/Alemoterani/auto-edit-hyperframes/tree/HEAD/vendor/hyperframes/.agents/skills/changelog-video

Preguntar en tu IA favorita

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

Documentación

Changelog → Video con Marca

Entrada: un changelog .md (temas + elementos, como el resumen semanal de HyperFrames). Salida: un proyecto HyperFrames limpio y con la estética «seam-gate-green» en projects/active/weekly-changelog-<rango>/. Solo renderizar cuando se solicite.

Carga obligatoria, no negociable: motion-doctrine (+ cut-the-curve, oversized-cursor si aparece un cursor, seam-craft) y captions-overlay. Esta skill proporciona el pipeline específico del changelog; la doctrina proporciona la ley del movimiento.

La directriz principal: visualizar, no enumerar

Cada tema se ilustra con un mock animado de la interfaz real o un análogo fiel que representa el cambio en la experiencia — nunca viñetas de texto. Enruta cada tema/elemento a través de references/visualization-registry.md ANTES de escribir el guion; el registro decide ui-recreate / ui-analog / terminal / checklist. La lista de verificación es el ÚLTIMO recurso, reservado para elementos genuinamente no visuales (listas de correcciones de fiabilidad).

Pipeline

0 · Inicializar el proyecto desde los activos de ESTA skill — no negociable

Haz esto antes de escribir cualquier composición HTML. Omitirlo siempre produce un video que se parece a un proyecto similar que construiste antes, NO a la marca de esta skill — es la forma más común de desviarse de la marca. Los activos, fuentes y estructura de la skill son la skill; el prompt SKILL.md es un enrutador.

mkdir -p project/assets/fonts
cp <SKILL_DIR>/assets/fonts/*.woff2 project/assets/fonts/
cp <SKILL_DIR>/assets/bgm.mp3 project/bgm.mp3
ffmpeg -y -stream_loop 15 -i <SKILL_DIR>/assets/bg-pattern.mp4 -t <TOTAL> \
  -vf "scale=1080:1080,fps=30,eq=saturation=0.72,[email protected]:t=fill" \
  -an -c:v libx264 -crf 20 -pix_fmt yuv420p project/assets/bg-pattern-<TOTAL>s.mp4
cp <SKILL_DIR>/examples/master-skeleton.html project/index.html

Luego lee references/build-spec.md de principio a fin (no en diagonal) — define los tokens de marca (TT Norms Pro + ABC Solar Display + TT Norms Mono, crema #f5f6f4, verde restringido #5ef17c, tarjetas de vidrio con bordes teñidos de verde, forma de píldora kicker/sec-chip, carril de subtítulos de 32px en top: 990) que cada escena hereda del scaffold.

Solo ENTONCES comienza los pasos 1-6 a continuación. Los pasos 1-4 (analizar, enrutar, guion, VO) planifican lo que va en el scaffold; el paso 5 llena los placeholders (<RANGO>, <TOTAL>, <CORTE_N>, <DUR_N>, cuerpos de escena) dentro del project/index.html ya copiado — NO reescribes el cromo, las fuentes, la paleta o la estructura del scaffold.

Si te ves alcanzando cp en el index.html de un video anterior, o escribiendo tus propias declaraciones @font-face, o diseñando un fondo con shader WebGL en lugar de usar el MP4 bg-pattern codificado anterior: DETENTE. Elimina el index.html actual y reinicia desde el cp del scaffold maestro. Reconstruir el contenido de la escena en el scaffold correcto es más barato que modernizar la marca en el scaffold incorrecto.

1 · Análisis + corte editorial

  • Extraer: rango de semana, estadísticas principales (lanzamientos, commits), temas, elementos.
  • Presupuesto: 45-60s en total. Título ≤2s, outro ≤3.5s, 4 temas ≈ 9-12s cada uno.
  • Por tema, mantener UNA visualización principal + como máximo 3 elementos hablados. Todo lo demás existe solo como el puntero al «resumen completo» en el outro. Cortar es el trabajo: un changelog con 30 elementos aún produce ≤14 tiempos hablados.
  • Ordenar temas por historia: función principal → superficie del producto → rendimiento → fiabilidad (el resumen generalmente ya sigue este orden).

2 · Enrutamiento de visualización

Para cada tema, elegir la superficie de references/visualization-registry.md y escribir una línea: tema → superficie → las 2-4 acciones secuenciadas que realiza el mock, cada una vinculada a una frase del guion. Si no hay superficie del registro que encaje y no existe un análogo fiel, es una escena de lista de verificación — no inventes una interfaz falsa para algo que no podemos representar honestamente.

3 · Guion de dos capas (hablado vs. pantalla)

Escribir el guion como líneas de tokens según references/script-voice.md: registro conversacional, cada término técnico lleva una forma fonética spoken de references/lexicon.json mientras que display mantiene la ortografía estándar. Los subtítulos muestran display; la voz lee spoken. Cualquier término que no esté en el léxico: DETENTE y pregúntale al usuario cómo se pronuncia, luego agrégalo al léxico. Guardar como script-tokens.json en el proyecto.

4 · VO — Annie (HeyGen, fijado)

# solo texto de la capa hablada; palabras JSON = marcas de tiempo de referencia del TEXTO HABLADO
# Ruta nativa del repositorio: la skill de changelog-video se ejecuta desde la raíz del repositorio de hyperframes,
# por lo que utiliza el ayudante TTS de hyperframes-media directamente (sin paso `npx hyperframes
# skills install`). Si has copiado la skill en otro repositorio, sustituye
# tu propia ruta al media-use / hyperframes-media heygen-tts.mjs.
node skills/hyperframes-media/scripts/heygen-tts.mjs ./vo-spoken.txt \
  -o voiceover.mp3 --words vo-words.json \
  --voice 330290724a1b470fb63153f34d4c0183   # Annie — realista (no sustituir)

Requiere CLI heygen ≥0.3.0 autenticado (heygen auth login --oauth). Luego alinear las marcas de tiempo habladas de vuelta a los tokens de pantalla:

node <SKILL_DIR>/scripts/align-captions.mjs \
  --tokens script-tokens.json --words vo-words.json --out captions.json

captions.json es la entrada del carril de subtítulos (ortografía de pantalla, temporización hablada). El alineador imprime advertencias MISMATCH — resolver cada una antes de construir (generalmente una ortografía del léxico que el TTS renderiza como múltiples palabras). El audio es el reloj: todos los tiempos de compás provienen de vo-words.json; una regeneración de VO reabre cada costura.

Las temporizaciones de palabras son una puerta estricta. Antes de pasar al paso 5, verificar que vo-words.json no esté vacío y tenga un array words: [...] con inicio/fin por palabra. Si está vacío (0 bytes) o falta el array — un modo de fallo conocido cuando el proveedor de TTS devuelve audio pero sin carga útil de marcas de tiempo — NO continuar sin ellos. Alternativa: alinear forzosamente el audio producido contra el guion de pantalla usando whisper local:

uvx --from openai-whisper whisper voiceover.mp3 \
  --model base.en --language en --word_timestamps True \
  --output_format json --output_dir .
# luego ejecutar align-captions.mjs con --words voiceover.json (misma forma)

Whisper malinterpreta las representaciones TTS ("gee-sap" → "gsap", "heyjen" → "hey Jen", etc.) — los subtítulos siguen usando la ortografía DISPLAY de script-tokens.json; whisper solo proporciona las marcas de tiempo. align-captions.mjs maneja la unión. Esta alternativa es la diferencia entre una compilación con subtítulos y una silenciosamente sin subtítulos.

5 · Construcción

Seguir references/build-spec.md al pie de la letra: tokens de marca + fuentes (incluidas en <SKILL_DIR>/assets/), la codificación del fondo animado, el scaffold de escena, el cromo, el carril de subtítulos, un momento de verde restringido por escena. Luego el orden de la doctrina: ledger.json (todas las costuras ordinarias cut-the-curve IZQUIERDA) → seam-stamp → compases internos en palabras VO → verificación seam-gate.

Los subtítulos no son opcionales. El scaffold maestro incluye una IIFE de carril de subtítulos que lee un array LINES — dejar ese array vacío es un error de envío, no una elección de estilo. Poblarlo desde captions.json antes de proceder al paso 6:

// pegar en lugar de "const LINES = /* … */ []" en la IIFE del carril de subtítulos:
const LINES = /* contenido de captions.json */ [
  { id: 0, end: 2.74, w: [["This", 0.0], ["week,", 0.30], …] },
  …
];

Si se omite align-captions.mjs o LINES está [], la verificación de fotogramas en el paso 6 fallará — no lo encubras eliminando #cap-line del scaffold.

6 · Compuertas (todas en verde antes de presentar)

  1. node packages/cli/bin/hyperframes.mjs check --caption-zone "x0=0;y0=.90;x1=1;y1=1;severity=error;seek=.02,.06,.10,.14,.18,.22,.26,.30,.34,.38,.42,.46,.50,.54,.58,.62,.66,.70,.74,.78,.82,.86,.90,.94,.98" (o la CLI hyperframes instalada de la skill skills/hyperframes-cli/ local del repositorio) — 0 errores (contraste: texto tenue ≥ .66 alpha; el contenido de la escena se mantiene por encima del carril de subtítulos). NO uses npx hyperframes@latest; la CLI local del repositorio es la fuente de verdad para el contrato de composición que esta skill produce.
  2. seam-gate.mjs verify — 0 fallos.
  3. Reiniciar el servidor de vista previa (almacena en caché el bundle), verificar 3-4 compases mediante __player.seek en la página de composición sin procesar.
  4. NO renderizar a menos que el usuario lo solicite. Después de una renderización solicitada, verificar fotogramas del MP4 (ffmpeg -ss <t> … -frames:v 1): subtítulos presentes, video de fondo no negro, sin fotogramas pequeños/congelados.
  5. Compuerta de presencia de subtítulos — fallo grave. Muestrear 3-4 fotogramas distribuidos a lo largo de la ventana hablada del VO (ej. t=3, t=15, t=30, t=42 para un VO de 48s) y confirmar que el carril de subtítulos en top: 990 renderiza texto visible en cada uno. Si algún fotograma en un intervalo hablado carece de subtítulos, la compilación se envía sin subtítulos — tratarlo como una compuerta roja y volver a verificar la población de LINES del paso 5. Esto es exactamente lo que salió mal en la compilación de Jul 13-20 v4.

Diseño del proyecto

projects/active/weekly-changelog-<rango>/
├── index.html            # documento maestro único (escenas como diapositivas, costuras selladas)
├── ledger.json           # libro mayor de vectores (entrada de seam-stamp)
├── script-tokens.json    # guion de dos capas (fuente de verdad para VO + subtítulos)
├── vo-spoken.txt         # generado: capa hablada, una línea
├── voiceover.mp3 + vo-words.json + captions.json
├── bgm.mp3               # copia de <SKILL_DIR>/assets/bgm.mp3 (la pista principal) a menos que el usuario proporcione una
└── assets/fonts/ + assets/bg-pattern-<dur>s.mp4

Anti-patrones

No hacerEn su lugar
Diapositivas con viñetas para cambios de interfazHacer un mock de la superficie representando el cambio
Interfaz falsa para elementos no representablesEscena honesta de lista de verificación
"JSON"/"CLI" simple en el texto de TTSFormas habladas del léxico; la pantalla mantiene el estándar
Ortografías fonéticas en los subtítulosLos subtítulos siempre renderizan la capa de pantalla
Adivinar la pronunciación de un término desconocidoPreguntar, luego ampliar el léxico
Hablar cada elemento del changelog≤3 por tema; el enlace del resumen lleva el resto
Acentos verdes en todas partesUn momento verde por escena (#5ef17c)
Comenzar desde el index.html de un video anteriorPaso 0 — copiar examples/master-skeleton.html de esta skill en project/index.html, siempre
@font-face / shader WebGL / BGM personalizado hecho a manoPaso 0 — copiar los assets/ de esta skill textualmente; los activos de la skill SON la marca
Entregar sin invalidación de CloudFrontEjecutar aws cloudfront create-invalidation en la distribución E2BSLVSZ7FG3U0 para la ruta exacta después de cualquier reemplazo en S3 — de lo contrario, la CDN almacena en caché el archivo anterior
Enviar con el array LINES vacío en el scaffoldEl paso 4 debe producir un captions.json poblado; el paso 5 debe pegarlo en la IIFE; la compuerta 5 del paso 6 debe confirmar subtítulos en los fotogramas renderizados. Un LINES vacío = envío sin subtítulos = rehacer la ejecución
No tener vo-words.json → omitir subtítulos y enviar igualRecurrir a la alineación forzada de whisper en el audio producido; los subtítulos no son opcionales

Individual skills in this repo

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

Alemoterani/auto-edit-hyperframes

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.

Alemoterani/auto-edit-hyperframes

The technique catalog: five velocity-matched SEAMS (zoom-through, INVERSE zoom-through, cut-the-curve, waterfall cut, rack-focus blur-cut) plus the two in-scene techniques — waterfall ENTRY (staggered arrival cascades for title cards / segment openers) and the nudge curve (slow-fast-slow three-phase group slides). Covers partial-travel (~12% of frame) velocity matching via mirrored power4 eases, the Z scale-sign rule, size-scaled blur (10px text / 18-20px full-frame), word-by-word staggered cuts, cascade pacing by element weight, and the 10/65/25 slide ratio. Read before authoring any transition, text-beat handoff, kinetic text entry, or group reposition. [depth, zoom, inverse-zoom, scale-sign, mirrored-zoom, rack-focus, pacing, velocity, cut-the-curve, waterfall, stagger, cascade, kinetic-text, title-card, segment-opener, nudge, slide, easing, group-motion, z-depth, motion-graphics, cinematic, transition, blur, directional-continuity]

Alemoterani/auto-edit-hyperframes

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]

Alemoterani/auto-edit-hyperframes

House-style oversized macOS cursor technique for HyperFrames launch videos. Load whenever a scene involves cursors or a pointer-led action, when kicking off a UI scene, when igniting a morph/transition/typing run with a click, or when a scene reads as static, dead, or stale and needs a cheap high-yield source of motion to carry the viewer's eye and segment them out of the stale state. Covers cursor size/look (incl. brand-motif cursors), the off-screen entry law, tip-targeting and the click tap, click-ignites-the-next-beat, and exit / cross-scene handoff.

Alemoterani/auto-edit-hyperframes

Render-correctness doctrine for scene-to-scene seams in HyperFrames launch videos — the prerequisites that make transitions composite correctly on the master timeline. Load when assembling the master timeline / index.html, when a white flash appears at a cut or crossfade seam (especially on dark films), when reasoning about why a transition opacity dip shows through, or when verifying the render-side mechanics of how overlapping scene wrappers blend. Covers the opaque stage-ground (#root background) white-flash guard and how the injector overlaps wrappers, holds final frames, ping-pongs tracks, and stamps lint-clean template code onto the master timeline. Does NOT contain the per-transition catalog — see the transition registry for individual transition entries.

Alemoterani/auto-edit-hyperframes

Leaves sweep through the frame and part to reveal the headline. HyperFrames block, 1920×1080, 12s, 11 variables.

Alemoterani/auto-edit-hyperframes

A tiled headline surface flips cell by cell under a sweeping depth field to reveal the rear headline. HyperFrames block, 1920×1080, 8s, 18 variables.

Alemoterani/auto-edit-hyperframes

A chain of bevelled cuboids rides a travelling wave as a content carousel. HyperFrames block, 1920×1080, 6.666666666666667s, 40 variables.

Alemoterani/auto-edit-hyperframes

An orbiting camera follows an ice logo as it breaks apart, reforms into two text moments, and fades. HyperFrames block, 1920×1080, 22.5s, 216 variables.

Alemoterani/auto-edit-hyperframes

Glass shards fly in through fog and tile themselves into the headline. HyperFrames block, 1920×1080, 12.16s, 19 variables.

Alemoterani/auto-edit-hyperframes

A single feature card orbits a dot sphere on approved Blender camera motion. HyperFrames block, 1920×1080, 10s, 4 variables.

Alemoterani/auto-edit-hyperframes

A wireframe portal bursts open, the title comes through, then its letters swap into a second phrase. HyperFrames block, 1920×1080, 8s, 9 variables.

Alemoterani/auto-edit-hyperframes

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.

Alemoterani/auto-edit-hyperframes

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.

Alemoterani/auto-edit-hyperframes

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.

Alemoterani/auto-edit-hyperframes

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.

Alemoterani/auto-edit-hyperframes

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.

Alemoterani/auto-edit-hyperframes

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

Alemoterani/auto-edit-hyperframes

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.

Alemoterani/auto-edit-hyperframes

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.

Skills relacionados