Communitygithub.com

Anhvu1107/all-agent-skill

總是在請求符合登陸頁面生成器時使用:生成使用 Tailwind CSS 的高轉換率 Next.js/React 登陸頁面。

all-agent-skill 是什麼?

此技能專為生成高轉換率的 Next.js/React 登陸頁面而設計,並使用 Tailwind CSS 進行樣式設定。它提供了一個完整的結構化工作流程,引導使用者從收集產品資訊(如名稱、標語、目標受眾、痛點和定價方案)開始,並選擇四種設計風格(暗色 SaaS、簡潔極簡、大膽初創、企業級)之一。該技能整合了四種經過驗證的文案框架(PAS、AIDA、BAB)和品牌語音分析功能,以確保訊息傳遞的一致性和有效性。它會輸出包含多種區塊變體(如英雄區塊、功能列表、定價表、常見問題和行動呼籲)的完整 TSX 元件,並內建 SEO 檢查清單和效能目標(LCP < 1s,CLS < 0.1),確保產出的頁面不僅外觀出色,在真實環境中也能高效運行。使用時只需提供產品描述,就能獲得可直接複製貼上的登陸頁面程式碼。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Anhvu1107/all-agent-skill/tree/HEAD/.agent/skills/landing-page-generator

在你喜歡的 AI 中提問

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

說明文件

登陸頁面生成器

選擇性閱讀規則

請從以下檔案開始:

  • references/usage-routing.md
  • references/quality-checklist.md

然後僅載入與使用者實際任務相關的繼承文件、腳本、資產或範例。

選擇性閱讀規則

請從以下檔案開始:

  • references/senior-master-standard.md

然後僅載入使用者實際任務所需的參考資料、腳本、資產或範例。

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

目標: 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 和結構化資料。

觸發此技能

產品: [name]
標語: [一句話的價值主張]
目標受眾: [他們是誰]
關鍵痛點: [你解決什麼問題]
主要效益: [主要成果]
定價方案: [免費/專業/企業 或描述]
設計風格: dark-saas | clean-minimal | bold-startup | enterprise
文案框架: 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" : "" 切換佈局方向。使用 <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 時顯示「自訂」。每行功能使用 <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。

客戶評價、行動呼籲、頁尾

  • 客戶評價: 網格(grid-cols-1 md:grid-cols-3)或單一引言英雄區塊,包含大頭貼、姓名、角色和引言文字。
  • CTA 橫幅: 全寬區塊,包含主標題、副標題和兩個按鈕(主要 + 幽靈)。在下方立即添加信任訊號(退款保證、標誌列)。
  • 頁尾: 標誌 + 導航欄 + 社交連結 + 法律資訊。使用 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
  • 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 文案過於模糊 — 「立即開始」勝過「了解更多」;「開始免費試用」勝過「註冊」
  • 定價頁面缺少信任訊號 — 在 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.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches 007: Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Agentfolio: Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Animejs Animation: Advanced JavaScript animation library skill for creating complex, high-performance web animations.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Astropy: Astropy is the core Python package for astronomy, providing essential functionality for astronomical research and data analysis.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Astro: Build content-focused websites with Astro — zero JS by default, islands architecture, multi-framework components, and Markdown/MDX support.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Emotional ARC Designer: One sentence - what this skill does and when to invoke it

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Fixing Motion Performance: Audit and fix animation performance issues including layout thrashing, compositor properties, scroll-linked motion, and blur effects.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches I18n Localization: Internationalization and localization patterns.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Interactive Portfolio: Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches JQ: Expert jq usage for JSON querying, filtering, transformation, and pipeline integration.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches LEX: Centralized ''Truth Engine'' for cross-jurisdictional legal context (US, EU, CA) and contract scaffolding.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Magic Animator: AI-powered animation tool for creating motion in logos, UI, icons, and social media assets.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Makepad Animation: CRITICAL: Use for Makepad animation system.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Nextjs APP Router Patterns: Comprehensive patterns for Next.js 14+ App Router architecture, Server Components, and modern full-stack React development.

Anhvu1107/all-agent-skill

ALWAYS use this when the user mentions Nextjs Best Practices, asks to build, debug, review, document, automate, test, configure, migrate, or make decisions in this domain, or the task clearly depends on Nextjs Best Practices; scope: Next.js App Router principles. Apply the bundled workflow, references, scripts, Senior Master standard, and Codex strict review gate before final output.

Anhvu1107/all-agent-skill

description: ALWAYS use this when the work is specifically about modern Next.js or React architecture, data flow, rendering strategy, routing, or performance-sensitive frontend behavior.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Nextjs Supabase Auth: Expert integration of Supabase Auth with Next.js App Router

Anhvu1107/all-agent-skill

ALWAYS use this when the task involves reading, extracting, splitting, merging, rotating, creating, validating, OCR-ing, form-filling, or otherwise producing or modifying PDF files.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches React Nextjs Development: React and Next.js 14+ application development with App Router, Server Components, TypeScript, Tailwind CSS, and modern frontend patterns.

Anhvu1107/all-agent-skill

ALWAYS use this when working with Remotion code, video compositions, rendering logic, timing, media assets, or React-based motion workflows.

相關技能