Communitygithub.com

パララックスランディングページ

短い動画を、スクロール操作でフレーム単位でシークできる映画的な1画面ランディングページに変換します。ユーザーが5〜15秒の動画(多くの場合AI生成)を提供すると、全フレームをHD JPEG品質で抽出し、スクロールでフレームを操作しつつ5つのテキストオーバーレイがクロスフェードするHTMLページを生成します。

パララックスランディングページ とは?

このスキルは、YUV.AIスキルピラミッドの中間層に位置し、5〜15秒の動画クリップを1画面のスクロールシーク型ランディングページに変換します。ユーザーが動画を提供すると、ffmpegを使用して全フレームをほぼロスレスのJPEG品質(-q:v 2)で抽出し、Anton + Caveat + Interフォントスタック、金/琥珀/アクセント/クリームのカラーパレット、ビネットとフィルムグレインオーバーレイを備えたHTMLページを生成します。5つのテキストシーンが固定進行ウィンドウ(0.00〜1.00)でクロスフェードし、CTAは最終シーン内に配置されます。スタンドアロンモードと既存のパラサイトショーケースへの統合モードの両方をサポートします。生成されるページは1つの固定ビューポートで、スクロールはJavaScriptでインターセプトされ仮想フレーム進行に変換され、ドキュメント自体はスクロールしません。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/hoodini/ai-agents-skills/tree/HEAD/skills/parallax-landing-page

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

パララックスランディングページ は何をしますか?

短い動画を、ユーザーのスクロール操作でフレームごとにシークしながら、5つの劇的なテキストシーンがクロスフェードする1画面の映画的なランディングページに変換します。ドキュメントは実際にはスクロールせず、ホイール/タッチ/キーボード入力をJSでインターセプトし、仮想フレーム進行に変換します。

このスキルは、同梱のリファレンス ../../examples/parasites/(github / lion / hope ランディング — このスキルで構築された3つの動作するページ)で実証されたパターンをエンコードしています。不明な点がある場合は、そのフォルダを信頼できる情報源として扱ってください。

YUV.AIピラミッドにおけるこのスキルの位置づけ

parallax-landing-page は、yuv-design-system、yuv-decks、yuv-viral-video、video-to-landing-page と並んで、YUV.AIスキルピラミッドの 中間層 に位置します。最上位のオーケストレーター yuv-pilot は、5〜15秒の動画クリップを1画面のスクロールシーク型ランディングにする必要がある場合に、ここにルーティングします。

このスキルは 独自のビジュアル言語(Anton + Caveat + Inter、ゴールド/アンバー/アクセント/クリームのアクセントパレット)を持ちます — yuv-design-system を呼び出しません。2つのシステムは共存します:yuv-design-system は Web/アプリ/デッキ表面のブランドパレットを担当し、parallax-landing-page は特にシネマティックなスクロールシーク美学を担当します。YUV.AIパララックスランディングでは、フッターエリアにオプションでフェニックスの透かしと正規のLinktree URLをブランドのスレッドとして追加できます — 透かしファイルについては yuv-design-system/assets/ を参照してください。Anton/Caveat フォントスタックをデザインシステムのNeonパレットに交換しないでください。それでは特徴的な外観が失われます。

何を構築するか

各ランディングは固定ビューポートの単一画面で構成されます:

  • 画面いっぱいに表示されるキャンバス。一度に1フレームを描画します(cover-fit、DPR ≤ 2)
  • 5つの絶対配置テキストシーン(キッカー + 大文字Anton見出し + Caveat手書き行)。それぞれに独自のスクロール進行ウィンドウがあります
  • PARALLAX // showcase ロゴと兄弟ランディングへのリンクを持つ固定ナビ
  • すべてのフレームをプリロードしてからユーザーが操作できるようにするローダー
  • ビネット + フィルムグレインオーバーレイ
  • ユーザーがスクロールを開始するとフェードアウトする下部のスクロールヒント
  • 右下のフレームカウンター(例:073 / 145)
  • CTAセクションと なる 最終シーン — 個別の .end セクションはありません

q:v 2 での総重量:フレームあたり約120〜220 KB × フレーム数。6秒24fpsのクリップ = 145フレーム ≈ 25 MB。10秒のクリップ = 241フレーム ≈ 53 MB。

保存場所

デフォルト: ~/Documents/yuv-projects/landings/<slug>/ — 後で見つけられるように、スタンドアロンランディングは常にここに保存してください。ユーザーが明示的に別の場所を指定した場合、またはモードB(既存の examples/parasites/ ショーケースに統合)が選択された場合のみ上書きします。

mkdir -p ~/Documents/yuv-projects/landings
cd ~/Documents/yuv-projects/landings
# フレームを抽出してHTMLを構築する際に、このスキルはここに <slug>/ を作成します。

最終パス(モードA — スタンドアロン):~/Documents/yuv-projects/landings/<slug>/。 最終パス(モードB — 統合):ユーザーが選択した既存のショーケースディレクトリ。

各ビルドの最後にユーザーに最終パスを伝えてください。


ワークフロー

4つのフェーズがあります。フェーズをスキップしないでください。各フェーズが次のフェーズに情報を提供します。

フェーズ1 — 情報収集

ユーザーと確認すること:

  1. 動画パス — ソースMP4の場所。
  2. スラッグ — 短いフォルダ/ファイル名(例:hope、marcus、desk)。1単語、小文字、スペースなし。これはフレームフォルダ名(<slug>/)とHTMLファイル名(<slug>.html)の両方になります。
  3. テーマ / トピック — このランディングは何についてですか?製品ローンチ?個人的な瞬間?野生動物の出会い?コピーを書くためにこれが必要です。
  4. プロジェクトモード — スタンドアロン(新しいフォルダ)またはこのリポジトリのトップにある既存の parasites ショーケース examples/parasites/ に統合。ユーザーが「ショーケースに追加」と言ったら、モードBを意味します。
  5. アクセントカラー — スクリプト/CTAハイライト用:gold (#f5b042)、amber (#ff8a3d)、accent (ピンク #ff4d6d)、cream (#f5e9d4)、または新しい色(style.css の :root に追加し、新しい .script.<name> ルールを記述)。

ユーザーがこれらのいくつかを指定していない場合は、デフォルトを提案して先に進んでください — 結果を見れば答えられる質問で止まらないでください。

フェーズ2 — フレーム抽出

同梱の抽出スクリプトを実行します。ffprobeで動画をプローブし、-q:v 2(ほぼロスレスJPEG)でネイティブ解像度の全フレームを抽出し、frame-001.jpg から frame-NNN.jpg(3桁ゼロ埋め)という名前を付けます。

python <skill>/scripts/extract_frames.py <video_path> <output_folder>

例:

python C:/Users/User/.claude/skills/parallax-landing-page/scripts/extract_frames.py \
    C:/Users/User/Documents/parasites/hope/hope.mp4 \
    C:/Users/User/Documents/parasites/hope

スクリプトはJSONメタデータブロックをstdoutに出力します。それをキャプチャしてください — HTMLに frame_count と suggested_scroll_budget が必要です。

なぜ -q:v 2 なのか:ezgifなどのツールは積極的に再圧縮します(約55 KB/フレーム)。q:v 2のネイティブffmpegは、同じ寸法で約120〜220 KB/フレームを提供します — はっきりとシャープです。ダウンスケールしないでください。アップスケールも絶対にしないでください(詳細を追加せずにファイルを肥大化させます)。

なぜスクロールバジェットの計算式(フレームあたり約26ピクセル)なのか:クリップの長さ全体で「フレームを1つ進めるのに必要なスクロール量のピクセル数」を一定に保ちます。145フレーム → 約4200、241フレーム → 約6300、90フレーム → 約2500(下限)。スクリプトが自動計算し、[2500, 8000] にクランプします。

フェーズ3 — ページの作成

<skill>/assets/landing-page-template.html のテンプレートを読んでください。これは {{PLACEHOLDER}} マーカーとクリエイティブな部分の隣に <!-- TODO: --> コメントが付いた完全な動作ファイルです。すべてを置換して <target>/<slug>.html に新しいファイルを記述してください。

置換チェックリスト(すべてのプレースホルダーを置換する必要があります):

プレースホルダー何を入れるか例
{{PAGE_TITLE}}HTML <title>Hope — The Fastest Heart in the Negev
{{PAGE_DESCRIPTION}}meta description、1文A moment with Hope, the cheetah of Midbarium.
{{SLUG}}フォルダ名(パスなし、スラッシュなし)hope
{{FRAME_COUNT}}フレーム数の整数241
{{FRAME_COUNTER_TEXT}}幅が合う 001 / NNN001 / 241
{{SCROLL_BUDGET}}抽出JSONからの整数6300
{{PREVIEW_FRAME_MID}}中央フレーム(ゼロ埋め)121
{{PREVIEW_FRAME_END}}最終フレーム(ゼロ埋め)241
{{LOADER_TITLE}}1単語、大文字HOPE
{{LOADER_SCRIPT}}手書き行、… で終わるsummoning the runner…
{{NAV_LINKS_HTML}}ナビ用の完全な <a> タグブロック下記参照
{{SCENE_N_*}}5つのシーンそれぞれのキッカー、見出し、手書き行コピーガイド参照
{{SCROLL_HINT_TEXT}}2〜4単語の大文字プロンプトSCROLL TO RUN
{{CTA_BUTTONS_HTML}}2〜4個の <a class="cta"> タグ下記参照
{{ACCENT_CLASS}}.script.X と .cta.X 用のアクセントカラー接尾辞amber

シネマティックなコピーパターン(キッカーの言い回し、見出しの長さ、手書き行のトーン)については、references/copy-guide.md を読んでください。コピーはこのスキルの価値を発揮する部分です — 一般的なコピーでは、どんなに美しいアニメーションも台無しになります。

フェーズ4 — アセットの配線

ターゲットフォルダにすでに style.css と parallax.js がある場合(ショーケース統合)、何もしないでください — それらは共有されています。それ以外の場合は、両方を <skill>/assets/ からターゲットフォルダにコピーします:

cp <skill>/assets/style.css <target>/style.css
cp <skill>/assets/parallax.js <target>/parallax.js

既存のショーケースに統合する場合は、references/showcase-integration.md の手順も実行します — index.html にカードを追加し、既存のすべてのランディングのナビゲーションバーにリンクを追加し、前のランディングの最終シーンにチェーンCTAを追加します。

ユーザーに表示方法を伝えます:

<target>/<slug>.html を親フォルダから python -m http.server 8000 で開いてください(file:// ではChromiumがローカル画像オリジンでキャンバスを汚染する可能性があります)。

ファイル契約

<target>/
├── <slug>/                  # フレームフォルダ
│   ├── <slug>.mp4           # ソース(保持)
│   ├── frame-001.jpg
│   ├── frame-002.jpg
│   └── … frame-NNN.jpg
├── <slug>.html              # ランディングページ
├── style.css                # 共有(スタンドアロンの場合コピー)
├── parallax.js              # 共有(スタンドアロンの場合コピー)
└── index.html               # ハブ(スタンドアロンまたは統合の場合のみ)

フレームフォルダ名とHTMLファイル名は同じスラッグを共有する必要があります — ページの new ParallaxPage({folder: '<slug>', ...}) 呼び出しの folder オプションはリテラルフォルダパスです。

ParallaxPage API(すでに parallax.js 内にあり、再定義しないでください)

new ParallaxPage({
  folder:       '<slug>',     // frame-001.jpg などを含むフォルダ
  frameCount:   145,          // 整数
  prefix:       'frame-',     // このスキルでは常に 'frame-'
  scrollBudget: 4200,         // 全パスに必要な累積入力のピクセル数
  // オプション: padWidth(デフォルト 3), ext(デフォルト 'jpg')
})

このクラスは自動的に body.scrub-page をアタッチし(CSSでスクロールをロック)、すべてのフレームをプリロードし、スクロールから派生したターゲットフレームに向けてRAF駆動のlerp(0.22倍率)を実行し、data-start/data-end 範囲に現在の進行が含まれるシーンをクロスフェードします。

ハード制約(交渉不可)

これらはリファレンスに組み込まれており、違反すると体験が損なわれます:

  • 5つのシーン、固定進行ウィンドウ:0.00–0.20、0.22–0.40、0.42–0.60、0.62–0.80、0.82–1.00。シーン間の0.02のギャップは意図的なものです — ビートとビートの間で「画像のみ、テキストなし」の瞬間です。ヒーロー(シーン1)と最終(シーン5)はそれぞれ data-fade="0.30" と data-fade="0.18" を使用してエッジで長く保持します。中央のシーンはデフォルトの0.25を使用します。
  • スクラブの下に .end セクションはありません。最終シーンにCTAが含まれます。ページ全体が1つの固定ビューポートです。
  • Anton + Caveat + Inter — 太字には大文字Anton、手書きアクセント(ゴールド/アンバー/クリーム)にはCaveat、本文リードテキストにはInter。決して代用せず、4つ目のフォントを追加しないでください。
  • オフホワイト #f5f1ea、決して #fff ではない — CSSで var(--text) としてすでに設定済み。
  • フレーム名は frame-NNN.jpg、総フレーム数の桁数に合わせてゼロ埋め(1000フレーム未満のクリップでは3桁が標準。JSは合計からカウンター幅を自動計算します)。
  • スラッグはフォルダ名かつHTMLファイル名のベース名 — hope/、hope.html。例外なし。統合手順はこれを前提としています。

行き詰まったときの参照先

  • このリポジトリにバンドルされているリファレンスショーケース:examples/parasites/ — github.html、lion.html、hope.html、style.css、parallax.js、index.html。出力がそれらと視覚的に異なる場合は、逸脱しています。再読してください。
  • references/copy-guide.md — 5つのシーンを実際にシネマティックに感じさせる書き方。
  • references/showcase-integration.md — 既存のハブに追加する場合に必要な正確な編集。
  • assets/landing-page-template.html — プレースホルダー付きの正規構造。
  • assets/hub-template.html — 新しいショーケースをゼロから作成する場合のみ使用(3枚のカード)。

2つの実際の呼び出し例

スタンドアロン: ユーザーが単一のクリップ desk.mp4 を持っており、ランディングページを希望。

  1. スラッグ + テーマを尋ねる。desk.mp4 に対して抽出を実行 → ./desk/frame-NNN.jpg。
  2. style.css + parallax.js をプロジェクトルートにコピー。
  3. テンプレートから desk.html を作成。ナビには自身へのリンクが1つだけ。
  4. 完了。python -m http.server で提供するようユーザーに伝える。

ショーケース追加: ユーザーが hope.mp4 を既存の parasites フォルダに追加。

  1. スラッグ = hope。抽出 → hope/frame-NNN.jpg。(既存の style.css + parallax.js を再利用。)
  2. テンプレートから hope.html を作成。
  3. ショーケース統合を実行:index.html に3枚目のカードを追加し、github.html と lion.html のナビゲーションバーに Hope リンクを追加し、前のランディングの最終シーンに Next: Hope → CTAを追加。
  4. 新しいアクセントカラーを導入する場合は、:root に追加し、style.css に .script.X + .cta.X ルールを追加。

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

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/ai-agents-skills

Turn any video into a cinematic scroll-driven landing page — Apple-style hero where scrolling progresses the visible frame through the video. Use when the user provides a video file and asks for "a landing page from this video", "scroll-frame website", "Apple-style scroll site", "hero that scrubs the video", "like the GitHub Copilot landing", or any equivalent. Extracts N evenly-spaced frames via ffmpeg, builds a self-contained HTML page with a sticky hero + JS scroll listener that swaps the visible frame as you scroll, plus headline, sections and CTA below. For YUV.AI projects, applies the yuv-design-system skill in Neon mode (pink/cyan/white, default for YUV.AI web) — Decks (purple/yellow) is reserved for slides only. For generic / non-YUV.AI projects, picks an appropriate palette per the source video. Output is one folder with `index.html` and a `frames/` directory — drop on any static host.

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.

関連スキル