Communitygithub.com

登陸頁面產生器

根據產品描述,產生高效轉換的 Next.js/React 登陸頁面,包含多種區塊變體、經過驗證的文案框架、SEO 最佳化與效能優先的模式。

登陸頁面產生器 是什麼?

此技能會根據產品描述,自動產生完整、可直接貼上使用的 Next.js/React 登陸頁面 TSX 元件。它提供多種設計風格(Dark SaaS、Clean Minimal、Bold Startup、Enterprise)與文案框架(PAS、AIDA、BAB),並內建 SEO 檢查清單與核心網頁指標(LCP < 1s、CLS < 0.1)的效能目標。此技能適用於 Claude Code、Cursor 等支援自訂技能的 AI Agent 平台。工作流程會先收集產品資訊,並可選擇性地透過品牌語調分析腳本建立語音設定檔,再依照指定的順序產生 Hero、功能、定價、FAQ、推薦、CTA 與頁尾等區塊。最終輸出內容包含 TSX 程式碼、Tailwind CSS 樣式、SEO Meta 標籤與結構化資料(如 FAQPage Schema),確保 Landing Page 兼具行銷轉換力與技術效能。

相容平台✓Claude Code~Codex CLI✓Cursor✓Gemini CLI
npx skills add https://github.com/Mr-Nobody-Anonymous/All-skills/tree/HEAD/awesome_skills/frontend/landing-page-generator

在你喜歡的 AI 中提問

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

說明文件

登陸頁面產生器 是做什麼的?

根據產品描述產生高效轉換的登陸頁面。輸出完整的 Next.js/React 元件,包含多種區塊變體、經過驗證的文案框架、SEO 最佳化與效能優先的模式。不是 lorem ipsum,而是能真正轉換的文案。

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

使用時機

  • 你需要在 Next.js 或 React 中產生行銷登陸頁面。
  • 任務涉及以轉換為導向的頁面結構、區塊變體、Tailwind 樣式或 SEO 感知文案。
  • 你希望根據產品描述產出完整的登陸頁面,而非孤立的 UI 片段。

核心功能

  • 5 種 Hero 區塊變體(置中、分割、漸層、影片背景、極簡)
  • 功能區塊(網格、交替、附圖標的卡片)
  • 定價表(2–4 個方案,附功能清單與切換按鈕)
  • 常見問題手風琴(附結構化資料標記)
  • 推薦區塊(網格、輪播、單一引言)
  • 號召性用語區塊(橫幅、全頁、內嵌)
  • 頁尾(簡單、大型、極簡)
  • 4 種設計風格(附 Tailwind 類別集合)

產生工作流程

每次處理登陸頁面請求時,請依序遵循以下步驟:

  1. 收集輸入 — 使用下方的觸發格式,收集產品名稱、標語、受眾、痛點、主要益處、定價方案、設計風格與文案框架。僅詢問遺漏的欄位。
  2. 分析品牌語調(建議) — 如果使用者有現有品牌內容(網站文案、部落格文章、行銷素材),請透過 marketing-skill/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. 依序產生區塊 — Hero → 功能 → 定價 → FAQ → 推薦 → CTA → 頁尾。跳過與產品不相關的區塊。
  6. 驗證 SEO 檢查清單 — 在輸出最終程式碼之前,逐一檢查 SEO 檢查清單中的每個項目。當場修正任何遺漏。
  7. 輸出最終元件 — 交付完整、可直接貼上使用的 TSX 檔案,包含所有 Tailwind 類別、SEO Meta 與結構化資料。

觸發此技能

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(問題 → 強化 → 解決方案)

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

AIDA(注意力 → 興趣 → 渴望 → 行動)

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

BAB(之前 → 之後 → 橋樑)

  • H1:「[之前狀態] → [之後狀態]」 → 副標題:「以下是 [產品] 如何彌合差距」 → 功能:運作方式(橋樑)

代表性元件:Hero(置中漸層 — Dark SaaS)

請將其作為所有 Hero 變體的結構範本。根據 split、video-bg 與 minimal 變體,切換佈局類別、漸層方向與圖片位置。

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" : "" 切換佈局方向。使用 <Image> 並指定 width/height 以及 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 時渲染為「Custom」。每個功能列使用 <Check> 圖示。佈局:grid gap-8 lg:grid-cols-3。

常見問題(附結構化資料標記)

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

推薦、CTA、頁尾

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

SEO 檢查清單

  • <title> 標籤:主要關鍵字 + 品牌(50–60 字元)
  • Meta 描述:益處 + CTA(150–160 字元)
  • OG 圖片:1200×630px,包含產品名稱與標語
  • H1:每頁一個,包含主要關鍵字
  • 結構化資料:FAQPage、Product 或 Organization Schema
  • 設定 Canonical URL
  • 所有 <Image> 元件皆包含替代文字
  • 設定 robots.txt 與 sitemap.xml
  • 核心網頁指標:LCP < 1s,CLS < 0.1
  • 存在 Mobile viewport meta 標籤
  • 內部連結至定價與文件頁面

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


效能目標

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

常見陷阱

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

相關技能

  • 品牌語調分析工具(marketing-skill/content-production/scripts/brand_voice_analyzer.py) — 在產生之前執行,以建立語調設定檔並確保文案一致性
  • UI 設計系統(product-team/ui-design-system/) — 在建立頁面之前,從品牌色彩產生設計權杖
  • 競爭對手分析(product-team/competitive-teardown/) — 競爭定位可為登陸頁面訊息與差異化提供資訊

限制

  • 僅在任務明確符合上述範圍時使用此技能。
  • 請勿將輸出視為環境特定驗證、測試或專家審查的替代品。
  • 如果缺少必要輸入、權限、安全邊界或成功標準,請停止並要求釐清。

Individual skills in this repo

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

Mr-Nobody-Anonymous/All-skills

Build agency portfolios. TRIGGERS - Use when user needs help with agency-portfolio-builder related tasks.

Mr-Nobody-Anonymous/All-skills

Generate landing pages with AI. TRIGGERS - Use when user needs help with ai-landing-page-gen related tasks.

Mr-Nobody-Anonymous/All-skills

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

Mr-Nobody-Anonymous/All-skills

Review investment portfolios with rebalancing recommendations. TRIGGERS - Use when user needs help with investment-portfolio-review related tasks.

Mr-Nobody-Anonymous/All-skills

Create makeup artist portfolio guides. TRIGGERS - Use when user needs help with makeup-artist-portfolio related tasks.

Mr-Nobody-Anonymous/All-skills

Build freelance portfolios with case studies. TRIGGERS - Use when user needs help with freelance-portfolio-builder related tasks.

Mr-Nobody-Anonymous/All-skills

Structures secondary portfolio construction with vintage diversification, strategy mix, and geographic allocation optimization. Use when building secondary portfolios, managing allocation targets, or optimizing portfolio composition.

Mr-Nobody-Anonymous/All-skills

Optimize landing page copy for conversions. TRIGGERS - Use when user needs help with landing-page-optimizer related tasks.

Mr-Nobody-Anonymous/All-skills

Build copywriting portfolios. TRIGGERS - Use when user needs help with copywriting-portfolio related tasks.

Mr-Nobody-Anonymous/All-skills

Design cryptocurrency portfolio strategies. TRIGGERS - Use when user needs help with crypto-portfolio-strategy related tasks.

Mr-Nobody-Anonymous/All-skills

Build UX design portfolios. TRIGGERS - Use when user needs help with ux-portfolio-builder related tasks.

Mr-Nobody-Anonymous/All-skills

Design cloud landing zones. TRIGGERS - Use when user needs help with cloud-landing-zone related tasks.

Mr-Nobody-Anonymous/All-skills

Generate high-converting landing page copy with headlines, benefits, CTAs, and social proof. TRIGGERS - Use when user wants landing page copy, sales page content, or conversion-focused web copy.

Mr-Nobody-Anonymous/All-skills

Design portfolio assessment systems. TRIGGERS - Use when user needs help with portfolio-assessment related tasks.

Mr-Nobody-Anonymous/All-skills

Conducts portfolio performance measurement with benchmark comparison, attribution, and risk-adjusted metrics. Use when measuring portfolio performance, calculating Sharpe/Sortino ratios, or conducting performance attribution.

Mr-Nobody-Anonymous/All-skills

Builds strategic and tactical asset allocation models with risk-return optimization and constraint management. Use when constructing portfolios, optimizing asset allocation, or building model portfolios.

Mr-Nobody-Anonymous/All-skills

Creates client-facing portfolio reports with performance, allocation, commentary, and outlook. Use when producing client reports, preparing quarterly reviews, or creating portfolio summaries.

Mr-Nobody-Anonymous/All-skills

Design investment portfolios. TRIGGERS - Use when user needs help with investment-portfolio-design related tasks.

Mr-Nobody-Anonymous/All-skills

Plan investment portfolios. TRIGGERS - Use when user needs help with investment-portfolio-plan related tasks.

Mr-Nobody-Anonymous/All-skills

You are a Conversion Rate Optimization Strategist and Persuasive Content Specialist. Use this skill when the user wants to audit or improve a landing page, write conversion-focused copy, optimize CTAs, build an FAQ schema block, translate features into benefits, or maximize conversions on any specific page type. Activate when the user mentions "landing page," "sales page," "lead capture page," "squeeze page," "webinar sign-up page," "product launch page," "waitlist page," "early access page," "thank you page," "upsell page," "SaaS pricing page," "onboarding page," "ecommerce page," "audit this page," "improve conversions," "CTA optimization," "hero section," "headline rewrite," "subhead," "benefits section," "features to benefits," "FAQ schema," "schema FAQ," "trust elements," "page layout," "above the fold," "scroll order," "microcopy," "mobile-first copy," "landing page copy," "page flow," "drop-off," "weak CTA," "conversion copy," "page goal," "split test copy," "A/B test copy," or "wireframe suggestion...

相關技能