Communitygithub.com

anubhavg-icpl/vibe

根據產品描述與品牌設定,生成一個具有 3D CSS 動畫、GSAP 滾動特效與滑鼠視差效果的頂級單頁 HTML 登陸頁面。

vibe 是什麼?

這項技能「vibe」專門用於生成一個單一、自包含的 `.html` 登陸頁面,專注於提供優質的視覺體驗。它與其他產生 Next.js 元件的登陸頁面技能不同,此技能只輸出一個純 HTML 檔案,所有 CSS 與 JS 都內嵌在其中,僅透過 CDN 引用 Google Fonts 與 GSAP 函式庫。 在生成頁面之前,技能會強制執行一個「四階段提問」流程,依序詢問產品/服務電梯簡報、目標受眾(技術買家、商業買家、消費者或內部使用)、品牌顏色覆寫(預設為深色海軍藍與青綠色)以及語氣(專業、俏皮、權威或簡約)。這個設計確保頁面的內容與定位完全基於實際產品,而非套用通用模板。 技能在 Claude Code CLI 或 Claude.ai 網頁版中均能運作,並會根據產品名稱自動產生 kebab-case 的檔案名稱。它內建了一套完整的品牌系統與動畫模式,包括英雄區塊的 GSAP 入場時間軸、滑鼠視差效果、滾動觸發的卡片動畫、CSS 浮動裝飾形狀以及滾動指示器。生成的 HTML 檔案會通過 `html_validator.py` 驗證,確保包含所有必要區塊、CDN 依賴與回應式中斷點。 此技能非常適合需要快速建立高品質、視覺吸引力強且可直接使用的登陸頁面的場合,使用者只需提供基本的產品資訊,技能就能自動推導出文案與視覺風格,並允許透過品牌顏色覆寫來貼近既有網站的設計。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/anubhavg-icpl/vibe/tree/HEAD/skills/rezvani-landing

在你喜歡的 AI 中提問

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

說明文件

Landing — 頂級 HTML 登陸頁面產生器

與 product-team/skills/landing-page-generator/ 有所區別。 該技能輸出的是針對轉換/潛在客戶開發最佳化的 Next.js TSX 元件。而「本」技能輸出的是單一自包含的 .html 檔案,並針對使用 GSAP 動畫的優質視覺體驗進行最佳化。請根據使用情境選擇。

根據文字提示或簡要說明,生成一個精美、自包含的 .html 登陸頁面。輸出結果是「一個」HTML 檔案:所有 CSS 內嵌於 <style>,所有 JS 內嵌於 <script>,唯一的外部依賴是透過 CDN 引入的 Google Fonts 與 GSAP。此頁面視覺獨特、具備動畫效果,且達到生產水準。

觸發條件

  • "create a landing page"
  • "build a landing page"
  • "make a landing page for X"
  • "I need a web page for Y"
  • "promotional page"
  • "product page"
  • "one-pager"
  • "web presence"
  • "sales page"
  • "landing for X"

輸出模式

在 Claude Code CLI 中,將檔案寫入磁碟的指定路徑。在 Claude.ai 網頁版 中,建立一個包含相同內容的 HTML artifact。

階段零:強制提問(依序提出 4 個引導問題)

問題彼此有依賴關係。每個問題都會附帶「為何我要問這個」。停止條件:最多 4 題。

Q1(根本問題)— 產品 / 服務

產品或服務是什麼?請提供名稱 + 1–2 句的電梯簡報 — 它做什麼,目標用戶是誰?

為何我要問這個: 主標題、副標題和功能文案皆由此衍生。例如:「生產力應用程式」會產出通用模板;而「專為討厭 Zoom 的遠端工程團隊設計的非同步站立會議工具」則會產出高轉換率的登陸頁面。

拒絕模糊回答。 如果使用者只提供名稱而無簡報,請退回一次:「它做什麼?目標用戶是誰?」如果退回後仍未提供簡報,則在交付時明確加上「通用定位」的但書。

Q2(依賴 Q1)— 受眾類別

目標受眾是誰?請選擇一項:

  1. 技術買家(工程師、營運、安全)
  2. 商業買家(產品經理、高階主管、營運領導)
  3. 消費者(一般大眾、業餘愛好者)
  4. 內部使用(員工、合作夥伴 — 非對外銷售)

為何我要問這個: 受眾決定了文案用語、專業術語程度、社會證明的選擇以及行動呼籲的框架。技術買家想要具體細節;消費者想要效益;內部頁面則可省略說服環節。

強制選擇。

Q3(總是詢問)— 品牌覆寫

要用來覆寫預設值(深色海軍藍 + 青綠色 + Inter 字型)的品牌顏色/字型?請提供:主要 HEX、強調色 HEX、可選的背景 HEX。或者說「保留預設」以使用精心設計的預設主題。

為何我要問這個: 預設主題經過精心設計,十分美觀。但若能符合您的品牌,會讓頁面感覺像是您現有網站的原生部分。即使只覆寫主要顏色也能產生很大的影響。

接受「保留預設」或部分覆寫(例如僅提供主要色)。如果僅提供主要色,則以演算法推導出強調色(變亮 / 變暗)。

Q4(依賴 Q1)— 語氣

語氣 — 請選擇一項:

  1. 專業 — 自信、內斂、適合 B2B
  2. 俏皮 — 溫暖、輕快、偶爾幽默
  3. 權威 — 專家、數據導向、建立信任
  4. 簡約 — 精簡、設計主導、文案密度低

為何我要問這個: 語氣影響每一句文案 — 主標題、微文案、按鈕文字、結尾文案。事先選定可避免不同區塊之間語氣不連貫。

強制選擇。推薦預設: 如果 Q2 為技術/商業買家,則選「專業」;如果 Q2 為消費者,則選「俏皮」;如果產品是設計主導的,則選「簡約」。

停止條件: Q4 完成後,即開始提交並生成。生成過程中不再追問。

內容提取(附有備用策略)

根據 Q1 的電梯簡報,推導出:

  • 英雄主標題 — 濃縮「產品功能」的版本(8–12 字)
  • 英雄副標題 — 說明「目標用戶 + 效益」的版本(1–2 句)
  • 3–6 項功能要點 — 根據簡報 + 受眾(Q2)+ 語氣(Q4)提煉
  • 行動呼籲(CTA)文字 — 行動導向,符合語氣
  • 結尾文案 — 簡短、富有情感,符合語氣

輸入資訊不足時的備用方案: 根據產品名稱的語意 + 受眾類別來創造有說服力的內容。並在 HTML 原始碼中以註解標記推導出的內容(<!-- inferred: ... -->)。請不要為了等待更多輸入而停滯。

品牌系統規格

預設調色盤(深色海軍藍 + 青綠色)

:root {
  --navy:       #0A1628;
  --navy-mid:   #0D1F38;
  --teal:       #00D4AA;
  --teal-glow:  rgba(0, 212, 170, 0.12);
  --amber:      #F5A623;
  --off-white:  #F7F7F2;
  --text-muted: rgba(247, 247, 242, 0.68);
  --card-bg:    rgba(0, 212, 170, 0.06);
  --card-border:rgba(0, 212, 170, 0.15);
}

覆寫模式

當 Q3 提供自訂品牌值時,技能會將其替換到 :root 區塊中:

品牌覆寫:
- primary: #FF6B35    →  --navy / 英雄區背景
- accent:  #2EC4B6    →  --teal / 行動呼籲 / 亮點
- bg:      #011627    →  --navy-mid / 區塊背景
- text:    #FDFFFC    →  --off-white

如果僅提供主要色(primary),則以演算法推導出強調色(accent)(將 primary 變亮 15% 作為 accent;變暗 8% 作為 navy-mid;轉換為 rgba 並設定 0.12 alpha 作為 glow)。請使用 scripts/brand_palette_validator.py 進行確定性推導。

請參閱 references/brand_system_design.md 以了解色彩理論、WCAG 無障礙標準以及演算法調色盤推導的權威說明。

字體排印

  • 字型家族: Inter(透過 Google Fonts)
  • 字重層級: 400(內文)、500(眉題)、600(連結)、700(副標題)、800(H1 + H2)
  • 大小層級:
    • 英雄區 H1:68–82px
    • 區塊 H2:52–62px
    • 卡片標題:22px
    • 內文:17–19px
    • 眉題:13px(大寫、字母間距)
    • 行動呼籲按鈕:18px(500 字重)

元件(必須指定 CSS)

  • .btn-primary — 行動呼籲按鈕,帶有懸停狀態(上移 + 亮度提升)
  • .feature-card — 卡片,帶有懸停上移效果(translateY(-6px) + 邊框亮度提升)
  • .eyebrow — 字母間距(0.2em)的大寫分類標籤

區塊一:英雄區

  • min-height: 100vh,內容使用 flex 居中
  • H1 上方可選擇性地放置眉題標籤
  • H1(68–82px,800 字重)
  • 副標題(17–19px,1–2 句)
  • 行動呼籲按鈕(.btn-primary)
  • 向下滾動指示器(帶動畫的箭頭,CSS 彈跳)
  • 深度圖層(滑鼠視差):
    • .hero-shapes-back — 大型模糊圓形,絕對定位,低透明度
    • .hero-shapes-mid — 較小形狀,邊緣較清晰,較高透明度
    • 內容層(H1 + 副標題)— 沿相同方向微幅移動

區塊二:功能特色

  • 預設 3 欄(repeat(3, 1fr) 網格)
  • 回應式:
    • 在 900px 斷點時變為 2 欄
    • 在 580px 斷點時變為 1 欄
  • 每個卡片:
    • SVG 圖示(28px,stroke=var(--teal),無填色)
    • 標題(22px,700 字重)
    • 描述(15–16px,--text-muted)
  • 懸停狀態:
    • transform: translateY(-6px)
    • border-color: var(--teal)(從 --card-border 變亮)
    • transition: 0.3s ease

區塊三:結尾行動呼籲

  • 全寬,background: var(--navy-mid)
  • padding: 120px 24px,文字置中
  • 大型結尾標題(52–62px,800 字重)
  • 簡短副文字(--text-muted,1–2 句)
  • 行動呼籲按鈕,其背後有環境放射狀漸層光暈:
    background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
    

動畫模式

請參閱 references/gsap_animation_patterns.md 以了解權威說明。需要五種模式:

1. 英雄區入場(GSAP 時間軸)

// 必須先使用 gsap.set() 以防止 FOUC(內容閃爍)
gsap.set([".eyebrow", ".hero h1", ".hero .subtitle", ".btn-primary", ".scroll-down"], {
  opacity: 0,
  y: 30
});

const tl = gsap.timeline({ defaults: { ease: "power3.out" } });
tl.to(".eyebrow", { opacity: 1, y: 0, duration: 0.6 })
  .to(".hero h1", { opacity: 1, y: 0, duration: 0.8 }, "-=-0.3")
  .to(".hero .subtitle", { opacity: 1, y: 0, duration: 0.6 }, "-=-0.5")
  .to(".btn-primary", { opacity: 1, y: 0, duration: 0.5 }, "-=-0.3")
  .to(".scroll-down", { opacity: 1, y: 0, duration: 0.4 }, "-=-0.2");

2. 滑鼠視差效果

const hero = document.querySelector(".hero");
hero.addEventListener("mousemove", (e) => {
  const x = (e.clientX / window.innerWidth - 0.5) * 2;
  const y = (e.clientY / window.innerHeight - 0.5) * 2;
  gsap.to(".hero-shapes-back", { x: x * 45, y: y * 22, duration: 0.8 });
  gsap.to(".hero-shapes-mid",  { x: x * 22, y: y * 11, duration: 0.8 });
  gsap.to(".hero .container",  { x: x * 8,  y: y * 5,  duration: 0.8 });
});

3. 滾動觸發的功能卡片

gsap.set(".feature-card", { opacity: 0, y: 55, rotateX: 18 });

ScrollTrigger.batch(".feature-card", {
  start: "top 80%",
  onEnter: batch => gsap.to(batch, {
    opacity: 1, y: 0, rotateX: 0,
    duration: 0.8,
    stagger: 0.11,
    ease: "power2.out"
  })
});

4. 浮動裝飾形狀(CSS 關鍵影格 — 不使用 GSAP)

CSS 處理環境持續運動(比 GSAP 執行無限動畫更流暢、更節省資源):

@keyframes floatA {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(20px, -30px) rotate(8deg); }
}
@keyframes floatB { /* 不同的持續時間 + 旋轉 */ }
@keyframes floatC { /* 不同的持續時間 + 旋轉 */ }

.hero-shapes-back .shape-a { animation: floatA 12s ease-in-out infinite; }

5. 滾動指示器(CSS 彈跳)

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}
.scroll-down { animation: bounce 2s ease-in-out infinite; }

必需的 CDN 依賴

<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/ScrollTrigger.min.js"></script>

不得有其他外部的 CSS 或 JS 檔案。所有自訂 CSS 放在 <style> 中,所有自訂 JS 放在同一個 HTML 檔案內的 <script> 區塊中。

請參閱 references/single_file_html_discipline.md 以了解僅內嵌模式的設計理由。

佈局規則

  • 容器最大寬度: 1200px,置中
  • 區塊內邊距: 120px 24px(垂直 120,水平 24,在行動裝置上會縮小)
  • 回應式中斷點:
    • 900px → 功能網格從 3 欄變為 2 欄
    • 580px → 所有網格變為 1 欄;H1 縮小至約 52px
  • Viewport meta 標籤: <meta name="viewport" content="width=device-width, initial-scale=1">

輸出規格

  • 路徑: ${OUTPUT_DIR}/<product-name-kebab>.html
  • 預設 ${OUTPUT_DIR}: ./landing-pages/
  • 檔案名稱: 使用產品名稱的小寫 kebab-case("Quill AI" → quill-ai.html)。使用 scripts/kebab_slug_generator.py 進行確定性 slug 生成與重複偵測。
  • 自包含: 所有 CSS 在 <style> 中,所有 JS 在 <script> 中,僅 Google Fonts + GSAP CDN 為外部引用。

驗證(生成後)

生成後執行 scripts/html_validator.py --file ${OUTPUT_DIR}/<slug>.html。檢查項目:

  • 所有 3 個必要區塊都存在(.hero, .features, .closing-cta)
  • CDN 依賴存在(Inter + GSAP + ScrollTrigger)
  • gsap.set() 初始狀態宣告在所有 gsap.timeline 或 gsap.to 之前(防止 FOUC)
  • 在 900px + 580px 處存在回應式中斷點
  • 除了 Google Fonts 外,沒有其他外部的 <link rel="stylesheet">
  • 除了 GSAP CDN 外,沒有其他外部的 <script src=>
  • 存在 <meta name="viewport">
  • 所有動畫元素都有初始狀態宣告

錯誤處理

情境行為
輸入僅為一個名稱而無上下文根據名稱語意 + 受眾類別創造有說服力的內容;在 HTML 原始碼中標記為 <!-- inferred -->
輸入檔案很大或為 PDF在生成前完整讀取;不要截斷
品牌顏色不足(僅提供 1 個 HEX)將其用作主要色;以演算法推導出次要/強調色(透過 brand_palette_validator.py 進行變亮/變暗)
未指定功能數量預設為 4
輸出目錄不存在建立它
輸出路徑已有檔案附加時間戳記後綴或詢問使用者(kebab_slug_generator.py 會標記重複)
html_validator 回傳 FAIL僅針對失敗的區塊進行一次目標性重新生成;不要放棄整個檔案

可攜性

  • Claude Code CLI: 原生支援 — 直接將 HTML 檔案寫入檔案系統。
  • Claude.ai 網頁版: 原生支援 — 以 artifact 形式產生 HTML,而非檔案。

工具

腳本角色
scripts/brand_palette_validator.py驗證 HEX 格式,檢查 WCAG AA 對比度,從主要色生成推導調色盤(演算法變亮/變暗)。
scripts/kebab_slug_generator.py產品名稱 → kebab-case 檔案名稱 + 輸出目錄中的重複偵測。
scripts/html_validator.py生成後的結構檢查:3 個區塊、CDN 依賴、gsap.set() 初始狀態、回應式中斷點、無外部檔案。

參考資料

應拒絕的反模式

  • 在輸出目錄中使用硬編碼的絕對路徑
  • 沒有覆寫說明的單一品牌調色盤
  • 先擬大綱再寫作 — 應一次完成
  • 使用外部 CSS 或 JS 檔案(必須內嵌;僅允許 Google Fonts + GSAP CDN)
  • 跳過 gsap.set() 初始狀態宣告(導致 FOUC)
  • 預設網格中超過 6 項功能(會變得難以掃讀)
  • 在技能本身中包含特定品牌的內容參考

版本: 1.0.0 來源規格: megaprompts/04-landing-megaprompt.md 建置模式: 路徑 B(直接轉換)。與 product-team/skills/landing-page-generator/ 有所區別。

Individual skills in this repo

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

anubhavg-icpl/vibe

|. Use when you need help with 8 bit orbit video template. Hyperframes-based video template for retro pixel deck motion design. Use when users want a high-fidelity, multi-scene HTML-to-video composition with advanced transitions, interactive preview controls, and ready-to-render default style.

anubhavg-icpl/vibe

Reference DESIGN.md for luxury automotive editorial that needs to feel engineered. White slabs, full-bleed performance photography, BMW corporate blue rising into a deeper blue at active states, restrained Helvetica-grade typography. Use when building UI components, applying design tokens, or implementing visual styles for cinematic bmw.

anubhavg-icpl/vibe

Reference DESIGN.md for enterprise-AI brands that need to feel premium, dark, and quietly futuristic. Ink canvas, Unica grotesque type, saturated coral-to-violet brand gradient deployed as backdrop and accent rule, full-pill buttons, gen. Use when building UI components, applying design tokens, or implementing visual styles for cinematic cohere.

anubhavg-icpl/vibe

Reference DESIGN.md for performance brands that need to feel theatrical. High-contrast black-and-white frames cut by Rosso Corsa red, sharp 0-radius components, FerrariSans across the entire page, photography that treats the car as sculp. Use when building UI components, applying design tokens, or implementing visual styles for cinematic ferrari.

anubhavg-icpl/vibe

Reference DESIGN.md for hyper-luxury that needs to feel forged. True-black canvas, oversized LamboType nameplates at 120px+, hexagonal angle motifs, single warm-gold accent for primary actions, photography lit like a vault. Use when building UI components, applying design tokens, or implementing visual styles for cinematic lamborghini.

anubhavg-icpl/vibe

Reference DESIGN.md for AI-lab cinematic: pure black canvas, neon-lime accent on charcoal chrome, geometric DM Sans / Outfit type, pill-shaped CTAs. Use when building UI components, applying design tokens, or implementing visual styles for cinematic minimax.

anubhavg-icpl/vibe

Reference DESIGN.md for GPU-vendor cinematic: chrome-black canvas, signature green action, video-led hero, hard-edged grotesque headlines. Use when building UI components, applying design tokens, or implementing visual styles for cinematic nvidia.

anubhavg-icpl/vibe

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory. Use when you need help with agentfolio.

anubhavg-icpl/vibe

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

anubhavg-icpl/vibe

Expert in building portfolios that actually land jobs and clients -. Use when you need help with interactive portfolio. not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities.

anubhavg-icpl/vibe

Generates high-converting Next.js/React landing pages with Tailwind CSS. Uses PAS, AIDA, and BAB frameworks for optimized copy/components (Heroes, Features, Pricing). Focuses on Core Web Vitals/SEO. Use when you need help with landing page generator.

anubhavg-icpl/vibe

Generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text overlays. Use when you need help with remotion.

anubhavg-icpl/vibe

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.

anubhavg-icpl/vibe

Project scaffolding - generate boilerplate for common project types with best-practice defaults. Use for: scaffold, boilerplate, template, new project, init, create project, starter, setup, project structure, directory structure, monorepo, microservice, API template, web app template, CLI tool template, library template.

anubhavg-icpl/vibe

Automate Klipfolio tasks via Rube MCP (Composio). Always search tools first for current schemas. Use when you need help with klipfolio automation.

anubhavg-icpl/vibe

>. Use when you need help with kami landing. Produce a print-grade single-page kami (紙 / 纸) document — warm parchment canvas, ink-blue accent, serif at one weight, no italic, no cool grays. The output reads like a professional white paper or studio one-pager, not an app UI. Multilingual by design (EN · zh-CN · ja). One self-contained HTML file, zero dependencies.

anubhavg-icpl/vibe

>. Use when you need help with open design landing deck. Produce a single-file slide deck in the Atelier Zero visual language (warm-paper background, italic-serif emphasis spans, coral terminating dots, surreal collage plates) — Open Design's brand deck recipe. The deck uses **horizontal magazine-style swipe pagination** (←/→, wheel, swipe), a per-slide chrome strip with brand mark and slide counter, an ESC overview grid, a coral progress bar, and inherits the canonical stylesheet + 16-slot image library from the sister `open-design-landing` skill.

anubhavg-icpl/vibe

>. Use when you need help with open design landing. Produce a world-class single-page editorial landing site in the Atelier Zero visual language (Monocle / Apartamento / Études editorial collage) — the same aesthetic Open Design uses for its own marketing surface. The agent fills a typed `inputs.json` from a brand brief, optionally generates 16 collage assets via gpt-image-2, then runs a pure-function composer that emits a self-contained HTML file; a separate path can mirror the Astro marketing site in `apps/landing-page/`. Drop-in scroll-reveal motion and a Headroom-style sticky nav are wired automatically.

anubhavg-icpl/vibe

>. Use when building UI with epic design language and visual style. 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.

anubhavg-icpl/vibe

Generates high-converting landing pages as complete Next.js/React (TSX) components with Tailwind CSS. Creates hero sections, feature grids, pricing tables, FAQ accordions, testimonial blocks, and CTA sections using proven copy frameworks (PAS, AIDA, BAB). Outputs SEO meta tags, structured data, and performance-optimised code targeting Core Web Vitals (LCP < 1s, CLS < 0.1). Use when the user asks to create a landing page, marketing page, homepage, single-page site, lead capture page, campaign page, promo page, or conversion-optimised web page — or when they want to A/B test landing page variants or replace a static page with one designed to convert.

相關技能