Communitygithub.com

anubhavg-icpl/vibe

生成带有 3D CSS 动画、GSAP 滚动效果和鼠标视差深度的优质单页 HTML 落地页。通过强制性的产品、受众、品牌和语气信息输入,确保页面反映真实产品而非通用模板。

vibe 是什么?

该技能 (anubhavg-icpl/vibe) 是一个用于生成高质量单文件 HTML 落地页的专用工具。它通过一个结构化的四步“盘问”流程(产品/服务、受众、品牌覆盖、语气)来确保生成的页面精准定位,而非产出通用内容。输出是一个自包含的 HTML 文件,所有 CSS 和 JS 都内联其中,仅依赖 Google Fonts 和 GSAP (CDN) 实现动画效果。它支持丰富的品牌定制(颜色、字体),并内置了五种 GSAP 动画模式(入场时间线、鼠标视差、滚动触发、浮动装饰和滚动指示器),以创造卓越的视觉体验。该技能专为 Claude Code (写入文件) 和 Claude.ai (创建 Artifact) 优化,并提供了完整的验证工具链来确保输出质量。

兼容平台✓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。页面在视觉上独特、具有动画效果,并达到生产质量。

调用触发词

  • "创建一个落地页"
  • "构建一个落地页"
  • "为 X 制作一个落地页"
  • "我需要一个关于 Y 的网页"
  • "推广页面"
  • "产品页面"
  • "单页网站"
  • "网络存在"
  • "销售页面"
  • "X 的落地页"

交付模式

在 Claude Code CLI 中,将文件写入磁盘的指定路径。在 Claude.ai 网页版 中,创建一个内容相同的 HTML Artifact。

阶段 0:盘问式信息收集(4 个强制性问题,逐一询问)

按依赖顺序排序。每个问题都附带明确的“我为什么问这个”。停止条件:最多 4 个问题。

Q1 (根本) — 产品 / 服务

产品或者服务是什么?请提供名称 + 1-2 句话的电梯演讲——它能做什么,目标用户是谁?

我为什么问这个: 标题、副文本和功能描述均源于此。"生产力应用"会产生通用模板;"为讨厌 Zoom 的远程工程团队设计的异步站会工具"则会生成一个能够转化的落地页。

拒绝模糊回答。 如果用户只提供名称而没有说明,则追问一次:“它是做什么的?目标用户是谁?”如果追问后仍未获得说明,则在交付时明确标注“通用定位”的警告。

Q2 (依赖于 Q1) — 受众定位

目标受众是谁?请选择一项:

  1. 技术买家(工程师、运营、安全)
  2. 商业买家(产品经理、高管、运营负责人)
  3. 消费者(普通大众、爱好者)
  4. 内部用户(员工、合作伙伴——不对外销售)

我为什么问这个: 受众决定了文案的语域、术语水平、社会证明的选择以及 CTA 的框架。技术买家想要具体信息;消费者想要利益点;内部页面可以省略说服性内容。

强制选择。

Q3 (总是询问) — 品牌覆盖

要覆盖默认品牌颜色/字体(深海军蓝 + 青色 + Inter)吗?请提供:主色 HEX、强调色 HEX、可选的背景 HEX。如果说“默认”,则使用精良的默认配色。

我为什么问这个: 默认配色刻意设计得很美观,但匹配您的品牌能让页面看起来与您现有网站融为一体。即使只覆盖主色,效果也会有很大提升。

接受“默认”或部分覆盖(例如,仅主色)。如果只提供了主色,则通过算法(减淡/加深)推导出强调色。

Q4 (依赖于 Q1) — 语气

语气——请选择一项:

  1. 专业 —— 自信、克制、适合 B2B
  2. 趣味 —— 温暖、轻快、偶尔幽默
  3. 权威 —— 专家、数据驱动、建立信任
  4. 极简 —— 简约、设计主导、文案密度低

我为什么问这个: 语气影响着每一个句子——标题、微文案、按钮文本、结尾文案。预先选定可以避免各个部分之间的语气冲突。

强制选择。推荐默认值: 若 Q2 选择了技术/商业买家,则为“专业”;若 Q2 选择了消费者,则为“趣味”;若产品是设计主导的,则为“极简”。

停止条件: Q4 完成后,立即提交并生成。在生成过程中不得提问后续问题。

内容提取(带降级策略)

从 Q1 的电梯演讲中提取:

  • Hero 标题 —— “它能做什么”的精炼版本 (8-12 个词)
  • Hero 副文本 —— “目标用户 + 价值主张”的版本 (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 块中:

品牌覆盖:
- 主色: #FF6B35    →  --navy / hero 背景
- 强调色:  #2EC4B6    →  --teal / CTA / 高亮
- 背景:      #011627    →  --navy-mid / 区块背景
- 文字色:    #FDFFFC    →  --off-white

如果只提供了主色,则通过算法推导出强调色(减淡 15% 作为强调色;加深 8% 作为 navy-mid;转换为 0.12 透明度的 rgba 作为发光效果)。使用 scripts/brand_palette_validator.py 进行确定性推导。

有关色彩理论、WCAG 和调色板算法推导的规范,请参见 references/brand_system_design.md。

排版

  • 字体家族: Inter (通过 Google Fonts)
  • 字重范围: 400 (正文), 500 (眉标), 600 (链接), 700 (副标题), 800 (H1 + H2)
  • 字号范围:
    • Hero 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: Hero

  • min-height: 100vh,flex 居中对齐内容
  • H1 上方可选的眉标标签
  • H1 (68–82px, 800 字重)
  • 副标题 (17–19px, 1–2 句话)
  • CTA 按钮 (.btn-primary)
  • 向下滚动指示器 (动画 Chevron,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. Hero 入场 (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
  • 视口 meta: <meta name="viewport" content="width=device-width, initial-scale=1">

输出规范

  • 路径: ${OUTPUT_DIR}/<产品名称-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 返回失败仅针对失败的区块进行一次定向重生成;不要放弃该文件

可移植性

  • Claude Code CLI: 原生支持——直接将 HTML 文件写入文件系统。
  • Claude.ai 网页版: 原生支持——生成 HTML 作为 Artifact 而不是文件。

工具

脚本作用
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.

相关技能