Communitygithub.com

Alemoterani/auto-edit-hyperframes

Transforme um changelog .md semanal em um vídeo de changelog finalizado com marca (quadrado 1080, ~45-60s, narração Annie, fundo animado com marca, visualizações mock de UI, legendas discretas). Use quando o usuário fornecer um changelog/digest markdown e quiser o vídeo semanal, ou disser "vídeo de changelog". Autossuficiente — fontes, fundo, léxico e scripts estão incluídos nesta skill.

O que é auto-edit-hyperframes?

Esta skill converte automaticamente changelogs semanais em vídeos de changelog com marca, no estilo HyperFrames. Ela é projetada para desenvolvedores e criadores de conteúdo que desejam transformar notas de versão em vídeos envolventes, com visualizações animadas da interface do usuário, narração profissional (voz Annie) e legendas sincronizadas. Suporta plataformas como Claude Code, Cursor e Codex, e segue um pipeline rigoroso: bootstrap do projeto a partir dos assets da skill, análise do changelog, roteirização em duas camadas (falada vs. exibida), geração de voz via HeyGen, alinhamento de legendas, e construção do projeto HTML/CSS/JS. A skill impõe gates de qualidade (verificação de legendas, contraste, e ausência de erros) antes de permitir a renderização. A chave do processo é a "diretriz principal": visualizar, não listar — cada tema deve ser ilustrado com um mock animado da interface real, e não com bullets de texto. A skill é autossuficiente, incluindo fontes, fundo animado, léxico de pronúncia e scripts de alinhamento de legendas, garantindo consistência de marca e qualidade profissional em cada vídeo.

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

Perguntar na sua IA favorita

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

Documentação

Changelog → Vídeo com Marca

Entrada: um changelog .md (temas + itens, como o digest semanal do HyperFrames). Saída: um projeto HyperFrames limpo, com gate de emenda verde, em projects/active/weekly-changelog-<range>/. Renderize apenas quando solicitado.

Carregue primeiro, sem negociação: motion-doctrine (+ cut-the-curve, oversized-cursor se um cursor aparecer, seam-craft) e captions-overlay. Esta skill fornece o pipeline específico para changelog; a doutrina fornece a lei do movimento.

A diretriz principal: visualize, não liste

Cada tema é ilustrado por um mock animado da UI real ou de um análogo fiel representando a mudança na experiência — nunca bullets de texto. Roteie cada tema/item por references/visualization-registry.md ANTES de escrever o roteiro; o registro decide ui-recreate / ui-analog / terminal / checklist. Checklist de texto é o ÚLTIMO recurso, reservado para itens genuinamente não visuais (listas de correções de confiabilidade).

Pipeline

0 · Inicialize o projeto a partir dos assets DESTA skill — sem negociação

Faça isso antes de escrever qualquer HTML de composição. Pular esta etapa sempre produz um vídeo que se parece com um projeto similar que você construiu antes, NÃO com a marca desta skill — esse é o erro mais comum que faz a skill sair da marca. Os assets, fontes e esqueleto da skill são a skill; o prompt SKILL.md é um roteador.

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

Em seguida, leia references/build-spec.md do início ao fim (sem pular) — ele define os tokens de marca (TT Norms Pro + ABC Solar Display + TT Norms Mono, creme #f5f6f4, verde racionado #5ef17c, cartões de vidro com bordas verde-tinta, formato de pílula kicker/sec-chip, trilho de legendas de 32px em top: 990) que cada cena herda do esqueleto.

SÓ ENTÃO comece os passos 1-6 abaixo. Os passos 1-4 (analisar, rotear, roteirizar, VO) planejam o que vai no esqueleto; o passo 5 preenche placeholders (<RANGE>, <TOTAL>, <CUT_N>, <DUR_N>, corpos das cenas) dentro do project/index.html já copiado — você NÃO reescreve o cromado, fontes, paleta ou layout do esqueleto.

Se você se pegar usando cp em um index.html de vídeo anterior, ou escrevendo suas próprias declarações @font-face, ou projetando um fundo shader WebGL em vez de usar o bg-pattern MP4 codificado acima: PARE. Delete o index.html atual e recomece no cp do esqueleto mestre. Reconstruir o conteúdo da cena no esqueleto correto é mais barato do que adaptar a marca ao esqueleto errado.

1 · Análise + corte editorial

  • Extraia: intervalo da semana, estatísticas principais (releases, commits), temas, itens.
  • Orçamento: 45-60s no total. Título ≤2s, encerramento ≤3.5s, 4 temas ≈ 9-12s cada.
  • Por tema, mantenha UMA visualização herói + no máximo 3 itens falados. Todo o resto existe apenas como o ponteiro do "digest completo" no encerramento. Cortar é o trabalho: um changelog com 30 itens ainda produz ≤14 batidas faladas.
  • Ordene os temas por história: funcionalidade principal → superfície do produto → performance → confiabilidade (o digest geralmente já vem assim).

2 · Roteamento de visualização

Para cada tema, escolha a superfície de references/visualization-registry.md e escreva uma linha: tema → superfície → as 2-4 ações sequenciadas que o mock executa, cada uma amarrada a uma frase do roteiro. Se nenhuma superfície do registro se encaixar e nenhum análogo fiel existir, é uma cena de checklist — não invente UI falsa para algo que não podemos representar honestamente.

3 · Roteiro de duas camadas (falado vs. exibido)

Escreva o roteiro como linhas de token por references/script-voice.md: registro conversacional, cada termo técnico carregando uma forma fonética spoken de references/lexicon.json enquanto display mantém a grafia padrão. As legendas mostram display; a VO lê spoken. Qualquer termo que não esteja no léxico: PARE e pergunte ao usuário como se pronuncia, então adicione ao léxico. Salve como script-tokens.json no projeto.

4 · VO — Annie (HeyGen, fixada)

# Apenas texto da camada falada; words JSON = timestamps de referência do texto FALADO
# Caminho nativo do repositório: a skill changelog-video roda da raiz do repositório hyperframes,
# então usa o helper TTS hyperframes-media rastreado diretamente (sem `npx hyperframes
# skills install`). Se você copiou a skill para outro repositório, substitua pelo
# seu próprio caminho para o 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 (não substitua)

Requer CLI heygen ≥0.3.0 autenticada (heygen auth login --oauth). Em seguida, alinhe os timestamps falados de volta aos tokens de exibição:

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

captions.json é a entrada do trilho de legendas (grafia de exibição, tempo falado). O alinhador imprime avisos MISMATCH — resolva cada um antes de construir (geralmente uma grafia do léxico que o TTS renderiza como várias palavras). O áudio é o relógio: todos os tempos das batidas vêm de vo-words.json; uma regeração de VO reabre toda emenda.

Os timings de palavras são um gate rígido. Antes de prosseguir para o passo 5, verifique se vo-words.json não está vazio e tem um array words: [...] com start/end por palavra. Se estiver vazio (0 bytes) ou faltando o array — um modo de falha conhecido quando o provedor TTS retorna áudio mas sem payload de timestamps — NÃO prossiga sem eles. Plano B: faça alinhamento forçado do áudio produzido contra o roteiro de exibição usando whisper local:

uvx --from openai-whisper whisper voiceover.mp3 \
  --model base.en --language en --word_timestamps True \
  --output_format json --output_dir .
# então execute align-captions.mjs com --words voiceover.json (mesma forma)

Whisper interpreta mal renderizações TTS ("gee-sap" → "gsap", "heyjen" → "hey Jen", etc.) — as legendas ainda usam a grafia DISPLAY de script-tokens.json; whisper fornece apenas os timestamps. align-captions.mjs lida com a junção. Este plano B é a diferença entre uma construção legendada e uma silenciosamente sem legendas.

5 · Construção

Siga references/build-spec.md exatamente: tokens de marca + fontes (incluídas em <SKILL_DIR>/assets/), a codificação do fundo animado, esqueleto da cena, cromado, trilho de legendas, um momento de verde racionado por cena. Em seguida, a ordem da doutrina: ledger.json (todas as emendas comuns cut-the-curve LEFT) → seam-stamp → batidas internas nas palavras da VO → verificação seam-gate.

Legendas são obrigatórias. O esqueleto mestre vem com uma IIFE de trilho de legendas que lê um array LINES — deixar esse array vazio é um bug enviado, não uma escolha de estilo. Popule-o de captions.json antes de prosseguir para o passo 6:

// cole no lugar de "const LINES = /* … */ []" na IIFE do trilho de legendas:
const LINES = /* conteúdo de captions.json */ [
  { id: 0, end: 2.74, w: [["This", 0.0], ["week,", 0.30], …] },
  …
];

Se align-captions.mjs foi pulado ou LINES está [], a verificação do quadro no passo 6 falhará — não encubra removendo #cap-line do esqueleto.

6 · Gates (tudo verde antes de apresentar)

  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" (ou a CLI hyperframes instalada da skill skills/hyperframes-cli/ local do repositório) — 0 erros (contraste: texto escuro ≥ .66 alpha; conteúdo da cena fica acima do trilho de legendas). NÃO use npx hyperframes@latest; a CLI local rastreada do repositório é a fonte da verdade para o contrato de composição que esta skill produz.
  2. seam-gate.mjs verify — 0 falhas.
  3. Reinicie o servidor de pré-visualização (ele armazena em cache o bundle), verifique 3-4 batidas via __player.seek na página de composição bruta.
  4. NÃO renderize a menos que o usuário peça. Após uma renderização solicitada, verifique quadros do MP4 (ffmpeg -ss <t> … -frames:v 1): legendas presentes, vídeo de fundo não preto, sem quadros minúsculos/congelados.
  5. Gate de presença de legendas — falha grave. Amostre 3-4 quadros distribuídos pela janela falada da VO (ex.: t=3, t=15, t=30, t=42 para uma VO de 48s) e confirme que o trilho de legendas em top: 990 renderiza texto visível em cada um. Se qualquer quadro em um intervalo falado estiver sem legendas, a construção envia sem legendas — trate como um gate vermelho e verifique novamente a população de LINES do passo 5. Isso é exatamente o que deu errado na construção de 13 a 20 de julho v4.

Layout do projeto

projects/active/weekly-changelog-<range>/
├── index.html            # mestre de documento único (cenas como slides, emendas carimbadas)
├── ledger.json           # ledger vetorial (entrada do seam-stamp)
├── script-tokens.json    # roteiro de duas camadas (fonte da verdade para VO + legendas)
├── vo-spoken.txt         # gerado: camada falada, uma linha
├── voiceover.mp3 + vo-words.json + captions.json
├── bgm.mp3               # cópia de <SKILL_DIR>/assets/bgm.mp3 (a faixa base), a menos que o usuário forneça uma
└── assets/fonts/ + assets/bg-pattern-<dur>s.mp4

Anti-padrões

Não façaEm vez disso
Slides com bullet points para mudanças de UICrie um mock da superfície executando a mudança
UI falsa para itens não representáveisCena de checklist honesta
"JSON"/"CLI" puros no texto TTSFormas faladas do léxico; exibição mantém o padrão
Grafias fonéticas nas legendasLegendas sempre renderizam a camada de exibição
Adivinhar a pronúncia de um termo desconhecidoPergunte e então aumente o léxico
Falar de todos os itens do changelog≤3 por tema; o link do digest carrega o resto
Acentos verdes em toda parteUm momento verde por cena (#5ef17c)
Começar de um index.html de vídeo anteriorPasso 0 — copie examples/master-skeleton.html desta skill para project/index.html, sempre
@font-face artesanal / shader WebGL / BGM customizadoPasso 0 — copie os assets/ desta skill literalmente; os assets da skill SÃO a marca
Entregue sem invalidação do CloudFrontExecute aws cloudfront create-invalidation na distribuição E2BSLVSZ7FG3U0 para o caminho exato após qualquer substituição no S3 — o CDN armazena em cache o arquivo antigo caso contrário
Enviar com o array LINES vazio no esqueletoO passo 4 deve produzir um captions.json populado; o passo 5 deve colá-lo na IIFE; o passo 6 gate 5 deve confirmar legendas nos quadros renderizados. Um LINES vazio = envio sem legendas = refaça a execução
Sem vo-words.json → pular legendas e enviar mesmo assimRecorra ao alinhamento forçado com whisper no áudio produzido; legendas são obrigatórias

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.

Habilidades Relacionadas