Communitygithub.com

AbobakrDiara61/railway-system

產生高轉換率的 Next.js/React 著陸頁,搭配 Tailwind CSS。運用 PAS、AIDA 和 BAB 文案框架,優化元件(英雄區塊、特色、價格)並專注於核心網頁指標與 SEO。

railway-system 是什麼?

此技能旨在根據產品描述自動生成高轉換率的行銷著陸頁。它專注於 Next.js 和 React 生態系統,並使用 Tailwind CSS 進行樣式設計。核心優勢在於,它不僅產生佔位文字 (lorem ipsum),而是根據 PAS、AIDA 和 BAB 等經證實有效的文案框架,生成真正能促成轉換的文案。技能提供了多種區塊變體(如 5 種英雄區塊、多種特色與價格表),並內建 SEO 檢查清單與效能目標(LCP < 1s、CLS < 0.1),確保輸出的頁面具備優異的使用者體驗和搜尋引擎友善性。透過結構化的步驟(收集輸入、分析品牌語調、選擇設計風格、套用文案框架、依序生成區塊、SEO 驗證),開發者可以快速產出可直接複製貼上的完整 TSX 元件。

相容平台✓Claude Code~Codex CLI✓Cursor✓Gemini CLI
npx skills add https://github.com/AbobakrDiara61/railway-system/tree/HEAD/frontend/skills/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 種英雄區塊變體(置中、分割、漸層、影片背景、極簡)
  • 特色區塊(網格、交替排列、帶有圖示的卡片)
  • 價格表(2-4 層級,附功能列表與切換開關)
  • 常見問題手風琴,附結構化資料標記
  • 客戶推薦(網格、輪播、單一引言)
  • 行動呼籲區塊(橫幅、全頁、內嵌)
  • 頁尾(簡單、大型、極簡)
  • 4 種設計風格,搭配 Tailwind 類別集合

生成工作流程

對於每個著陸頁請求,請依序執行以下步驟:

  1. 收集輸入 — 使用下方觸發格式收集產品名稱、標語、目標受眾、痛點、關鍵利益、價格層級、設計風格和文案框架。僅詢問缺失的欄位。
  2. 分析品牌語調(建議)— 如果使用者有既有的品牌內容(網站文案、部落格文章、行銷素材),請透過 marketing-skill/content-production/scripts/brand_voice_analyzer.py 執行,以取得語調輪廓(正式程度、語氣、觀點)。使用此輪廓來指導設計風格和文案框架的選擇:
    • 正式 + 專業 → 企業風格,AIDA 框架
    • 隨性 + 友好 → 大膽新創風格,BAB 框架
    • 專業 + 權威 → 深色 SaaS 風格,PAS 框架
    • 隨性 + 對話式 → 乾淨極簡風格,BAB 框架
  3. 選擇設計風格 — 將使用者的選擇(或從品牌語調分析推斷)映射到設計風格參考中的四種 Tailwind 類別集合之一。
  4. 套用文案框架 — 在生成元件之前,使用所選框架(PAS / AIDA / BAB)撰寫所有標題和內文。在整個過程中匹配語調輪廓的正式程度和語氣。
  5. 依序生成區塊 — 英雄區塊 → 特色 → 價格 → 常見問題 → 客戶推薦 → 行動呼籲 → 頁尾。跳過與產品不相關的區塊。
  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 按鈕
深色 SaaSbg-gray-950 text-whiteviolet-500/400bg-gray-900 border border-gray-800bg-violet-600 hover:bg-violet-500
乾淨極簡bg-white text-gray-900blue-600bg-gray-50 border border-gray-200 rounded-2xlbg-blue-600 hover:bg-blue-700
大膽新創bg-white text-gray-900orange-500shadow-xl rounded-3xlbg-orange-500 hover:bg-orange-600 text-white
企業bg-slate-50 text-slate-900slate-700bg-white border border-slate-200 shadow-smbg-slate-900 hover:bg-slate-800 text-white

大膽新創 標題:在所有 <h1>/<h2> 元素上添加 font-black tracking-tight。


文案框架

PAS(問題 → 加劇 → 解決方案)

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

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

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

BAB(之前 → 之後 → 橋樑)

  • H1:「[之前狀態] → [之後狀態]」 → 副標題:「以下是 [產品] 如何搭建橋樑」 → 特色:運作方式(橋樑)

代表性元件:英雄區塊(置中漸層 — 深色 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" />
          現已公開測試版
        </div>
        <h1 className="mb-6 text-5xl font-bold tracking-tight text-white md:text-7xl">
          更快出貨。<br />
          <span className="bg-gradient-to-r from-violet-400 to-pink-400 bg-clip-text text-transparent">
            減少故障。
          </span>
        </h1>
        <p className="mx-auto mb-10 max-w-2xl text-xl text-gray-400">
          在使用者發現錯誤之前就能捕捉錯誤的部署平台。
          零配置。即時回滾。即時監控。
        </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">
            開始免費試用
          </Button>
          <Button size="lg" variant="outline" className="border-gray-700 text-gray-300">
            查看運作方式 →
          </Button>
        </div>
        <p className="mt-4 text-sm text-gray-500">無需信用卡 · 14 天免費試用</p>
      </div>
    </section>
  )
}

其他區塊模式

特色區塊(交替排列)

遍歷一個 features 陣列,其元素包含 { title, description, image, badge }。使用 i % 2 === 1 ? "lg:flex-row-reverse" : "" 切換佈局方向。使用帶有明確 width/height 和 rounded-2xl shadow-xl 的 <Image>。包裝在 <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。

包含結構化資料標記的常見問題

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

客戶推薦、行動呼籲、頁尾

  • 客戶推薦: 網格(grid-cols-1 md:grid-cols-3)或帶有大頭照、姓名、職位和引言文字的單一引言英雄區塊。
  • CTA 橫幅: 全寬區塊,包含標題、副標題和兩個按鈕(主要 + 幽靈)。在正下方添加信任訊號(滿意保證、標誌列)。
  • 頁尾: 標誌 + 導航欄 + 社交連結 + 法律資訊。使用 border-t border-gray-800 分隔線。

SEO 檢查清單

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

驗證步驟: 在輸出最終程式碼之前,確認上述檢查清單中的每個項目都已滿足。內聯修補任何差距 — 不要跳過任何項目。


效能目標

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

常見陷阱

  • 英雄圖片未預載 — 為第一個 <Image> 添加 priority 屬性
  • 缺少行動版斷點 — 始終使用 sm: 前綴進行行動版優先設計
  • CTA 文案過於模糊 — 「開始使用」優於「了解更多」;「開始免費試用」優於「註冊」
  • 價格頁面缺少信任訊號 — 在 CTA 附近添加滿意保證和客戶推薦
  • 在行動版上沒有首屏 CTA — 確保在 375px 寬的視口上,無需滾動即可看到按鈕

相關技能

  • 品牌語調分析器(marketing-skill/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 20 individual skills — each has its own dedicated page.

AbobakrDiara61/railway-system

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

AbobakrDiara61/railway-system

Advanced JavaScript animation library skill for creating complex, high-performance web animations.

AbobakrDiara61/railway-system

Astropy is the core Python package for astronomy, providing essential functionality for astronomical research and data analysis.

AbobakrDiara61/railway-system

One sentence - what this skill does and when to invoke it

AbobakrDiara61/railway-system

Audit and fix animation performance issues including layout thrashing, compositor properties, scroll-linked motion, and blur effects. Use when animations stutter, transitions jank, or reviewing CSS/JS animation performance.

AbobakrDiara61/railway-system

Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.

AbobakrDiara61/railway-system

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities.

AbobakrDiara61/railway-system

AI-powered animation tool for creating motion in logos, UI, icons, and social media assets.

AbobakrDiara61/railway-system

CRITICAL: Use for Makepad animation system. Triggers on: makepad animation, makepad animator, makepad hover, makepad state, makepad transition, "from: { all: Forward", makepad pressed, makepad 动画, makepad 状态, makepad 过渡, makepad 悬停效果

AbobakrDiara61/railway-system

Best practices for Remotion - Video creation in React

AbobakrDiara61/railway-system

Generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text overlays

AbobakrDiara61/railway-system

Seek and analyze video content using Memories.ai Large Visual Memory Model for persistent video intelligence

AbobakrDiara61/railway-system

Writes complete, structured landing pages optimized for SEO ranking, AEO citation, and visitor conversion. Activate when the user wants to write or generate a landing page for a product, service, or offer.

AbobakrDiara61/railway-system

Three.js animation - keyframe animation, skeletal animation, morph targets, animation mixing. Use when animating objects, playing GLTF animations, creating procedural motion, or blending animations.

AbobakrDiara61/railway-system

Automate TikTok tasks via Rube MCP (Composio): upload/publish videos, post photos, manage content, and view user profiles/stats. Always search tools first for current schemas.

AbobakrDiara61/railway-system

Video and audio perception, indexing, and editing. Ingest files/URLs/live streams, build visual/spoken indexes, search with timestamps, edit timelines, add overlays/subtitles, generate media, and create real-time alerts.

AbobakrDiara61/railway-system

Upload, stream, search, edit, transcribe, and generate AI video and audio using the VideoDB SDK.

AbobakrDiara61/railway-system

One sentence - what this skill does and when to invoke it

AbobakrDiara61/railway-system

Automate YouTube tasks via Rube MCP (Composio): upload videos, manage playlists, search content, get analytics, and handle comments. Always search tools first for current schemas.

AbobakrDiara61/railway-system

Extract transcripts from YouTube videos and generate comprehensive, detailed summaries using intelligent analysis frameworks

相關技能