Communitygithub.com

Vídeo → Página de Aterrissagem com Rolagem

Transforme qualquer vídeo em uma página de aterrissagem com rolagem cinematográfica, estilo Apple, onde a rolagem avança o quadro visível do vídeo.

O que é Vídeo → Página de Aterrissagem com Rolagem?

Esta skill permite que um agente de IA transforme qualquer arquivo de vídeo em uma página de aterrissagem cinematográfica com rolagem interativa, inspirada nos sites de produtos da Apple e no site do GitHub Copilot. O agente extrai automaticamente N quadros do vídeo usando ffmpeg e o script `extract-frames.py`, construindo um arquivo HTML auto-contido com um hero fixo (sticky) que troca o quadro visível conforme o usuário rola a página. A saída é uma pasta contendo `index.html` e um diretório `frames/`, pronta para ser implantada em qualquer serviço de hospedagem estática como Vercel, Netlify ou Cloudflare Pages, sem necessidade de build. A skill suporta personalização automática: para projetos YUV.AI, aplica o design system com modo Neon (pink/cyan/branco), enquanto para projetos genéricos escolhe uma paleta de cores adequada ao vídeo de origem. O resultado é uma página completa com seções de cabeçalho, tagline, texto e CTA abaixo do hero.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/hoodini/ai-agents-skills/tree/HEAD/skills/video-to-landing-page

Perguntar na sua IA favorita

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

Documentação

O que Vídeo → Página de Aterrissagem com Rolagem faz?

Crie uma página de aterrissagem cinematográfica onde o herói é um vídeo que toca na rolagem em vez do tempo — como as páginas de produto da Apple ou o site do GitHub Copilot. Os quadros são extraídos do vídeo de origem e trocados conforme o usuário rola; abaixo do herói fixo, seções normais de rolagem carregam texto e CTA.

Quando invocar

  • O usuário fornece um vídeo e pede uma página de aterrissagem, site de rolagem, herói com troca de quadros ou site a partir de um vídeo
  • Menções a "rolagem estilo Apple", "site do GitHub Copilot", "avanço na rolagem", "quadro na rolagem"
  • Equivalentes em hebraico: "דף נחיתה מסרטון", "אתר עם גלילה", "סרטון בגלילה"

Local de salvamento

Padrão: ~/Documents/yuv-projects/landings/<slug>/ — salve sempre as páginas de aterrissagem aqui para que você possa encontrá-las novamente. Crie o diretório pai se ele não existir.

mkdir -p ~/Documents/yuv-projects/landings
cd ~/Documents/yuv-projects/landings
# Construa <slug>/ aqui.

Caminho final: ~/Documents/yuv-projects/landings/<slug>/. Informe ao usuário onde a página de aterrissagem está localizada ao final de cada construção.


Fluxo de trabalho (8 etapas)

  1. Analise a origem — ffprobe para duração, fps, dimensões, áudio.
  2. Escolha a quantidade de quadros — padrão 80. Mínimo 40 (ficará irregular se menor), máximo 160 (página pesada). Escolha pela duração: ≤10s → 50, 10–30s → 80, 30–60s → 120, >60s → 160.
  3. Decida o diretório de saída — padrão ~/Documents/yuv-projects/landings/<slug>/. O <slug> é curto, derivado do nome do vídeo ou do tópico. Substitua apenas mediante solicitação explícita.
  4. Extraia os quadros — execute references/extract-frames.py <video-origem> <diretorio-saida> [quantidade]. Saída em diretorio-saida/frames/f_0001.jpg… com qualidade JPG consistente 82 e largura máxima de 1920 (reduzida se a origem for maior).
  5. Copie e personalize references/landing-template.html para diretorio-saida/index.html:
    • Substitua o marcador __FRAMES__ por tags <img> para cada quadro (o script de construção faz isso para você ao passar --build-html).
    • Preencha __HEADLINE__, __TAGLINE__, __CTA_TEXT__, __CTA_HREF__, seções.
    • Para conteúdo em hebraico: defina <html lang="he" dir="rtl"> e troque as fontes para Rubik/Assistant (veja references/design-notes.md).
  6. Otimize os quadros — o script de construção já redimensiona para largura máxima de 1920px. Se o peso total da página for > 12 MB, reduza a qualidade para 75 ou diminua a quantidade de quadros.
  7. Visualize — python -m http.server dentro do diretório de saída e abra http://localhost:8000. A rolagem fica suave em uma máquina decente.
  8. Implante — coloque a pasta no Vercel/Netlify/Cloudflare Pages. Nenhuma etapa de construção é necessária.

O mecanismo de rolagem

  • Altura do scroller externo .scroll-stage definida em unidades de viewport (padrão 600vh = rolar 5 telas para percorrer todos os quadros).
  • Herói fixo position: sticky; top: 0; height: 100vh contendo todos os quadros posicionados absolutamente e ocultos, exceto o ativo.
  • Listener de rolagem calcula progress = rolagemNoStage / alturaRolavel limitado entre 0 e 1.
  • idx = floor(progress * (N - 1)) — troca a classe .active para esse quadro.
  • Envolva o listener em requestAnimationFrame para manter 60fps.

Regras de design

  • Se o projeto for marcado como YUV.AI (Yuval pessoalmente, seu portfólio, sua marca): chame yuv-design-system e bloqueie em um modo por meio —
    • Modo Neon (PADRÃO para web YUV.AI): rosa choque (#FF1464) + ciano neon (#00E5FF) + branco ou preto rico. Anton + Inter (inglês) / Rubik + Assistant (hebraico). Raios 0px ou 999px.
    • Modo Editorial Quente: apenas para Hope, Marcus, bigcats.ai, practical.yuv.ai — rosa + amarelo + marfim, off-white nunca #fff puro.
    • Nunca use o modo Decks (roxo/amarelo Fly High) para uma página de aterrissagem — essa paleta é reservada apenas para slides.
  • Se o projeto não for marcado como YUV.AI: não aplique yuv-design-system. Escolha uma paleta que se adeque ao clima do vídeo de origem. Anton + Inter continuam sendo padrões razoáveis, mas não são obrigatórios.
  • Os overlays do herói devem ser sutis — uma vinheta e um único título grande; não afogue o quadro.
  • Seções abaixo do herói: canvas claro (branco no modo Neon, off-white no modo Editorial Quente, marfim se for genérico-quente), título grande em Anton, texto do corpo em Inter 18–22px, CTA como uma pílula afiada (border-radius: 999px) — preenchimento rosa no modo Neon, cor apropriada à marca caso contrário.
  • Para hebraico: respeite RTL, use Rubik 900 para títulos, Assistant 400/500 para corpo.

Referências de arquivos

ArquivoPropósito
references/extract-frames.pyExtrator de quadros baseado em ffmpeg; opcionalmente constrói o HTML completo de uma só vez
references/landing-template.htmlEsqueleto de página de aterrissagem auto-contida com o mecanismo de rolagem
references/design-notes.mdPadrões de tipografia, paleta e movimento

Individual skills in this repo

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

hoodini/ai-agents-skills

Edit any selfie or screen-share footage into a viral short-form video in YUV.AI's signature style — Apple-style liquid-glass cards (real CSS backdrop-filter), dark-mode polish, MrBeast-paced cuts, video-title karaoke captions, premium GSAP motion graphics, no fake content, never covering the speaker's face. Hebrew is rendered in Rubik Black, English in Anton uppercase. Always renders BOTH 9:16 and 16:9 and always saves with _V<N> suffix for backups. Trigger when the user drops a path to an .mp4/.mov/.mkv and says "edit this", "make it viral", "turn this into a short", or any Hebrew equivalent (ערוך סרטון, סרטון ויראלי, להפוך לוויראלי, ריל, שורט). The pipeline is the COMBINATION of two skills: video-use (transcription + word-snapped cuts + base extraction) and hyperframes (HTML/CSS/GSAP visual composition + render). Do NOT use for podcast-only audio edits.

hoodini/ai-agents-skills

Yuval Avidani's YUV.AI brand and design system. Apply ONLY when YUV.AI-branded output is requested — presentations, decks, keynotes, portfolio, brand site, profile, speaker bio, brand assets, or any prompt mentioning YUV.AI / "my brand" / "my deck" / "my site" / "for me". Do NOT auto-trigger on generic "build a game / web app / dashboard / landing page" without YUV.AI context — those use whatever palette fits. Three modes; NEON (hot pink #FF1464 + neon cyan #00E5FF + white, DEFAULT for YUV.AI web, apps, games, dashboards, social, general visual work); DECKS (Fly High purple/yellow/grey, presentations and slides ONLY); Warm Editorial (pink/yellow/bone for Hope, Marcus, bigcats.ai, practical.yuv.ai). Universal Fly High throughline across all modes; flight/progress motifs (HUD strips, dials, "Let's Fly High" tagline, phoenix mark). Anton + Inter (EN), Rubik + Assistant (HE), letter-spacing 0 default. Bundled brand assets, canonical socials, credentials. Project brand wins if specified.

hoodini/ai-agents-skills

Yuval's all-in-one AI video pipeline. Turns an idea/script into a finished, on-brand MP4 by orchestrating HyperFrames (HTML→deterministic video render), Lottie (branded motion graphics), ManimCE (math / neural-network / concept animations), and a transcribe→approve caption flow — all wrapped in the YUV.AI Neon Phoenix brand via a frame.md. Use whenever Yuval wants to make, edit, or explain something as a video: promo, explainer, launch, social reel, "make a video about X", "explain X as a video", "neural network animation", "turn this into a video", captioned tutorial, 16:9 or 9:16. Triggers: video, explainer, promo, reel, manim, lottie, hyperframes, animation, "make a video", "explain ... as a video", מצגת וידאו, סרטון, הסבר וידאו. Routes each beat to the right engine, wraps in brand, self-verifies, and renders.

hoodini/ai-agents-skills

Build a premium cinematic landing page with mouse-scrub video hero and brand-driven narrative-arc sections. Use whenever the user provides a hero video plus a product / subject / brand and wants a landing page, promo site, product showcase, marketing page, or storytelling site. Works for any language (RTL or LTR — Hebrew, English, Arabic, Spanish, French, Japanese, etc.) and any subject (food, tech, animals, fashion, services, SaaS, wildlife campaigns, music releases, books, real estate). The signature effect is mouse-driven video scrubbing — the hero video lives across the entire page as a fixed backdrop, and moving the mouse left-right scrubs the video timeline so the subject responds to the cursor. Below the hero, 4-5 fully-opaque sections each carry their own brand identity (color, typography emphasis, layout pattern) and walk the viewer through a narrative arc (e.g. longing → joy → nostalgia → contemplation → action). Triggers on phrases like "build a landing page from this video", "cinematic landing ...

hoodini/ai-agents-skills

Build a scroll-driven cinematic landing page from a short video. The user provides a 5–15 second video (often AI-generated); this skill extracts every frame at HD JPEG quality, then produces a single-hero HTML page where the user's scroll gesture scrubs the frames in place (the page itself never scrolls) and 5 dramatic text overlays crossfade in/out — Google Anton headlines, Caveat handwritten accents, locked body, virtual scroll. Use this skill whenever the user wants to "turn this video into a landing page", "make a scroll-scrub landing page", "build a parallax hero from this clip", "add a new landing page to the parasites showcase", "do the same as github/lion/hope for this new video", or any variant that pairs a short clip with dramatic scroll-triggered storytelling. Trigger even if the user only says "use my video for a landing page" — that is this skill.

hoodini/ai-agents-skills

Edit any video into a captioned showcase — transcribe (any language, defaults to large-v3), present a transcript_review.txt for the user to fix mishears BEFORE rendering, then build a HyperFrames composition with liquid-glass caption pills, liquid blob background, liquid morph wipes, optional behind-subject text via background removal, and render the final video. Use whenever the user provides a video file and asks to edit it, caption it, add subtitles, fix existing captions, make a reel/promo/captioned tutorial, or "do the same" pattern as a prior captioned video. Supports English, Hebrew, and any Whisper-supported language. **Renders both 16:9 (YouTube / horizontal) and 9:16 (TikTok / Instagram Reels / YouTube Shorts) from the SAME 16:9 source** — vertical mode uses a centered footage strip with a blurred backdrop + liquid blobs and a vertical-tuned caption pill, no need to re-shoot. THE PIPELINE PAUSES FOR USER APPROVAL on the transcript before final render — this is the support mechanism for getting ca...

hoodini/github-trending

Fetch and display GitHub trending repositories and developers. Use when building dashboards showing trending repos, discovering popular projects, or tracking GitHub trends. Triggers on GitHub trending, trending repos, popular repositories, GitHub discover.

hoodini/mongodb

Work with MongoDB databases using best practices. Use when designing schemas, writing queries, building aggregation pipelines, or optimizing performance. Triggers on MongoDB, Mongoose, NoSQL, aggregation pipeline, document database, MongoDB Atlas.

hoodini/owasp-security

Implement secure coding practices following OWASP Top 10. Use when preventing security vulnerabilities, implementing authentication, securing APIs, or conducting security reviews. Triggers on OWASP, security, XSS, SQL injection, CSRF, authentication security, secure coding, vulnerability.

Habilidades Relacionadas