Communitygithub.com

ASoudy/AGS

根據產品描述,使用 Next.js/React 與 Tailwind CSS 生成高轉換率的登陸頁面。採用 PAS、AIDA 和 BAB 文案框架,產出優化過的元件(主視覺、功能、定價),並專注於 Core Web Vitals 和 SEO。

AGS 是什麼?

此技能能根據簡單的產品描述,自動生成完整的、高轉換率的 Next.js / React 登陸頁面。它不只產生排版,更內建了多種經過驗證的行銷文案框架(PAS、AIDA、BAB)與多種設計風格(如 Dark SaaS、Bold Startup),確保輸出的程式碼同時具備優異的轉換率與視覺效果。此技能支援生成主視覺、功能介紹、定價表、常見問題、見證等眾多區塊,並會自動嵌入 FAQPage 等結構化資料以強化 SEO。其生成工作流程會先引導你收集產品資訊,並可選擇分析品牌語調來決定最合適的設計與文案,最後再依據 SEO 清單進行驗證,確保 LCP 小於 1 秒、CLS 小於 0.1 等效能目標。這套工具主要用於 Claude Code、Cursor、Codex 等 AI 編碼代理,能將行銷頁面的開發時間從數小時縮短至數分鐘,直接產出可直接複製貼上的 TSX 元件與 Tailwind 樣式。

相容平台✓Claude Code~Codex CLI✓Cursor✓Gemini CLI
npx skills add https://github.com/ASoudy/AGS/tree/HEAD/AGAS/plugins/antigravity-awesome-skills-claude/skills/landing-page-generator

在你喜歡的 AI 中提問

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

說明文件

登陸頁面產生器

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

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

使用時機

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

核心能力

  • 5 種主視覺區塊變體(置中、分割、漸層、影片背景、極簡)
  • 功能區塊(網格、交替、圖示卡片)
  • 定價表(2–4 層級含功能列表與切換開關)
  • 常見問題手風琴含 schema markup
  • 見證區塊(網格、輪播、單一引言)
  • 行動呼籲(CTA)區塊(橫幅、全頁、行內)
  • 頁尾(簡單、大型、極簡)
  • 4 種設計風格含 Tailwind class 組合

產生工作流程

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

  1. 收集輸入 — 使用下方的觸發格式收集產品名稱、標語、目標受眾、痛點、主要效益、定價層級、設計風格和文案框架。僅詢問缺少的欄位。
  2. 分析品牌語調(建議) — 如果使用者有現有的品牌內容(網站文案、部落格文章、行銷素材),請透過 marketing-skill/content-production/scripts/brand_voice_analyzer.py 執行,以取得語調設定檔(正式程度、語氣、觀點)。使用此設定檔來決定設計風格與文案框架的選擇:
    • 正式 + 專業 → enterprise 風格,AIDA 框架
    • 隨意 + 友善 → bold-startup 風格,BAB 框架
    • 專業 + 權威 → dark-saas 風格,PAS 框架
    • 隨意 + 對話式 → clean-minimal 風格,BAB 框架
  3. 選擇設計風格 — 將使用者的選擇(或從品牌語調分析推斷)對應到設計風格參考中的四種 Tailwind class 組合之一。
  4. 套用文案框架 — 在產生元件之前,使用所選的框架(PAS / AIDA / BAB)撰寫所有標題與內文。確保語氣設定檔的正式程度與語氣貫穿全文。
  5. 依序產生區塊 — 主視覺 → 功能 → 定價 → 常見問題 → 見證 → 行動呼籲 → 頁尾。跳過與產品不相關的區塊。
  6. 根據 SEO 清單驗證 — 在輸出最終程式碼之前,檢查 SEO 清單中的每一項。即時修補任何遺漏。
  7. 輸出最終元件 — 交付完整、可直接複製貼上的 TSX 檔案,包含所有 Tailwind class、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:「[之前狀態] → [之後狀態]」 → 副標:「以下是 [產品] 如何填補這個差距」 → 功能:如何運作(橋樑)

代表性元件:主視覺(置中漸層 — Dark SaaS)

將此作為所有主視覺變體的結構模板。針對分割、影片背景和極簡變體,替換佈局 class、漸層方向和圖片位置。

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、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 價格渲染為 "Custom"。每個功能列使用 <Check> 圖示。佈局:grid gap-8 lg:grid-cols-3。

常見問題含 Schema Markup

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

見證、行動呼籲、頁尾

  • 見證: 網格(grid-cols-1 md:grid-cols-3)或單一引言主視覺區塊,包含頭像、姓名、職稱和引言文字。
  • CTA 橫幅: 全寬區塊,包含標題、副標題和兩個按鈕(主要 + ghost)。緊接在下方加入信任訊號(滿意保證、品牌標誌條)。
  • 頁尾: 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> 元件皆有圖片 alt 文字
  • robots.txt 和 sitemap.xml 已配置
  • Core Web Vitals: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 或靜態生成
Bundle< 100KB JS使用 @next/bundle-analyzer 進行審計

常見陷阱

  • 主視覺圖片未預載 — 為第一個 <Image> 加上 priority prop
  • 缺少行動裝置斷點 — 始終以行動優先設計,使用 sm: 前綴
  • CTA 文案太模糊 — "Get started" 優於 "Learn more";"Start free trial" 優於 "Sign up"
  • 定價頁面缺少信任訊號 — 在 CTA 附近加入滿意保證和見證
  • 行動裝置上無摺疊處上方的 CTA — 確保在 375px 寬度視窗下不需滾動即可看到按鈕

相關技能

  • Brand Voice Analyzer(marketing-skill/content-production/scripts/brand_voice_analyzer.py)— 在產生前執行,以建立語調設定檔並確保文案一致性
  • UI Design System(product-team/ui-design-system/)— 在建立頁面之前,根據品牌顏色生成設計 token
  • Competitive Teardown(product-team/competitive-teardown/)— 競爭定位可為登陸頁面訊息與差異化提供資訊

限制

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

Individual skills in this repo

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

ASoudy/AGS

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

ASoudy/AGS

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

ASoudy/AGS

Build content-focused websites with Astro — zero JS by default, islands architecture, multi-framework components, and Markdown/MDX support.

ASoudy/AGS

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

ASoudy/AGS

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.

ASoudy/AGS

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

ASoudy/AGS

Pull a YouTube video transcript into a queryable markdown vault with yt-dlp subtitle discovery, VTT cleanup, metadata frontmatter, and capture-seed stubs.

ASoudy/AGS

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.

ASoudy/AGS

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

ASoudy/AGS

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 悬停效果

ASoudy/AGS

Comprehensive patterns for Next.js 14+ App Router architecture, Server Components, and modern full-stack React development.

ASoudy/AGS

Next.js App Router principles. Server Components, data fetching, routing patterns.

ASoudy/AGS

Expert integration of Supabase Auth with Next.js App Router

ASoudy/AGS

React and Next.js 14+ application development with App Router, Server Components, TypeScript, Tailwind CSS, and modern frontend patterns.

ASoudy/AGS

Best practices for Remotion - Video creation in React

ASoudy/AGS

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

ASoudy/AGS

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

ASoudy/AGS

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.

ASoudy/AGS

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

ASoudy/AGS

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

相關技能