Communitygithub.com

JantonioFC/skillsbank

根據文字提示,生成一個具有 3D CSS 動畫、GSAP 滾動效果和滑鼠視差深度的優質單頁 HTML 登陸頁面。

skillsbank 是什麼?

這是一個專門為希望快速建立高品質、視覺效果出眾的單頁登陸頁面設計的 AI 技能。它與其他關注轉換率的登陸頁面生成器不同,此技能專注於透過 GSAP 動畫和 3D CSS 效果,提供極致的視覺體驗。使用者只需提供產品名稱和簡單的「電梯簡報」,該技能就會透過一個結構化的「強制問答」流程來收集關鍵資訊,例如目標受眾、品牌顏色和語氣。最終輸出是一個完全自包含的 HTML 檔案,所有 CSS 和 JavaScript 都內嵌其中,僅依賴 Google Fonts 和 GSAP CDN,確保了高便攜性和獨立性。此技能支援 Claude Code CLI(直接寫入檔案系統)和 Claude.ai 網頁介面(產生成品),並包含驗證腳本以確保輸出品質,是開發者和行銷人員快速打造品牌線上門面的理想工具。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/JantonioFC/skillsbank/tree/HEAD/skills/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。頁面視覺風格獨特、具有動畫效果,且達到生產級品質。

調用觸發器

  • "建立一個登陸頁面"
  • "建置一個登陸頁面"
  • "為 X 製作一個登陸頁面"
  • "我需要一個 Y 的網頁"
  • "宣傳頁面"
  • "產品頁面"
  • "單頁網站"
  • "網路形象"
  • "銷售頁面"
  • "X 的登陸頁"

交付模式

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

第零階段:強制問答(4 個引導性問題,一次一個)

依賴有序。每個問題都帶有明確的「提問原因」。停止條件:最多 4 個問題。

Q1(根本)— 產品 / 服務

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

提問原因: 標題、副標題和功能文案都由此衍生。"生產力應用程式"只會產生通用模板;"為厭倦 Zoom 的遠端工程團隊打造的異步站會工具"則能產出促進轉換的登陸頁面。

拒絕模糊答案。 如果使用者只給出名稱而沒有簡報,請退回一次:「它的功能是什麼?目標對象是誰?」如果退回後仍未提供簡報,則在交付時加上明確的「通用定位」免責聲明。

Q2(依賴於 Q1)— 受眾定位

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

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

提問原因: 受眾決定了文案的用語、專業術語程度、社會證明選擇和行動呼籲的架構。技術買家想要具體細節;消費者想要好處;內部頁面則可以跳過說服環節。

強制選擇。

Q3(始終詢問)— 品牌覆寫

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

提問原因: 預設設計本身就很漂亮,但符合您的品牌會讓頁面感覺像是您現有網站的原生部分。即使只覆寫主要色也會帶來很大不同。

接受 "default" 或部分覆寫(例如,僅主要色)。如果只提供主要色,則透過演算法衍生出強調色(變亮/變暗)。

Q4(依賴於 Q1)— 語氣

語氣 — 選擇一個:

  1. 專業 — 自信、克制、對 B2B 友善
  2. 活潑 — 溫暖、輕快、偶爾帶點幽默
  3. 權威 — 專家風格、數據導向、建立信任
  4. 極簡 — 簡潔、設計主導、文案密度低

提問原因: 語氣影響每一句話 — 標題、微文案、按鈕文字、結尾文案。預先選擇可以防止各區塊之間語氣不連貫。

強制選擇。建議預設值: 如果 Q2 的答案是技術/商業,則使用專業;如果 Q2 是消費者,則使用活潑;如果產品是設計主導的,則使用極簡。

停止條件: Q4 結束後,立即執行並生成。生成過程中不得提問後續問題。

內容萃取(附帶備用策略)

從 Q1 的電梯簡報中衍生出:

  • 主要標題 — 「它的功能」的精簡版本(8–12 個字)
  • 主要副標題 — 「目標對象 + 好處」的版本(1–2 句)
  • 3–6 個功能要點 — 從簡報 + 受眾(Q2)+ 語氣(Q4)中提煉
  • 行動呼籲文字 — 以行動為導向,符合語氣
  • 結尾文案 — 簡短、感性、符合語氣

當輸入資訊不足時的備用方案: 從產品名稱語義 + 受眾定位中自行構思引人入勝的內容。在 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 / CTA / 高亮
- bg:      #011627    →  --navy-mid / 區段背景
- text:    #FDFFFC    →  --off-white

如果只提供主要色,則透過演算法衍生出強調色(強調色變亮 15%;navy-mid 變暗 8%;轉換為 rgba 並使用 0.12 alpha 作為光暈)。使用 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(大寫、字母間距)
    • CTA 按鈕:18px(500 字重)

元件(必須指定 CSS)

  • .btn-primary — 具有懸停狀態(上升 + 亮度)的 CTA 按鈕
  • .feature-card — 具有懸停上升效果的卡片(translateY(-6px) + 邊框變亮)
  • .eyebrow — 具有字母間距(0.2em)的大寫類別標籤

區段 1:主要區塊

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

區段 2:功能

  • 預設 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

區段 3:結尾 CTA

  • 全寬,background: var(--navy-mid)
  • padding: 120px 24px,文字置中
  • 大型結尾標題(52–62px,800 字重)
  • 簡短副文字(--text-muted,1–2 句)
  • CTA 按鈕,其後帶有環境光徑向漸層效果:
    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}/<產品名稱-kebab-case>.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 網頁版: 原生支援 — 以成品形式產生 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.

JantonioFC/skillsbank

AI-powered image editing with style transfer and object removal

JantonioFC/skillsbank

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

JantonioFC/skillsbank

Analise e auditoria de editais de leilao judicial e extrajudicial. Riscos ocultos, clausulas perigosas, debitos, ocupante e classificacao da oportunidade.

JantonioFC/skillsbank

Embed Photopea in web apps using photopea.js. Covers embedding, file I/O, scripting, exporting, layers, text, filters, and the full Photoshop-compatible API.

JantonioFC/skillsbank

Best practices for Remotion - Video creation in React

JantonioFC/skillsbank

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

JantonioFC/skillsbank

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

JantonioFC/skillsbank

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.

JantonioFC/skillsbank

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.

JantonioFC/skillsbank

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

JantonioFC/skillsbank

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

JantonioFC/skillsbank

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.

JantonioFC/skillsbank

Tool lifecycle UI components for React/Next.js from ui.inference.sh. Display tool calls: pending, progress, approval required, results. Capabilities: tool status, progress indicators, approval flows, results display. Use for: showing agent tool calls, human-in-the-loop approvals, tool output. Triggers: tool ui, tool calls, tool status, tool approval, tool results, agent tools, mcp tools ui, function calling ui, tool lifecycle, tool pending

JantonioFC/skillsbank

Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

JantonioFC/skillsbank

When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' 'audience targeting,' 'Google Ads,' 'Facebook ads,'...

JantonioFC/skillsbank

Create AI avatar and talking head videos with OmniHuman, Fabric, PixVerse via inference.sh CLI. Models: OmniHuman 1.5, OmniHuman 1.0, Fabric 1.0, PixVerse Lipsync. Capabilities: audio-driven avatars, lipsync videos, talking head generation, virtual presenters. Use for: AI presenters, expla...

JantonioFC/skillsbank

Create AI marketing videos for ads, promos, product launches, and brand content. Models: Veo, Seedance, Wan, FLUX for visuals, Kokoro for voiceover. Types: product demos, testimonials, explainers, social ads, brand videos. Use for: Facebook ads, YouTube ads, product launches, brand awarene...

JantonioFC/skillsbank

Generate AI videos with Google Veo, Seedance, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 1.5 Pro, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, lipsync, avatar animation, video upscaling, fole...

JantonioFC/skillsbank

Production-ready CI/CD configurations for Playwright — GitHub Actions, GitLab CI, CircleCI, Azure DevOps, Jenkins, Docker, parallel sharding, reporting, code coverage, and global setup/teardown.

JantonioFC/skillsbank

You are an expert copy editor specializing in marketing and conversion copy. Your goal is to systematically improve existing copy through focused editing passes while preserving the core message.

相關技能