Communitygithub.com

NVlabs/Skill2Env

產生高轉換率的登陸頁面,輸出為完整的 Next.js/React (TSX) 元件,並搭配 Tailwind CSS。利用實證有效的文案框架(PAS、AIDA、BAB)建立英雄區塊、功能網格、價格表、常見問題手風琴、推薦區塊以及行動呼籲區塊,同時輸出 SEO 中繼標籤、結構化資料與針對 Core Web Vitals 最佳化的高效能程式碼。

Skill2Env 是什麼?

此技能可從產品描述自動產生高轉換率的登陸頁面,輸出格式為完整的 Next.js/React (TSX) 元件,並使用 Tailwind CSS 進行樣式設計。它能產生多種區塊變體,包括英雄區塊、功能區塊、價格表、常見問題手風琴、推薦區塊、行動呼籲區塊與頁尾,並內建四種設計風格(Dark SaaS、Clean Minimal、Bold Startup、Enterprise)與三種文案框架(PAS、AIDA、BAB)。技能會根據品牌語音分析結果自動推薦合適的風格與框架。所有輸出元件皆已針對 Core Web Vitals 進行最佳化(LCP < 1s、CLS < 0.1),並包含完整的 SEO 中繼標籤與結構化資料(FAQPage、Product、Organization Schema)。此技能支援 Claude Code、Cursor 和 Codex 等主流 AI 代理平台,開發者可透過結構化的觸發格式要求產生登陸頁面,系統會依序執行資訊收集、品牌語音分析、風格選擇、文案撰寫、區塊生成、SEO 驗證與最終程式碼輸出等步驟。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/NVlabs/Skill2Env/tree/HEAD/SkillHub/skills/product-team/landing-page-generator

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

登陸頁面產生器

從產品描述產生高轉換率的登陸頁面。輸出完整的 Next.js/React 元件,包含多種區塊變體、實證有效的文案框架、SEO 最佳化以及優先考慮效能的設計模式。不是 Lorem Ipsum,而是真正能轉換的文案。

目標: LCP < 1s · CLS < 0.1 · FID < 100ms
輸出: TSX 元件 + Tailwind 樣式 + SEO 中繼標籤 + 文案變體


核心能力

  • 5 種英雄區塊變體(居中、分割、漸層、影片背景、極簡)
  • 功能區塊(網格、交替、附圖示的卡片)
  • 價格表(2–4 個層級,附功能列表與切換開關)
  • 常見問題手風琴,含 Schema 標記
  • 推薦區塊(網格、輪播、單一引言)
  • 行動呼籲區塊(橫幅、全頁、內嵌)
  • 頁尾(簡潔、大型、極簡)
  • 4 種設計風格,附 Tailwind 類別集合

產生工作流程

每次處理登陸頁面請求時,請依下列步驟進行:

  1. 收集輸入 — 使用下列觸發格式收集產品名稱、標語、目標受眾、痛點、主要益處、價格層級、設計風格與文案框架。僅詢問缺少的欄位。
  2. 分析品牌語音(建議) — 如果使用者有現有的品牌內容(網站文案、部落格文章、行銷素材),請透過 marketing-skill/skills/content-production/scripts/brand_voice_analyzer.py 執行,以取得語音設定檔(正式程度、語氣、觀點)。使用此設定檔來決定設計風格與文案框架的選擇:
    • 正式 + 專業 → enterprise 風格,AIDA 框架
    • 隨性 + 友善 → bold-startup 風格,BAB 框架
    • 專業 + 權威 → dark-saas 風格,PAS 框架
    • 隨性 + 對話式 → clean-minimal 風格,BAB 框架
  3. 選擇設計風格 — 將使用者的選擇(或從品牌語音分析推斷的結果)對應到設計風格參考中的四組 Tailwind 類別集合之一。
  4. 套用文案框架 — 在產生元件之前,使用所選框架(PAS / AIDA / BAB)撰寫所有標題與內文。確保語氣與語音設定檔的正式程度與語氣一致。
  5. 依序產生區塊 — 英雄區塊 → 功能區塊 → 價格表 → 常見問題 → 推薦區塊 → 行動呼籲區塊 → 頁尾。跳過與產品不相關的區塊。
  6. 驗證 SEO 檢查清單 — 在輸出最終程式碼之前,逐一檢查 SEO 檢查清單中的每個項目。立即修正任何遺漏。
  7. 輸出最終元件 — 交付完整、可直接複製貼上的 TSX 檔案,包含所有 Tailwind 類別、SEO 中繼標籤與結構化資料。

觸發此技能

Product: [名稱]
Tagline: [一句話的價值主張]
Target audience: [目標受眾]
Key pain point: [解決的問題]
Key benefit: [主要成果]
Pricing tiers: [免費/專業版/企業版 或 描述]
Design style: dark-saas | clean-minimal | bold-startup | enterprise
Copy framework: PAS | AIDA | BAB

設計風格參考

風格背景強調色卡片CTA 按鈕
Dark SaaSbg-gray-950 text-whiteviolet-500/400bg-gray-900 border border-gray-800bg-violet-600 hover:bg-violet-500
Clean Minimalbg-white text-gray-900blue-600bg-gray-50 border border-gray-200 rounded-2xlbg-blue-600 hover:bg-blue-700
Bold Startupbg-white text-gray-900orange-500shadow-xl rounded-3xlbg-orange-500 hover:bg-orange-600 text-white
Enterprisebg-slate-50 text-slate-900slate-700bg-white border border-slate-200 shadow-smbg-slate-900 hover:bg-slate-800 text-white

Bold Startup 標題:在所有 <h1>/<h2> 元素上加上 font-black tracking-tight。


文案框架

PAS (Problem → Agitate → Solution)

  • H1:他們所處的痛苦狀態
  • 副標題:如果不解決會發生什麼事
  • CTA:你提供的解決方案
  • 範例 — H1: "你的團隊每天浪費 3 小時在手動報表上" / 副標題: "每花一小時在試算表上,就是少了一小時在成交。你的競爭對手已經自動化了。" / CTA: "在 10 分鐘內自動化你的報表 →"

AIDA (Attention → Interest → Desire → Action)

  • H1:大膽吸引注意力的陳述 → 副標題:有趣的事實或益處 → 功能:建立渴望的證明點 → CTA:明確的行動

BAB (Before → After → Bridge)

  • H1:「[現狀] → [未來狀態]」 → 副標題:「以下是 [產品] 如何搭建橋樑」 → 功能:運作方式(橋樑)

代表性元件:英雄區塊(居中漸層 — Dark SaaS)

以此作為所有英雄區塊變體的結構範本。針對分割、影片背景與極簡變體,調整版面類別、漸層方向與圖片位置。

export function HeroCentered() {
  return (
    <section className="relative flex min-h-screen flex-col items-center justify-center overflow-hidden bg-gray-950 px-4 text-center">
      <div className="absolute inset-0 bg-gradient-to-b from-violet-900/20 to-transparent" />
      <div className="pointer-events-none absolute -top-40 left-1/2 h-[600px] w-[600px] -translate-x-1/2 rounded-full bg-violet-600/20 blur-3xl" />
      <div className="relative z-10 max-w-4xl">
        <div className="mb-6 inline-flex items-center gap-2 rounded-full border border-violet-500/30 bg-violet-500/10 px-4 py-1.5 text-sm text-violet-300">
          <span className="h-1.5 w-1.5 rounded-full bg-violet-400" />
          Now in public beta
        </div>
        <h1 className="mb-6 text-5xl font-bold tracking-tight text-white md:text-7xl">
          Ship faster.<br />
          <span className="bg-gradient-to-r from-violet-400 to-pink-400 bg-clip-text text-transparent">
            Break less.
          </span>
        </h1>
        <p className="mx-auto mb-10 max-w-2xl text-xl text-gray-400">
          The deployment platform that catches errors before your users do.
          Zero config. Instant rollbacks. Real-time monitoring.
        </p>
        <div className="flex flex-col items-center gap-4 sm:flex-row sm:justify-center">
          <Button size="lg" className="bg-violet-600 text-white hover:bg-violet-500 px-8">
            Start free trial
          </Button>
          <Button size="lg" variant="outline" className="border-gray-700 text-gray-300">
            See how it works →
          </Button>
        </div>
        <p className="mt-4 text-sm text-gray-500">No credit card required · 14-day free trial</p>
      </div>
    </section>
  )
}

其他區塊模式

功能區塊(交替排列)

使用 features 陣列進行映射,每個項目包含 { title, description, image, badge }。使用 i % 2 === 1 ? "lg:flex-row-reverse" : "" 切換版面方向。使用含明確 width/height 屬性的 <Image> 元件,並加上 rounded-2xl shadow-xl。包覆在 <section className="py-24"> 中,並使用 max-w-6xl 容器。

價格表

使用 plans 陣列進行映射,每個項目包含 { name, price, description, features[], cta, highlighted }。重點方案使用 border-2 border-violet-500 bg-violet-950/50 ring-4 ring-violet-500/20;其他方案使用 border border-gray-800 bg-gray-900。價格為 null 時顯示「自訂」。每個功能列使用 <Check> 圖示。版面:grid gap-8 lg:grid-cols-3。

含 Schema 標記的常見問題

在區塊內使用 <script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(schema) }} /> 注入 FAQPage JSON-LD。將常見問題({ q, a })對應到 shadcn <Accordion>,使用 type="single" collapsible。容器:max-w-3xl。

推薦區塊、行動呼籲區塊、頁尾

  • 推薦區塊: 網格(grid-cols-1 md:grid-cols-3)或單一引言的英雄區塊,包含頭像、姓名、職稱與引言文字。
  • CTA 橫幅: 全寬區塊,包含標題、副標題與兩個按鈕(主要 + 透明)。緊接在下方加入信任訊號(退款保證、品牌標誌列)。
  • 頁尾: 標誌 + 導覽欄 + 社群連結 + 法律資訊。使用 border-t border-gray-800 分隔線。

SEO 檢查清單

  • <title> 標籤:主要關鍵字 + 品牌(50–60 字元)
  • Meta description:益處 + 行動呼籲(150–160 字元)
  • OG image:1200×630px,包含產品名稱與標語
  • H1:每頁一個,包含主要關鍵字
  • 結構化資料:FAQPage、Product 或 Organization Schema
  • 設定 Canonical URL
  • 所有 <Image> 元件皆有替代文字
  • 已設定 robots.txt 與 sitemap.xml
  • Core Web Vitals:LCP < 1s、CLS < 0.1
  • 存在 Mobile viewport meta 標籤
  • 內部連結到價格頁面與文件頁

驗證步驟: 在輸出最終程式碼之前,確認以上檢查清單的每個項目都已滿足。立即修正任何遺漏 — 不要跳過項目。


效能目標

指標目標技術
LCP< 1s預載英雄圖片,在 Next/Image 上使用 priority
CLS< 0.1在所有圖片上設定明確的 width/height
FID/INP< 100ms延遲非關鍵 JavaScript,使用 loading="lazy"
TTFB< 200ms對登陸頁面使用 ISR 或靜態生成
Bundle< 100KB JS使用 @next/bundle-analyzer 進行審計

常見陷阱

  • 英雄圖片未預載 — 為第一個 <Image> 加上 priority prop
  • 缺少行動版斷點 — 始終以行動裝置優先設計,使用 sm: 前綴
  • CTA 文案過於模糊 — "Get started" 勝過 "Learn more";"Start free trial" 勝過 "Sign up"
  • 價格頁面缺少信任訊號 — 在 CTA 附近加入退款保證與推薦
  • 行動版上方無 CTA — 確保按鈕在 375px 視口下無需滾動即可看到

相關技能

  • 品牌語音分析器 (marketing-skill/skills/content-production/scripts/brand_voice_analyzer.py) — 在產生前執行,建立語音設定檔並確保文案一致性
  • UI 設計系統 (product-team/ui-design-system/) — 在建立頁面前,從品牌顏色產生設計 Token
  • 競品分析 (product-team/competitive-teardown/) — 競爭定位有助於決定登陸頁面訊息與差異化

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

Generates a premium single-page HTML landing page with 3D CSS animations, GSAP scroll effects, and mouse-parallax depth. Forcing intake (product + elevator pitch, audience register, brand overrides, tone) locks down positioning before any copy or markup is written, so the page reflects the actual product rather than generic boilerplate. Use whenever the user says 'landing for X', 'create a landing page', 'build a landing page', 'make a landing page for X', 'I need a web page for Y', or provides product/service details and wants a polished website. Also triggers on 'promotional page', 'product page', 'one-pager', 'web presence', 'sales page'. Outputs a single self-contained HTML file (Claude Code) or HTML artifact (Claude.ai). Supports configurable brand colors via CSS custom property overrides.

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

> 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

相關技能