Communitygithub.com

Drama2557/4RealDigital-Video-Studio

Use o ciclo de desenvolvimento da CLI HyperFrames: init, add, catalog, capture, lint, check, snapshot, compare, grade-compare, preview, play, present, beats, keyframes, renderização única ou em lote, publish, cloud, cloudrun, feedback, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, auth, tts e remove-background. Também usado para diagnosticar falhas de build ou render. validate, inspect e layout são aliases obsoletos; use check. Abrange renderização local, na nuvem HeyGen, AWS Lambda e Google Cloud Run.

O que é 4RealDigital-Video-Studio?

Esta skill define o ciclo de desenvolvimento completo da CLI HyperFrames, uma ferramenta de linha de comando para criar, revisar, testar e renderizar projetos de vídeo com composições modulares. Ela cobre desde a inicialização do projeto (`init`) até a renderização final em alta qualidade, passando por etapas de linting, verificação estática (`check`), captura de snapshots, pré-visualização do storyboard e da timeline final, e renderização em lote orientada por variáveis. A skill é útil porque centraliza fluxos de trabalho complexos de edição de vídeo em um único CLI, oferecendo feedback rápido durante a edição (`lint`), uma gate final de qualidade (`check`) e múltiplas opções de renderização (local, Docker, HeyGen Cloud, AWS Lambda, Google Cloud Run). Funciona com Node.js 22+ e FFmpeg, e fornece convenções para agentes e CI, como saída JSON, execução não interativa e gerenciamento de contexto via `preview --context --json`. A documentação enfatiza que cada comando tem uma referência obrigatória que deve ser lida antes da execução, garantindo que o desenvolvedor ou agente entenda completamente os parâmetros e efeitos de cada ação, incluindo padrões para relatar bugs e enviar feedback.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Drama2557/4RealDigital-Video-Studio/tree/HEAD/.agents/skills/hyperframes-cli

Perguntar na sua IA favorita

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

Documentação

CLI HyperFrames

Execute comandos como npx hyperframes ... a menos que as instruções do projeto forneçam um wrapper. Obedeça ao wrapper quando presente. O CLI requer Node.js 22 ou mais recente e FFmpeg.

Ciclo de desenvolvimento

  1. Scaffold: npx hyperframes init <projeto> ou capture um site. No modo não-TTY, passe --non-interactive --example=<nome>.
  2. Autor: escreva a composição usando /hyperframes-core.
  3. Obtenha feedback rápido enquanto edita: execute npx hyperframes lint após a primeira passagem em HTML e após mudanças estruturais.
  4. Execute a gate final: execute npx hyperframes check; ele reexecuta o lint antes de abrir o navegador. Não preceda com uma invocação de lint redundante. Adicione --snapshots para quadros de visão geral anotados e localização de cortes.
  5. Inspecione sub-composições: quando index.html montar data-composition-src, capture snapshots intermediários e inspecione cada cena montada.
  6. Abra a pré-visualização final do Studio: execute npx hyperframes preview, entregue a URL do projeto da timeline ao usuário e pergunte se deseja revisar ou renderizar.
  7. Renderize somente após aprovação: use qualidade rascunho para iteração e qualidade alta para entrega.
  8. Verifique a saída: confirme que o arquivo existe, não está vazio e tem uma duração plausível.
# Verificação rápida de iteração; repita durante a autoria conforme necessário.
npx hyperframes lint

# Gate final obrigatória; inclui lint.
npx hyperframes check
npx hyperframes preview
npx hyperframes render --quality high --output out.mp4
test -s out.mp4
ffprobe -v error -show_format out.mp4

check executa lint primeiro, depois usa uma sessão de navegador e uma passagem de busca para auditar erros de tempo de execução, requisições com falha, layout, asserções de *.motion.json e contraste WCAG. Achados persistentes bloqueiam o código de saída; achados transitórios de entrada ou saída são informativos. Use --strict para bloquear avisos. validate, inspect e layout permanecem como aliases para compatibilidade, mas não devem aparecer em novas instruções ou scripts.

Duas superfícies de pré-visualização diferentes

Não confunda estes estados:

SuperfícieQuando pode abrirPropósito
Quadro de storyboardAntes das verificações de composição, somente se storyboard: yesRevisar cartões de plano e esboços wireframe. Abrir ?view=storyboard#project/<nome>.
Pré-visualização final da composiçãoApós o check passarRevisar a timeline montada antes de renderizar. Abrir #project/<nome>.

O quadro inicial não é aprovação do vídeo final. A renderização sempre requer a aprovação final definida por hyperframes-core/references/review-loop.md.

Teste de fumaça de sub-composição

Auditorias estáticas não conseguem capturar todas as falhas de montagem. Quando o projeto usa sub-composições, capture ao menos um ponto intermediário visível para cada slot hospedeiro:

npx hyperframes snapshot --at <t1>,<t2>,<t3>

Trate conteúdo pequeno sem estilo, ícones do tamanho do canvas, elementos de herói ausentes ou timeouts de registro de timeline como defeitos de montagem que bloqueiam a renderização. Veja hyperframes-core/references/sub-compositions.md para as correções correspondentes.

Convenções para agentes

  • Prefira --json para chamadas de agente e CI. render, preview e play em modo servidor não fornecem saída JSON comum; preview --selection --json e preview --context --json são exceções de modo consulta.

  • doctor --json sempre sai com zero. Avalie com base em seu payload:

    npx hyperframes doctor --json | jq -e '.ok' >/dev/null
    
  • O modo não-TTY é automático. init requer --example lá; use --non-interactive para forçar comportamento determinístico em um TTY.

  • Use um único HYPERFRAMES_RUN_ID para todos os comandos no mesmo loop de verificação.

  • Use --strict, --strict-all e --strict-variables quando os avisos, variáveis ou condições de CI correspondentes devem bloquear a renderização.

  • Caminhos JSON redigem o diretório home como $HOME; não tente reverter a redação.

  • Nunca renderize apenas porque as verificações passaram. Pause na pré-visualização final e aguarde aprovação.

Edições orientadas pelo Studio

Quando o usuário se referir a “este elemento” ou à seleção atual, consulte o Studio em vez de adivinhar:

npx hyperframes preview --context --json --context-fields selection

Use selection.target.hfId quando disponível, caso contrário, seu seletor e arquivo de origem. Se o resultado relatar no-selection, peça ao usuário para clicar no elemento e reexecutar. Solicite apenas as fatias de contexto que você precisa; use --context-detail full apenas para estilos computados ou metadados de texto editável. Comportamento completo e códigos de falha estão em references/preview-render.md.

Opções de renderização

NecessidadeComando
Iteração local rápidanpx hyperframes render --quality draft
Entrega final localnpx hyperframes render --quality high --output out.mp4
Renderização em contêiner reproduzívelnpx hyperframes render --docker --strict --output out.mp4
Renderização em lote orientada por variáveisnpx hyperframes render --batch rows.json --output "renders/{name}.mp4"
Renderização HeyGen sem infraestruturanpx hyperframes cloud render
Renderização AWS distribuída autogerenciadanpx hyperframes lambda render <projeto> --width 1920 --height 1080 --wait
Renderização GCP distribuída autogerenciadanpx hyperframes cloudrun render <projeto> --width 1920 --height 1080 --wait

Use renderização em nuvem quando o usuário quiser renderização hospedada sem Chrome local, FFmpeg ou AWS. Use Lambda apenas quando a propriedade da AWS for um requisito. Use Cloud Run apenas quando a propriedade do GCP for um requisito. Leia a referência correspondente antes de executar qualquer caminho de nuvem.

Após verificar uma renderização bem-sucedida, envie um relatório de feedback, a menos que a telemetria esteja desabilitada ou o usuário tenha optado por sair:

npx hyperframes feedback --rating <0-10> --comment "<resultado ou dificuldade específica>"

Mantenha o feedback de execução limpa conciso. Para qualquer bug ou dificuldade, capture um pacote de reprodução antes de enviar; não envie apenas um resumo de sintoma. Inclua o comando reexecutável e diretório de trabalho, comportamento esperado versus real, erro exato, se a saída foi concluída/usou fallback/ falhou, workaround e status do projeto de reprodução. Para uma classificação ≤ 7 que descreva um defeito visual (quadro preto, cintilação, saída corrompida, quadro errado, saída em branco, outra anomalia visual), inclua também um bloco COMPOSITION_STRUCTURE: — uma anatomia estrutural que preserva a privacidade (censo de elementos + presença de atributos + formato da timeline) para que mantenedores possam corresponder a famílias de bugs conhecidas sem o ZIP da composição. Agentes preenchem isso automaticamente via o helper de censo de composição; o usuário humano não preenche manualmente. Se o problema não se reproduziu novamente, diga isso e ainda inclua o último comando e logs com falha. Use --file-issue apenas com consentimento: ele publica uma reprodução mínima em uma URL pública. O formato obrigatório do pacote e aviso de privacidade estão em references/preview-render.md.

Leia a referência correspondente antes de executar um comando

As seguintes referências e skills proprietárias são contratos de comando obrigatórios, não leitura de fundo opcional. Antes de executar um comando na tabela, leia sua linha correspondente.

NecessidadeReferência
init, capture, skillsreferences/init-and-scaffold.md
lint, check, sidecars de movimento, snapshotreferences/lint-validate-inspect.md
compare, grade-compare, render --batch orientado por variáveisreferences/compare-and-batch.md
beats para a grade de batidas do Studio de um projeto existentereferences/beats.md
preview, play, render, publish, contexto do Studio, feedbackreferences/preview-render.md
doctor, gerenciamento de navegadorreferences/doctor-browser.md
auth, renderização em nuvem HeyGen e variáveis de templatereferences/cloud.md
Implantação e renderização no AWS Lambdareferences/lambda.md
Implantação e renderização no Google Cloud Runreferences/cloudrun.md
info, upgrade, compositions, docs, benchmark, telemetria, pré-processamento de mídiareferences/upgrade-info-misc.md

Para variáveis de composição, leia também /hyperframes-core → references/variables-and-media.md. Para hyperframes add e hyperframes catalog, use /hyperframes-registry. Antes de hyperframes present, leia /slideshow; antes de hyperframes keyframes, leia /hyperframes-keyframes. Para TTS, transcrição, legendas ou opções de remoção de fundo, use /media-use.

Os comandos especializados são deliberadamente documentados por seus fluxos de trabalho proprietários:

npx hyperframes present <dir-projeto> --port 3004 --no-open
npx hyperframes beats <dir-projeto> --json
npx hyperframes keyframes <dir-projeto> --json

present serve um deck navegável com sincronização de apresentador e audiência. beats é o utilitário independente de grade de batidas do Studio definido em references/beats.md. keyframes expõe diagnósticos de animação e caminho de movimento seguros para busca.

Individual skills in this repo

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

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

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]

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

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. Also covers Tailwind projects and the STORYBOARD.md / SCRIPT.md plan formats. Read before writing composition HTML.

Drama2557/4RealDigital-Video-Studio

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

Drama2557/4RealDigital-Video-Studio

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

Drama2557/4RealDigital-Video-Studio

Agent Media OS, the single skill for every media need in a HyperFrames project. Resolve BGM, SFX, image, icon, brand logo, voice, color grade, or LUT into a frozen local file or paste-ready block + ledger record (one verb, `resolve`); generate via TTS / music / image models when the catalog misses; produce voiceover, transcription, captions, and background removal through one shared audio engine; operate on media (cut / reframe / transform); and reuse assets across projects. Also use for vague feedback that real footage looks dark, flat, boring, should feel retro/camcorder/print/ASCII, needs privacy, or needs a media reveal.

Drama2557/4RealDigital-Video-Studio

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]

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

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.

Drama2557/4RealDigital-Video-Studio

Author a HyperFrames slideshow — a presentation, pitch deck, or interactive deck with discrete slides, fragment reveals, branching, hotspot navigation, and built-in presenter mode with speaker notes; also converts an existing page into a deck. Output is a navigable deck, not a rendered MP4. If the user didn't explicitly ask for a slideshow, confirm before authoring. Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

Package an existing talking-head / interview / podcast video with timed, designed GRAPHIC OVERLAY cards — kinetic titles, lower-thirds, data callouts, quotes, side panels, picture-in-picture — synced to the transcript, on a 16:9 / 9:16 / 4:5 canvas of your choice; the clip plays untouched underneath. Trigger on "graphic overlays", "on-screen graphics", "package / dress up my video". Not plain subtitles (/embedded-captions). Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

Agent skill / project related to launch or product demo video: Drama2557/4RealDigital-Video-Studio

Habilidades Relacionadas