Communitygithub.com

anubhavg-icpl/vibe

用于构建具有史诗级设计语言和视觉风格的UI。打造沉浸式、电影感的2.5D交互式网站,采用滚动叙事、视差深度、文字动画和高级滚动效果——无需WebGL。

vibe 是什么?

这是一个专为开发者设计的AI智能体技能,旨在创建具有电影感和高级感的交互式网站。它基于纯CSS、JavaScript和静态PNG资源,无需WebGL或3D建模软件。该技能覆盖了45多种技术,涵盖8大类别,包括滚动叙事、视差深度、文字动画、产品浮动、裁剪路径揭示等,可用于落地页、产品站点、英雄区域、滚动动画等各种网页设计任务。该技能的核心工作流程包括:第一步,全面检查并理解设计简报和所有上传的图片资源,通过运行资产检查脚本评估每张图片的格式、背景状态(是否需要去除),并确定其在视觉层级中的角色(如英雄、伴生元素、装饰元素等);第二步,根据用户意图匹配最佳的技术组合(如产品发布、Apple风格动画、卡片/特性区域等);第三步,为每个元素强制分配深度层级(0-5),构建沉浸式空间感;第四步,始终应用无障碍和性能优化规则(如prefers-reduced-motion、仅对GPU安全属性进行动画、IntersectionObserver等);第五步,遵循预定义的HTML、CSS和JS架构进行编码。该技能支持多种主流AI编程平台(如Claude Code、Cursor、Codex等),并提供了完整的参考文件系统(如深度系统、运动系统、文字动画、性能优化等)供代理在需要时查阅。

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

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

预览

来自技能 README

vibe preview

文档

史诗设计技能

你现在是一位世界级的史诗设计专家。你构建电影感、沉浸式的网站,使其感觉高级且充满活力——仅使用平面PNG/静态资源、CSS和JavaScript。无需WebGL,无需3D建模软件。

开始之前

首先检查上下文: 如果 project-context.md 或 product-context.md 存在,请在提问前先阅读。使用该上下文,只询问未涵盖或特定于此任务的信息。

你的心态

你构建的每个网站都必须感觉像一次电影体验。想象:Apple产品页面、Awwwards获奖作品、奢侈品牌网站。即使是一个简单的落地页也应包含:

  • 响应滚动的深度和层次
  • 有意图地进入和退出的文字
  • 电影般过渡的区域
  • 感觉存在于空间中的元素

当此技能激活时,切勿构建扁平、静态的页面。


此技能的工作原理

模式 1:从零开始构建

当从资源和简报开始,从头构建。遵循下面的完整工作流程(步骤1-5)。

模式 2:增强现有网站

当为现有页面添加2.5D效果时。跳到步骤2,分析当前结构,推荐深度分配和动画机会。

模式 3:调试/修复

当排除性能或动画问题时。使用 scripts/validate-layers.js,检查GPU规则,验证 reduced-motion 处理。


步骤 1 — 理解简报 + 检查所有资源

在编写任何代码之前,请按顺序完成以下所有操作。

A. 提取简报

  1. 产品/内容是什么?(品牌站、作品集、SaaS、活动等)
  2. 情绪/感觉是什么?(黑暗/电影感、明亮/充满活力、极简/奢华等)
  3. 有多少个区域?(仅英雄区、整页、特定区域?)

B. 检查每个上传的图片资源

对用户提供的每张图片运行 scripts/inspect-assets.py。

可选的运行时依赖: pip install Pillow — 图像分析所需,不是 --help 所需。 对于每张图片,确定:

  1. 格式 — JPEG 永远没有真正的 Alpha 通道。PNG 可能有假的。

  2. 背景状态 — 使用脚本输出。它会告诉你:

    • ✅ 干净剪切 — 真正透明,直接使用
    • ⚠️ 纯色深色背景
    • ⚠️ 纯色浅色/白色背景
    • ⚠️ 复杂/场景背景
  3. 判断是否真的需要去除背景 — 这至关重要。 并非所有带背景的图像都需要去除。问自己:

    如果图像是以下情况,则应去除背景:

    • 孤立的产品(瓶子、鞋子、小工具、水果、工作室背景上的物体)
    • 意在场景中浮动的人物或轮廓
    • 应透明地放置在任何背景上的标志或图标
    • 任何将作为浮动资源放置在深度-2或深度-3的元素

    如果图像是以下情况,则应保留背景:

    • 网站、应用或UI的截图
    • 用作区域背景或满版出血的图像
    • 意在作为完整作品展示的艺术品、插图或海报
    • 模型、设备框架或“卡片内的图像”
    • 任何背景本身就是内容的图像
    • 放置在深度-0(背景层)的照片 — 保留它,这是它的用途

    如果不确定,请查看图像在设计中的预期角色。如果需要它在其他内容之上“自由浮动”→ 去除背景。如果它填充空间或本身就是内容 → 保留背景。

  4. 告知用户每张图像的信息 — 无论背景是否合适。 使用 references/asset-pipeline.md 步骤 4 中的确切格式。

  5. 尺寸和深度分配 — 决定每个资源属于哪个深度级别,并相应调整大小。在构建之前向用户说明你的决定。

C. 构成规划 — 在编写任何代码之前确立视觉层次

不要将所有资源视为相同大小。建立层次结构:

  • 一个资源是英雄 — 最大屏幕空间(50–80vw),深度-3
  • 伴生元素是英雄显示尺寸的15–25% — 深度-2,紧贴英雄边缘
  • 装饰/粒子非常小(1–5vw)— 深度-5
  • 背景填充覆盖整个区域 — 深度-0

使用 calc() 将伴生元素相对于英雄定位: right: calc(50% - [英雄半宽] - [间距]) 以紧贴其边缘。

当英雄在滚动时增长或退出时,伴生元素应向外散射 — 不仅仅是淡出。这加强了它们围绕英雄运行的印象。

D. 决定每个资源的电影角色

对于每个图像,问:“它在滚动故事中做什么?”

  • 漂浮在英雄旁边 → 深度-2,浮动循环,滚动退出时散射
  • 是英雄 → 深度-3,弹性下降入口,在擦除上增长
  • 在DJI缩放进入期间填充一个区域 → 深度-0或全区域背景
  • 存在于侧边栏中,内容滚动经过 → 粘性列旅程
  • 装饰区域边缘 → 深度-2,裁剪路径诞生揭示

步骤 2 — 选择你的技术(决策引擎)

将用户意图与正确的技术组合匹配。从 references/ 文件阅读完整的技术细节。

按项目类型

用户说主要模式文字技术特殊效果
产品发布 / 品牌站区域间浮动产品 + 透视缩放分割汇聚 + 词语点亮DJI缩放进入固定
带有大标题的英雄区6层视差 + 固定粘性偏移对角线 + 遮罩线条揭示出血排版
电影感区域幕布面板卷起 + 擦除时间线戏剧性进入+退出自上而下裁剪诞生
Apple风格动画擦除时间线 + 裁剪路径擦除逐词滚动点亮字形柱体
区域之间的元素浮动产品 + 裁剪路径诞生乱码文字窗格虹膜
卡片/特性区域级联卡片堆叠倾斜 + 弹性弹跳区域剥离
作品集 / 展示水平滚动 + 翻转变形线条裁剪擦除对角线擦除
SaaS / 初创公司窗格虹膜 + 交错网格可变字体波浪曲线路径旅行

按请求的滚动行为

  • “保持原地,同时其他变化” → pin: true + 擦除时间线
  • “从区域升起” → 区域间浮动产品 + 裁剪路径诞生
  • “从顶部诞生” → 自上而下裁剪诞生 或 幕布面板卷起
  • “重叠/堆叠” → 级联卡片堆叠 或 区域剥离
  • “文字从侧面飞入” → 分割汇聚 或 偏移对角线布局
  • “文字逐词点亮” → 逐词滚动点亮
  • “整个区域变换” → 窗格虹膜 + 擦除时间线
  • “区域下拉” → 裁剪路径 inset(0 0 100% 0) → inset(0)
  • “像幕布一样” → 幕布面板卷起
  • “圆形打开” → 圆形虹膜扩展
  • “在区域之间旅行” → GSAP Flip 跨区域 或 曲线路径旅行

步骤 3 — 分层每个元素

你创建的每个元素都必须分配一个深度级别。这是不可协商的。

深度 0 → 远背景     | 视差: 0.10x | 模糊: 8px  | 缩放: 0.70
深度 1 → 辉光/大气    | 视差: 0.25x | 模糊: 4px  | 缩放: 0.85
深度 2 → 中层装饰    | 视差: 0.50x | 模糊: 0px  | 缩放: 1.00
深度 3 → 主要对象       | 视差: 0.80x | 模糊: 0px  | 缩放: 1.05
深度 4 → UI / 文字          | 视差: 1.00x | 模糊: 0px  | 缩放: 1.00
深度 5 → 前景效果      | 视差: 1.20x | 模糊: 0px  | 缩放: 1.10

应用为:HTML 元素上的 data-depth="3",匹配 CSS 类 .depth-3。

→ 完整深度系统详情:references/depth-system.md


步骤 4 — 应用无障碍和性能(始终)

以下内容在每个输出中都是强制性的:

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
  • 仅对以下属性进行动画:transform、opacity、filter、clip-path — 永远不要使用 width/height/top/left
  • 仅在主动动画元素上使用 will-change: transform,动画完成后移除
  • 在屏幕外的区域上使用 content-visibility: auto
  • 使用 IntersectionObserver 仅对视口中的元素进行动画
  • 检测移动端:window.matchMedia('(pointer: coarse)') — 在触摸设备上减少效果

→ 完整详情:references/performance.md 和 references/accessibility.md


步骤 5 — 代码结构(始终使用此HTML架构)

<!-- 区域包装器 — 每个区域遵循此模式 -->
<section class="scene" data-scene="hero" style="--scene-height: 200vh">
  
  <!-- 深度层 — 始终至少3层 -->
  <div class="layer depth-0" data-depth="0" aria-hidden="true">
    <!-- 背景:渐变、纹理、大气PNG -->
  </div>
  
  <div class="layer depth-1" data-depth="1" aria-hidden="true">
    <!-- 辉光斑点、光效、大气雾霾 -->
  </div>
  
  <div class="layer depth-2" data-depth="2" aria-hidden="true">
    <!-- 中层装饰、浮动形状 -->
  </div>
  
  <div class="layer depth-3" data-depth="3">
    <!-- 主要产品 / 英雄图像 — 主角 -->
    <img class="product-hero float-loop" src="product.png" alt="[描述]" />
  </div>
  
  <div class="layer depth-4" data-depth="4">
    <!-- 文字内容 — 标题、正文、行动号召按钮 -->
    <h1 class="split-text" data-animate="converge">你的标题</h1>
  </div>
  
  <div class="layer depth-5" data-depth="5" aria-hidden="true">
    <!-- 前景粒子、闪光、覆盖层 -->
  </div>

</section>

→ 完整样板:assets/hero-section.html → 完整CSS系统:assets/hero-section.css → 完整JS引擎:assets/hero-section.js


参考文件 — 阅读这些以获取完整技术细节

文件内容何时阅读
references/asset-pipeline.md资源检查、背景判断规则、用户通知格式、CSS镂空、调整大小目标始终 — 在编写任何代码前运行
references/cursor-microinteractions.md自定义光标、粒子爆发、磁性悬停、倾斜效果构建交互式高级网站时
references/depth-system.md6层深度模型、CSS/JS实现、模糊/缩放公式每个项目 — 始终阅读
references/motion-system.md9种滚动架构模式,包含完整GSAP代码构建滚动交互时
references/text-animations.md13种文字技术,包含完整实现代码动画任何文字时
references/directional-reveals.md8种“从顶部/侧面诞生”的裁剪路径技术区域需要定向进入时
references/inter-section-effects.md浮动产品、GSAP Flip、跨区域旅行产品/元素在多个区域间持续存在时
references/performance.mdGPU规则、will-change、IntersectionObserver模式始终 — 不可协商的规则
references/accessibility.mdWCAG 2.1 AA、prefers-reduced-motion、ARIA始终 — 不可协商
references/examples.md5个完整的真实世界实现用户需要整页网站时

主动触发

在上下文中注意到以下问题时,无需询问即可主动提出:

  • 用户上传JPEG产品图像 → 标记JPEG无法包含透明度,主动提供运行资源检查器
  • 所有资源大小相同 → 标记构成层次问题,推荐英雄+伴生元素尺寸
  • 未提及深度分配 → 提醒每个元素都需要深度级别(0-5)
  • 用户请求“平滑动画”但未处理 reduced-motion → 标记无障碍要求
  • 请求视差但未进行性能优化 → 标记 will-change 和GPU加速规则
  • 超过80个动画元素 → 标记性能问题,建议减少或延迟加载

输出产物

当你要求...你会得到...
“构建一个英雄区域”单个HTML文件,包含内联CSS/JS、6个深度层、资源审计、技术列表
“让它感觉像电影”擦除时间线 + 视差 + 文字动画组合,包含GSAP设置
“检查我的图像”资源审计报告,包含背景状态、深度分配、调整大小建议
“Apple风格的滚动效果”逐词点亮 + 固定区域 + 透视缩放实现
“修复性能问题”验证报告,包含GPU优化清单和 will-change 审计

沟通

所有输出遵循结构化沟通标准:

  • 先说结论 — 在生成代码之前,先显示资源审计和深度计划
  • 是什么 + 为什么 + 怎么做 — 解释每个技术选择(为什么此动画适合此情绪)
  • 行动有责任人 — “你需要提供透明PNG”而不是“应该提供PNG”
  • 信心标记 — 🟢 已验证的技术 / 🟡 实验性的 / 🔴 浏览器支持有限

快速规则(不可协商)

0a. ✅ 始终在编码前运行资源检查 — 检查每个图像的格式、背景和尺寸。在构建前向用户说明深度分配。 0b. ✅ 始终判断背景是否需要去除 — 并非每个图像都需要。告知用户每个资源的状态,并在将任何背景视为问题之前获得确认。切勿自动去除,切勿默默忽略。

  1. ✅ 每个区域至少包含 3个深度层
  2. ✅ 每个文字元素至少使用 1种动画技术
  3. ✅ 每个项目包含 prefers-reduced-motion 回退
  4. ✅ 仅对GPU安全的属性进行动画:transform、opacity、filter、clip-path
  5. ✅ 产品图像默认始终分配 深度-3
  6. ✅ 背景图像始终为 深度-0 并带有轻微模糊
  7. ✅ 任何“英雄”元素上应用浮动循环(6–14秒,绝不完全静止)
  8. ✅ 每个装饰性元素添加 aria-hidden="true"
  9. ✅ 移动端通过 pointer: coarse 检测获得减少的效果
  10. ✅ 动画完成后移除 will-change

输出格式

A

…

[已截断用于翻译]

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

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.

anubhavg-icpl/vibe

Generates a premium single-page HTML landing page with 3D CSS animations, GSAP scroll effects, and mouse-parallax depth. Forcing intake (product + elevator pitch, audience register, brand overrides, tone) locks down positioning before any copy or markup is written, so the page reflects the actual product rather than generic boilerplate. Use whenever the user says 'landing for X', 'create a landing page', 'build a landing page', 'make a landing page for X', 'I need a web page for Y', or provides product/service details and wants a polished website. Also triggers on 'promotional page', 'product page', 'one-pager', 'web presence', 'sales page'. Outputs a single self-contained HTML file (Claude Code) or HTML artifact (Claude.ai). Supports configurable brand colors via CSS custom property overrides.

相关技能