Communitygithub.com

Video → Scroll-Driven Landing Page

Verwandle jedes Video in eine cineastische, scrollgesteuerte Landingpage – Apple-ähnlich, bei der das Scrollen den sichtbaren Bildausschnitt durch das Video bewegt.

Was ist Video → Scroll-Driven Landing Page?

Dieses Skill wandelt jedes Video in eine cineastische Landingpage um, bei der die Heldenanimation durch Scrollen gesteuert wird, ähnlich wie bei Apple-Produktseiten oder der GitHub Copilot Landingpage. Es extrahiert mithilfe von ffmpeg eine gleichmäßige Anzahl von Frames (Anzahl an die Videolänge angepasst) und erstellt eine vollständige HTML-Seite mit einem sticky Hero-Bereich und einem JavaScript-Scroll-Listener, der das sichtbare Bild beim Scrollen austauscht. Unterhalb des Helden platziert es Schlagzeilen, Abschnitte und einen Call-to-Action (CTA). Für YUV.AI-Projekte wendet es das yuv-design-system im Neon-Modus (Pink/Cyan/Weiß) an; für andere Projekte wählt es eine passende Farbpalette basierend auf der Videostimmung. Die Ausgabe ist ein Ordner mit `index.html` und einem `frames/`-Verzeichnis, der auf jedem statischen Host (Vercel, Netlify, Cloudflare Pages) bereitgestellt werden kann.

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

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Video → Scrollgesteuerte Landingpage

Erstelle eine cineastische Landingpage, bei der der Hero ein Video ist, das beim Scrollen abgespielt wird – statt zeitbasiert, wie bei Apple-Produktseiten oder der GitHub Copilot Landingpage. Aus dem Quellvideo werden Frames extrahiert und beim Scrollen ausgetauscht; unterhalb des sticky Heroes befinden sich normal scrollende Abschnitte mit Text und CTA.

Wann verwenden

  • Der Nutzer lädt ein Video hoch und bittet um eine Landingpage, Scrolling-Seite, Scroll-Frame-Hero oder Website aus einem Video
  • Erwähnungen von "Apple-ähnlichem Scrollen", "GitHub Copilot Landing", "Scrub-on-Scroll", "Frame beim Scrollen"
  • Hebräische Entsprechungen: "דף נחיתה מסרטון", "אתר עם גלילה", "סרטון בגלילה"

Speicherort

Standard: ~/Documents/yuv-projects/landings/<slug>/ – speichere Landingpages immer hier, damit du sie später wiederfindest. Erstelle das übergeordnete Verzeichnis, falls es nicht existiert.

mkdir -p ~/Documents/yuv-projects/landings
cd ~/Documents/yuv-projects/landings
# Baue <slug>/ hier.

Endgültiger Pfad: ~/Documents/yuv-projects/landings/<slug>/. Teile dem Nutzer am Ende jedes Builds mit, wo die Landingpage liegt.


Arbeitsablauf (8 Schritte)

  1. Quelle prüfen – ffprobe für Dauer, fps, Abmessungen, Audio.
  2. Frame-Anzahl wählen – Standard 80. Untergrenze 40 (zu ruckelig, wenn niedriger), Obergrenze 160 (zu schwere Seite). Wähle nach Dauer: ≤10s → 50, 10–30s → 80, 30–60s → 120, >60s → 160.
  3. Ausgabeverzeichnis festlegen – Standard ~/Documents/yuv-projects/landings/<slug>/. Der <slug> ist kurz, abgeleitet vom Videotitel oder Thema. Nur auf expliziten Wunsch überschreiben.
  4. Frames extrahieren – references/extract-frames.py <quellvideo> <ausgabeverzeichnis> [anzahl] ausführen. Ausgabe: ausgabeverzeichnis/frames/f_0001.jpg … mit konsistenter JPG-Qualität 82 und einer maximalen Breite von 1920 (verkleinert, falls das Quellvideo größer ist).
  5. references/landing-template.html kopieren und anpassen nach ausgabeverzeichnis/index.html:
    • Ersetze den Platzhalter __FRAMES__ mit <img>-Tags für jeden Frame (das Build-Skript erledigt dies für dich, wenn du --build-html übergibst).
    • Fülle __HEADLINE__, __TAGLINE__, __CTA_TEXT__, __CTA_HREF__ und Abschnitte aus.
    • Für hebräischen Inhalt: setze <html lang="he" dir="rtl"> und tausche Schriftarten auf Rubik/Assistant (siehe references/design-notes.md).
  6. Frames optimieren – Das Build-Skript skaliert bereits auf max. 1920 px. Falls die Seitengröße > 12 MB beträgt, senke die Qualität auf 75 oder reduziere die Frame-Anzahl.
  7. Vorschau – python -m http.server im Ausgabeverzeichnis ausführen und http://localhost:8000 öffnen. Das Scrollen sollte auf einem ordentlichen Rechner butterweich sein.
  8. Bereitstellen – Den Ordner auf Vercel/Netlify/Cloudflare Pages hochladen. Kein Build-Schritt nötig.

Der Scroll-Mechanismus

  • Äußerer Scroll-Container .scroll-stage Höhe in Viewport-Einheiten (Standard 600vh = 5 Bildschirme scrollen, um alle Frames zu durchlaufen).
  • Sticky Hero position: sticky; top: 0; height: 100vh enthält alle Frames absolut positioniert und ausgeblendet, außer dem aktiven.
  • Scroll-Listener berechnet progress = scrolledIntoStage / scrollableHeight, begrenzt auf 0–1.
  • idx = floor(progress * (N - 1)) – die .active-Klasse wird auf diesen Frame angewendet.
  • Den Listener in requestAnimationFrame einbetten, um 60 fps zu gewährleisten.

Designregeln

  • Wenn das Projekt YUV.AI-markenbezogen ist (Yuval persönlich, sein Portfolio, seine Marke): wende yuv-design-system an und lege den Modus nach Medium fest:
    • Neon-Modus (STANDARD für YUV.AI Web): Pink (#FF1464) + Neon-Cyan (#00E5FF) + Weiß oder sattes Schwarz. Anton + Inter (Englisch) / Rubik + Assistant (Hebräisch). 0 px oder 999 px Radien.
    • Warmer Redaktionsmodus: nur für Hope, Marcus, bigcats.ai, practical.yuv.ai – Pink + Gelb + Beige, niemals reines #fff.
    • Verwende niemals den Decks-Modus (Fly High Lila/Gelb) für eine Landingpage – diese Palette ist nur für Präsentationsfolien reserviert.
  • Wenn das Projekt nicht YUV.AI-markenbezogen ist: wende yuv-design-system nicht an. Wähle eine zur Stimmung des Quellvideos passende Palette. Anton + Inter bleiben sinnvolle Standardeinstellungen, sind aber nicht zwingend.
  • Hero-Overlays sollten dezent sein – eine Vignette und eine einzelne große Überschrift; überlade das Bild nicht.
  • Abschnitte unterhalb des Heroes: heller Hintergrund (weiß im Neon-Modus, gebrochenes Weiß im Warmen Redaktionsmodus, Beige bei generisch-warmen Designs), große Anton-Überschrift, Fließtext in Inter 18–22 px, CTA als scharfe Pille (border-radius: 999px) – Pink-Füllung im Neon-Modus, sonst markenkonforme Farbe.
  • Für Hebräisch: RTL beachten, Rubik 900 für Überschriften, Assistant 400/500 für Fließtext verwenden.

Dateireferenzen

DateiZweck
references/extract-frames.pyffmpeg-basierter Frame-Extraktor; erstellt wahlweise das vollständige HTML in einem Durchgang
references/landing-template.htmlEigenständiges Landingpage-Grundgerüst mit dem Scroll-Mechanismus
references/design-notes.mdTypografie-, Paletten- und Bewegungsvorgaben

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.

Verwandte Skills