Communitygithub.com

starter-nextjs (Animação HyperFrames)

Todo o conhecimento de animação para HyperFrames — regras atômicas de movimento, modelos de cena multifase, transições de cena, técnicas mais amplas de motion design E os sete adaptadores de runtime (GSAP padrão, mais Lottie, Three.js, Anime.js, keyframes CSS, Web Animations API, TypeGPU). Use para qualquer tarefa de movimento ou animação: escolha 2 a 4 regras e componha, ou carregue um modelo, ou consulte a API específica do runtime (por exemplo, eases do GSAP / player Lottie / mixer Three.js). Nativo do HyperFrames: timeline única pausada, segura para seek, determinística.

O que é starter-nextjs (Animação HyperFrames)?

O skill HyperFrames Animation centraliza todo o conhecimento de animação para o ecossistema HyperFrames, oferecendo regras atômicas de movimento, modelos de cena multifase, transições entre cenas, técnicas avançadas de motion design e sete adaptadores de runtime (GSAP, Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API e TypeGPU/WebGPU). Ele permite que o agente de IA crie animações de forma eficiente ao compor 2 a 4 regras atômicas em uma única timeline GSAP pausada, ou carregue blueprints pré-projetados para coreografias complexas. O skill é projetado para ser determinístico e seguro para seek, evitando aleatoriedade e medições de tempo não controladas. Suporta múltiplos runtimes em uma mesma composição, registrando instâncias para que o HyperFrames possa sincronizar todas elas em um único passo. Inclui scripts para auditoria de animações e é complementado por skills como hyperframes-core, hyperframes-creative e hyperframes-cli para desenvolvimento completo.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/1345AbhishekKumar/starter-nextjs/tree/HEAD/.agents/skills/hyperframes-animation

Perguntar na sua IA favorita

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

Documentação

Animação HyperFrames

Todo o conhecimento de movimento em um skill: regras (receitas atômicas), blueprints (modelos de cena multifase), transições (cena a cena), técnicas (padrões mais amplos de motion design) e adaptadores (APIs por runtime).

Para o contrato de composição (atributos de dados, subcomposições, determinismo), veja hyperframes-core.

Padrão: compor regras atômicas

Escolha 2 a 4 regras de rules-index.md, conecte-as com uma única timeline GSAP pausada e pronto. Isso é mais rápido e produz menos código do que começar com um blueprint.

Carregue um blueprint quando

  • A cena corresponde a um modelo multifase pré-projetado existente (revelação de marca, prova social, etc.) e reutilizar seu pipeline de fases economiza tempo real de criação
  • Você deseja um código de referência executável para uma coreografia complexa de 4 a 5 fases

Os blueprints estão em blueprints-index.md. Cada entrada aponta para blueprints/<id>.md (receita). Não o leia especulativamente; carregue-o quando já tiver decidido que precisa de orquestração a nível de cena.

Roteamento

O que deseja…Leia
Escolher um padrão de movimento atômico por gatilho/etiquetarules-index.md
Ler a receita completa HTML / CSS / GSAP de uma regrarules/<nome>.md
Escolher um modelo de cena multifaseblueprints-index.md
Ler a receita completa de um blueprintblueprints/<id>.md
Criar uma transição de cena (orientada por CSS, entre dois clipes)transitions/overview.md, transitions/catalog.md
Consultar uma técnica mais ampla de motion designtechniques.md
Analisar o mapa de animação de uma composição existentescripts/animation-map.mjs
API GSAP — timeline / tweens / parâmetros de posiçãoadapters/gsap.md
GSAP — receitas de efeitos prontos para usorules/gsap-effects.md
GSAP — transformações / desempenhoadapters/gsap-transforms-and-perf.md
GSAP — eases / staggeradapters/gsap-easing-and-stagger.md
GSAP — timeline / rótulosadapters/gsap-timeline-and-labels.md
Lottie / dotLottie (exportações do After Effects, window.__hfLottie)adapters/lottie.md
Three.js / WebGL (cenas 3D, AnimationMixer, hf-seek)adapters/three.md
Anime.js (window.__hfAnime)adapters/animejs.md
Keyframes CSS (animation-delay / play-state / fill-mode)adapters/css-animations.md
Web Animations API (element.animate(), busca por currentTime)adapters/waapi.md
TypeGPU / WebGPU (navigator.gpu, WGSL, pipelines de computação)adapters/typegpu.md
HTML como textura + pós-efeito WebGL/GLSL (capturar DOM ao vivo via drawElementImage)adapters/html-in-canvas-patterns.md
Efeitos de animação de texto nomeados (24 IDs via skill externo animate-text)adapters/animate-text.md

Escolhendo um runtime

  • GSAP é o padrão para 95% do trabalho de movimento — abrange orquestração de timeline, transformações, easing, stagger. Todas as regras atômicas neste skill são baseadas em GSAP.
  • Lottie quando um ativo tem sua própria timeline pré-definida (normalmente exportações do After Effects).
  • Three.js para cenas 3D, movimento de câmera, visuais orientados por shaders.
  • Anime.js para tweening leve quando GSAP é exagerado.
  • CSS para motivos simples e repetitivos, decoração, brilho — sem custo de animação JavaScript.
  • WAAPI para keyframes nativos do navegador sem dependência do GSAP.
  • TypeGPU / WebGPU para canvases renderizados por GPU (partículas, vidro líquido, shaders personalizados).

Múltiplos runtimes podem coexistir em uma única composição. Cada um registra suas instâncias no global específico do runtime para que HyperFrames possa buscar todas elas em um único passo.

Restrições Críticas

Pré-requisito: hyperframes-core → Regras Inegociáveis (timeline única pausada, data-duration governa a duração, sem Math.random / Date.now / performance.now, sem repeat: -1, sem gsap.set em clipes de cenas posteriores, sem animação de display / visibility, sem construção de timeline dentro de async / setTimeout / Promise). Não repita aqui.

Acréscimos de criação de animação sobre o contrato do core:

  • Constantes de layout pré-calculadas — nunca derive posições de getBoundingClientRect() no momento do tween. Medições de DOM no momento do tween dessincronizam porque o renderizador amostra em paralelo; calcule coordenadas uma vez na configuração da composição e reutilize.
  • Movimento espacial usa apenas aliases de transformação do GSAP (x, y, scale, rotation). A lista de permissões do core também permite opacity / color / backgroundColor / borderRadius para tweens de propriedades não espaciais — mas nunca width / height / top / left para alterações de layout.

Scripts

node skills/hyperframes-animation/scripts/animation-map.mjs <diretorio-da-composicao> \
  --out <diretorio-da-composicao>/.hyperframes/anim-map

Lê cada timeline GSAP registrada em window.__timelines, enumera tweens, amostra bboxes, calcula flags e gera animation-map.json. Use-o para auditar coreografia (zonas mortas, consistência de stagger, avisos de ciclo de vida) após a criação.

Veja Também

  • hyperframes-core — estrutura da composição, atributos de dados, subcomposições, contrato de renderização determinística
  • hyperframes-creative — paletas, tipografia, narração, planejamento de batidas (direção criativa não relacionada a animação)
  • hyperframes-cli — npx hyperframes lint / validate / inspect / preview / render

Individual skills in this repo

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

1345AbhishekKumar/starter-nextjs

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-nextjs

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-nextjs

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-nextjs

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-nextjs

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-nextjs

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-nextjs

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-nextjs

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-nextjs

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-nextjs

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-nextjs

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-nextjs

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-nextjs

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.

Habilidades Relacionadas