Communitygithub.com

NVlabs/Skill2Env

高品質なシングルページHTMLランディングページを生成します。3D CSSアニメーション、GSAPスクロールエフェクト、マウスパララックス深度表現を備え、製品情報のヒアリングからコピー・マークアップ作成までを一貫して行います。

Skill2Env とは?

このスキルは、プロダクトの詳細をヒアリングした上で、単一の自己完結型HTMLファイルとして高品質なランディングページを生成します。CSSとJSはすべてインライン化され、外部依存はGoogle FontsとGSAP CDNのみです。ページは3D CSSアニメーション、GSAPによるスクロールトリガー演出、マウスパララックスによる奥行き表現を備え、プロダクション品質のビジュアル体験を提供します。Claude Code CLIではファイルとして出力し、Claude.aiではHTMLアーティファクトとして生成します。ブランドカラーはCSSカスタムプロパティで上書き可能で、ヒアリングフェーズで製品ポジショニングを確定してから生成するため、汎用的なテンプレートではなく実際の製品に即したページが得られます。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/NVlabs/Skill2Env/tree/HEAD/SkillHub/skills/marketing/landing

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

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

ドキュメント

Landing — プレミアムHTMLランディングページジェネレーター

product-team/skills/landing-page-generator/ とは異なります。 そのスキルはコンバージョン/リード顧客獲得に最適化されたNext.js TSXコンポーネントを出力します。このスキルはGSAPアニメーションで最適化されたプレミアムなビジュアル体験を提供する、単一の自己完結型 .html ファイルを出力します。ユースケースに応じて使い分けてください。

テキストプロンプトや簡単な概要から、洗練された自己完結型の .html ランディングページを生成します。出力は 1つの HTML ファイル です。すべてのCSSは <style> タグ内に、すべてのJSは <script> タグ内にインラインで記述され、外部依存関係は Google Fonts + GSAP(CDN経由)のみです。ページは視覚的に特徴的で、アニメーションを備え、プロダクション品質です。

起動トリガー

  • 「ランディングページを作成」
  • 「ランディングページを構築」
  • 「Xのランディングページを作って」
  • 「YのWebページが必要」
  • 「プロモーションページ」
  • 「商品ページ」
  • 「ワンページ」
  • 「Webプレゼンス」
  • 「セールスページ」
  • 「Xのランディング」

出力モード

Claude Code CLI では、指定されたパスにファイルを書き込みます。Claude.ai Web では、同じ内容でHTMLアーティファクトを作成します。

フェーズ0:ヒアリング(強制4質問、1つずつ)

依存順。各質問には「なぜ質問するのか」の明示的な説明が付きます。最大4質問で停止します。

Q1(ルート)— プロダクト/サービス

プロダクトまたはサービスは何ですか?名前と1~2文のエレベーターピッチ(何をするもので、誰のためのものか)を教えてください。

なぜ質問するのか: ヘッドライン、サブテキスト、機能コピーはすべてここから導出されます。「生産性向上アプリ」は汎用的なテンプレートを生成しますが、「Zoomが嫌いなリモートエンジニアチームのための非同期スタンドアップツール」はコンバージョンするランディングページを生成します。

曖昧な回答を拒否します。 名前だけでピッチがない場合は、一度だけ「何をするものですか?誰のためのものですか?」と促します。それでもピッチがない場合は、「汎用的なポジショニング」であることを明示して配信します。

Q2(Q1に依存)— オーディエンス登録

オーディエンスは誰ですか?1つ選んでください:

  1. テクニカルバイヤー(エンジニア、オペレーション、セキュリティ)
  2. ビジネスバイヤー(PM、経営幹部、オペレーションリーダー)
  3. 消費者(一般大衆、趣味人)
  4. 社内向け(従業員、パートナー — 一般販売向けではない)

なぜ質問するのか: オーディエンスはコピーのレジスター、専門用語のレベル、ソーシャルプルーフの選択、CTAの枠組みを決定します。テクニカルバイヤーは詳細を求め、消費者はベネフィットを求め、社内ページは説得をスキップできます。

選択を強制します。

Q3(常に)— ブランドオーバーライド

デフォルト(ダークネイビー+ティール+Inter)を上書きするブランドカラー/フォントはありますか? プライマリのHEX、アクセントのHEX、オプションの背景HEXを提供してください。または、洗練されたデフォルトを使用する場合は「デフォルト」と答えてください。

なぜ質問するのか: デフォルトは意図的に美しいものですが、ブランドに合わせることで、ページを既存のサイトにネイティブに感じさせることができます。プライマリカラーの上書きだけでも効果は大きいです。

「デフォルト」または部分的なオーバーライド(プライマリのみなど)を受け入れます。プライマリのみ提供された場合は、アクセントをアルゴリズム的に導出します(明るくする/暗くする)。

Q4(Q1に依存)— トーン

トーンを選んでください:

  1. プロフェッショナル — 自信に満ち、控えめ、B2B向け
  2. 遊び心 — 温かみがあり、軽やかで、時折ユーモアを交える
  3. 権威的 — 専門的、データ重視、信頼構築
  4. ミニマル — 簡潔、デザイン主導、コピー密度低

なぜ質問するのか: トーンはすべての文章(ヘッドライン、マイクロコピー、ボタンテキスト、締めのコピー)に影響します。事前に選択することで、セクション間のトーンの不一致を防ぎます。

選択を強制します。推奨デフォルト: Q2がテクニカル/ビジネスならプロフェッショナル、Q2が消費者なら遊び心、プロダクトがデザイン主導ならミニマル。

停止条件: Q4の後、コミットして生成します。生成中にフォローアップの質問はしません。

コンテンツ抽出(フォールバック戦略付き)

Q1のエレベーターピッチから以下を導出します:

  • ヒーローヘッドライン — 「何をするか」のインパクトのあるバージョン(8~12語)
  • ヒーローサブテキスト — 「誰のためのものか+ベネフィット」のバージョン(1~2文)
  • 3~6の機能箇条書き — ピッチ+オーディエンス(Q2)+トーン(Q4)から抽出
  • CTAテキスト — アクション指向、トーンに一致
  • 締めのコピー — 短く、感情に訴え、トーンに一致

入力が乏しい場合のフォールバック: プロダクト名のセマンティクス+オーディエンスレジスターから説得力のあるコンテンツを考案します。推測されたコンテンツはHTMLソースにコメント(<!-- inferred: ... -->)でフラグを付けます。入力を待って停止することはありません。

ブランドシステム仕様

デフォルトカラーパレット(ダークネイビー+ティール)

:root {
  --navy:       #0A1628;
  --navy-mid:   #0D1F38;
  --teal:       #00D4AA;
  --teal-glow:  rgba(0, 212, 170, 0.12);
  --amber:      #F5A623;
  --off-white:  #F7F7F2;
  --text-muted: rgba(247, 247, 242, 0.68);
  --card-bg:    rgba(0, 212, 170, 0.06);
  --card-border:rgba(0, 212, 170, 0.15);
}

オーバーライドパターン

Q3でカスタムブランド値が提供された場合、スキルはそれらを :root ブロックに代入します:

ブランドオーバーライド:
- プライマリ: #FF6B35    →  --navy / ヒーロー背景
- アクセント: #2EC4B6    →  --teal / CTA / ハイライト
- 背景:      #011627    →  --navy-mid / セクション背景
- テキスト:  #FDFFFC    →  --off-white

プライマリのみ提供された場合は、アクセントをアルゴリズム的に導出します(アクセントは15%明るく、navy-midは8%暗く、glow用に0.12アルファでrgbaに変換)。決定論的な導出には scripts/brand_palette_validator.py を使用します。

色彩理論+WCAG+アルゴリズムパレット導出の詳細は、references/brand_system_design.md を参照してください。

タイポグラフィ

  • フォントファミリー: Inter(Google Fonts経由)
  • ウェイトスケール: 400(本文)、500(アイブロウ)、600(リンク)、700(サブタイトル)、800(H1 + H2)
  • サイズスケール:
    • ヒーローH1:68~82px
    • セクションH2:52~62px
    • カードタイトル:22px
    • 本文:17~19px
    • アイブロウ:13px(大文字、文字間隔あり)
    • CTAボタン:18px(500ウェイト)

コンポーネント(CSSを指定必須)

  • .btn-primary — ホバー状態(浮き上がり+明るさ)のあるCTAボタン
  • .feature-card — ホバー浮き上がり(translateY(-6px)+ボーダー明るく)のあるカード
  • .eyebrow — 文字間隔(0.2em)の大文字カテゴリラベル

セクション1:ヒーロー

  • min-height: 100vh、フレックス中央揃えコンテンツ
  • H1の上のオプションのアイブロウラベル
  • H1(68~82px、800ウェイト)
  • サブタイトル(17~19px、1~2文)
  • CTAボタン(.btn-primary)
  • スクロールダウンインジケーター(アニメーションチェブロン、CSSバウンス)
  • 深度レイヤー(マウスパララックス):
    • .hero-shapes-back — 大きなぼかし円、絶対配置、低不透明度
    • .hero-shapes-mid — より小さな形状、よりシャープなエッジ、より高い不透明度
    • コンテンツレイヤー(H1+サブタイトル) — マウスと同じ方向に微妙に動く

セクション2:機能

  • デフォルト3カラム(repeat(3, 1fr) グリッド)
  • レスポンシブ:
    • 900pxブレークポイントで2カラム
    • 580pxブレークポイントで1カラム
  • 各カード:
    • SVGアイコン(28px、stroke=var(--teal)、塗りつぶしなし)
    • タイトル(22px、700ウェイト)
    • 説明(15~16px、--text-muted)
  • ホバー状態:
    • transform: translateY(-6px)
    • border-color: var(--teal)(--card-borderから明るく)
    • transition: 0.3s ease

セクション3:クロージングCTA

  • 全幅、background: var(--navy-mid)
  • padding: 120px 24px、text-align: center
  • 大きなクロージングヘッドライン(52~62px、800ウェイト)
  • 短いサブテキスト(--text-muted、1~2文)
  • 背後に放射状グラデーションのグローがあるCTAボタン:
    background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
    

アニメーションパターン

詳細は references/gsap_animation_patterns.md を参照してください。必須5パターン:

1. ヒーローエントランス(GSAPタイムライン)

// FOUC防止のために、必ず最初に gsap.set() を使用する
  opacity: 0,
  y: 30
gsap.set([".eyebrow", ".hero h1", ".hero .subtitle", ".btn-primary", ".scroll-down"], {
  opacity: 0,
  y: 30
});

const tl = gsap.timeline({ defaults: { ease: "power3.out" } });
tl.to(".eyebrow", { opacity: 1, y: 0, duration: 0.6 })
  .to(".hero h1", { opacity: 1, y: 0, duration: 0.8 }, "-=0.3")
  .to(".hero .subtitle", { opacity: 1, y: 0, duration: 0.6 }, "-=0.5")
  .to(".btn-primary", { opacity: 1, y: 0, duration: 0.5 }, "-=0.3")
  .to(".scroll-down", { opacity: 1, y: 0, duration: 0.4 }, "-=0.2");

2. マウスパララックス

const hero = document.querySelector(".hero");
hero.addEventListener("mousemove", (e) => {
  const x = (e.clientX / window.innerWidth - 0.5) * 2;
  const y = (e.clientY / window.innerHeight - 0.5) * 2;
  gsap.to(".hero-shapes-back", { x: x * 45, y: y * 22, duration: 0.8 });
  gsap.to(".hero-shapes-mid",  { x: x * 22, y: y * 11, duration: 0.8 });
  gsap.to(".hero .container",  { x: x * 8,  y: y * 5,  duration: 0.8 });
});

3. スクロールトリガー機能カード

gsap.set(".feature-card", { opacity: 0, y: 55, rotateX: 18 });

ScrollTrigger.batch(".feature-card", {
  start: "top 80%",
  onEnter: batch => gsap.to(batch, {
    opacity: 1, y: 0, rotateX: 0,
    duration: 0.8,
    stagger: 0.11,
    ease: "power2.out"
  })
});

4. 浮遊デコレーションシェイプ(CSSキーフレーム — GSAP不使用)

CSSはアンビエントな連続動作を処理します(無限アニメーションではGSAPよりスムーズで低コスト):

@keyframes floatA {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(20px, -30px) rotate(8deg); }
}
@keyframes floatB { /* 異なるduration+回転 */ }
@keyframes floatC { /* 異なるduration+回転 */ }

.hero-shapes-back .shape-a { animation: floatA 12s ease-in-out infinite; }

5. スクロールインジケーター(CSSバウンス)

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}
.scroll-down { animation: bounce 2s ease-in-out infinite; }

必須CDN依存関係

<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/ScrollTrigger.min.js"></script>

他の外部CSSまたはJSファイルはありません。すべてのカスタムCSSは <style> タグ内に、すべてのカスタムJSは同じHTMLファイル内の <script> ブロックに記述します。

インラインのみの根拠については、references/single_file_html_discipline.md を参照してください。

レイアウトルール

  • コンテナ最大幅: 1200px、中央揃え
  • セクションパディング: 120px 24px(垂直120、水平24、モバイルで縮小)
  • レスポンシブブレークポイント:
    • 900px → 機能グリッド 3カラム → 2カラム
    • 580px → すべてのグリッド → 1カラム、H1は約52pxに縮小
  • ビューポートメタ: <meta name="viewport" content="width=device-width, initial-scale=1">

出力仕様

  • パス: ${OUTPUT_DIR}/<product-name-kebab>.html
  • デフォルト ${OUTPUT_DIR}: ./landing-pages/
  • ファイル名: プロダクト名から小文字のケバブケース(「Quill AI」→ quill-ai.html)。決定論的スラグ生成+重複検出には scripts/kebab_slug_generator.py を使用します。
  • 自己完結型: すべてのCSSは <style> タグ内に、すべてのJSは <script> タグ内に、外部依存はGoogle Fonts+GSAP CDNのみ。

検証(生成後)

生成後、scripts/html_validator.py --file ${OUTPUT_DIR}/<slug>.html を実行します。チェック項目:

  • 必須3セクションすべてが存在する(.hero、.features、.closing-cta)
  • CDN依存関係が存在する(Inter + GSAP + ScrollTrigger)
  • gsap.set() による初期状態宣言が gsap.timeline または gsap.to の前にある(FOUC防止)
  • 900px および 580px のレスポンシブブレークポイント
  • Google Fonts 以外に外部 <link rel="stylesheet"> がない
  • GSAP CDN 以外に外部 <script src=> がない
  • <meta name="viewport"> が存在する
  • すべてのアニメーション要素に初期状態宣言がある

エラーハンドリング

状況動作
入力が名前のみでコンテキストがない名前のセマンティクス+オーディエンスレジスターから説得力のあるコンテンツを考案し、HTMLソースに <!-- inferred --> としてフラグを付ける
入力ファイルが大きい、またはPDF生成前に全体を読み込む、切り捨てない
ブランドカラーが不十分(1つのHEXのみ)それをプライマリとして使用、セカンダリ/アクセントをアルゴリズム的に導出(brand_palette_validator.py で明るく/暗くする)
機能数が指定されていないデフォルトは4
出力ディレクトリが存在しない作成する
出力パスに既存ファイルがあるタイムスタンプのサフィックスを追加するか、ユーザーに尋ねる(kebab_slug_generator.py が重複をフラグ)
html_validator が FAIL を返す失敗したセクションのみを1回のターゲットパスで再生成する。ファイルを破棄しない

移植性

  • Claude Code CLI: ネイティブ対応 — HTMLファイルを直接ファイルシステムに書き込みます。
  • Claude.ai Web: ネイティブ対応 — ファイルの代わりにHTMLアーティファクトを生成します。

ツール

スクリプト役割
scripts/brand_palette_validator.pyHEX形式の検証、WCAG AAコントラストのチェック、プライマリから派生パレットを生成(アルゴリズム的な明るく/暗く)
scripts/kebab_slug_generator.pyプロダクト名 → ケバブケースファイル名 + 出力ディレクトリ内の重複検出
scripts/html_validator.py生成後の構造チェック:3セクション、CDN依存関係、gsap.set() 初期状態、レスポンシブブレークポイント、外部ファイルなし

参考文献

拒否すべきアンチパターン

  • 出力ディレクトリへのハードコードされた絶対パス
  • オーバーライドドキュメントのない単一ブランドパレット
  • 作成前のアウトライン化 — 一気に書き上げる
  • 外部CSSまたはJSファイル(インライン必須、許可されるのはGoogle Fonts+GSAP CDNのみ)
  • gsap.set() 初期状態のスキップ(FOUCの原因)
  • デフォルトグリッドで6つを超える機能(スキャン不能になる)
  • スキル自体へのブランド固有のコンテンツ参照

バージョン: 1.0.0 ソース仕様: megaprompts/04-landing-megaprompt.md ビルドパターン: パスB(直接変換)。product-team/skills/landing-page-generator/ とは異なります。

Individual skills in this repo

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

NVlabs/Skill2Env

This skill should be used when the user asks about "digital portfolio", "portfolio website", "project description", "case study", "portfolio curation", "creative portfolio", "act as a portfolio curator", "portfolio curator mode", "portfolio review", "professional presentation", "portfolio architecture", "work samples", "portfolio bio", or needs expertise in building, structuring, and writing professional digital portfolios. Part of the AlterLab FC Skills collection (New Media & Communication department).

NVlabs/Skill2Env

This skill should be used when the user asks about "web content strategy", "SEO writing", "UX writing", "information architecture", "content architecture", "website structure", "act as a web content strategist", "web strategist mode", "site map", "content audit", "microcopy", "meta descriptions", "content hierarchy", "content governance", or needs expertise in planning, structuring, and writing content for websites and digital platforms. Part of the AlterLab FC Skills collection (New Media & Communication department).

NVlabs/Skill2Env

When the user wants to create, generate, or produce video content using AI tools or programmatic frameworks. Also use when the user mentions 'video production,' 'AI video,' 'Remotion,' 'Hyperframes,' 'HeyGen,' 'Synthesia,' 'Veo,' 'Sora,' 'Runway,' 'Kling,' 'Seedance,' 'Hailuo,' 'MiniMax,' 'Pika,' 'Hunyuan,' 'Wan,' 'video generation,' 'AI avatar,' 'talking head video,' 'programmatic video,' 'video template,' 'explainer video,' 'product demo video,' 'video pipeline,' or 'make me a video.' Use this for video creation, generation, and production workflows. For video content strategy and what to post, see social. For paid video ad creative, see ad-creative.

NVlabs/Skill2Env

Balance visual design with ATS compatibility for creative roles

NVlabs/Skill2Env

Build immersive, cinematic 2.5D interactive websites using scroll storytelling, parallax depth, text animations, and premium scroll effects — no WebGL required. Use this skill for any web design task: landing pages, product sites, hero sections, scroll animations, parallax, sticky sections, section overlaps, floating products between sections, clip-path reveals, text that flies in from sides, words that light up on scroll, curtain drops, iris opens, card stacks, bleed typography, and any site that should feel cinematic or premium. Trigger on phrases like "make it feel alive", "Apple-style animation", "sections that overlap", "product rises between sections", "immersive", "scrollytelling", or any scroll-driven visual effect. Covers 45+ techniques across 8 categories. Always inspects, judges, and plans assets before coding. Use aggressively for ANY web design task.

NVlabs/Skill2Env

Read-only queue dashboard for workspace-aware ship. (gstack)

NVlabs/Skill2Env

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

NVlabs/Skill2Env

Audits any landing or service page across 48 checks in 10 categories for LLM/AI discoverability, GEO readiness, content clarity, schema markup, internal linking, freshness signals, and technical crawlability. Produces an overall score out of 100, a per-category score out of 100, pass/warn/fail/ manual counts, and a prioritised fix list — all rendered as a standalone HTML report saved to disk. Use when a user provides a URL and asks to audit it, score it, check its GEO readiness, test its AI discoverability, run a landing page audit, or evaluate it for LLM citation potential. Also trigger on phrases like "audit this page", "score this URL", "check GEO for", "is this page AI-ready", "run a GEO audit", "LLM page check", "how would AI read this page", or "landing page score".

NVlabs/Skill2Env

Use when a user asks to build, optimize, backtest, rebalance, or analyze a stock portfolio with Mean-CVaR, efficient frontiers, scenario generation, or NVIDIA cuOpt.

NVlabs/Skill2Env

Transform resume bullets into detailed portfolio case studies

NVlabs/Skill2Env

Generates high-converting landing pages as complete Next.js/React (TSX) components with Tailwind CSS. Creates hero sections, feature grids, pricing tables, FAQ accordions, testimonial blocks, and CTA sections using proven copy frameworks (PAS, AIDA, BAB). Outputs SEO meta tags, structured data, and performance-optimised code targeting Core Web Vitals (LCP < 1s, CLS < 0.1). Use when the user asks to create a landing page, marketing page, homepage, single-page site, lead capture page, campaign page, promo page, or conversion-optimised web page — or when they want to A/B test landing page variants or replace a static page with one designed to convert.

NVlabs/Skill2Env

> Visual design direction framework organized by emotional intent (Warm/Cold x Active/Calm). The first design reference system that categorizes sites by what they make you FEEL, not how they look. Includes 48 annotated public website references.

NVlabs/Skill2Env

Run a structured 5-pass finishing audit on any website before launch — scoring visual polish, technical foundation, UX completeness, content quality, and cross-device readiness on 100 points. Use when: **Pre-launch** - Final validation before going live; **Post-redesign** - Verify nothing broke during the overhaul; **Client handoff** - Structured proof that the site is ready; **Quarterly review** - Catch accumulated debt; **Single-pass focus** - Run just Pass 2 after a perf sprint

関連スキル