Communitygithub.com

Barrey/fullstack-web-ui-skills

结构布局技能,定义了高转化率的营销落地页解剖结构(英雄区、社交证明、Bento网格、交替功能、定价矩阵、客户评价、常见问题及最终行动号召)。可与任何视觉设计风格配对。

fullstack-web-ui-skills 是什么?

该技能(Barrey/fullstack-web-ui-skills)为AI代理(如Claude Code、Cursor、Codex)提供了一个结构化的框架,用于构建高转化率的营销落地页。它专注于信息架构和劝说性布局流程,遵循从英雄区到页脚的11步认知层级。该技能支持移动端、平板端和桌面端响应式设计,并提供了详细的组件实现片段,包括英雄区、Bento网格、交互式定价矩阵和FAQ手风琴。其核心优势在于与视觉主题技能的正交配对,从而可以独立地应用布局结构和视觉样式。配置包括粘性头、CTA按钮、社交证明和功能卡的特定CSS类。该技能在Cursor、Claude Code和Codex上可用,依赖于一个标准的Markdown技能文件(SKILL.md),该文件合并了从结构层级到组件HTML的详细规则。

兼容平台~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/Barrey/fullstack-web-ui-skills/tree/HEAD/.agents/skills/landing-page-anatomy

在你喜欢的 AI 中提问

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

预览

来自技能 README

fullstack-web-ui-skills preview
fullstack-web-ui-skills preview
fullstack-web-ui-skills preview

文档

技能:落地页解剖模式

本技能管理现代营销落地页的结构层级、组件解剖和高转化流。它严格关注信息架构、劝说性布局流程和响应式网格编排。

[!TIP] 正交配对: 本技能刻意与样式无关。将其与任何视觉主题技能(例如 /style-linear-dark、/style-spatial-glass、/style-clean-enterprise 或 /style-warm-editorial)结合,以注入此结构的特定颜色、排版、边框和氛围光效。


1. 高转化页面顺序

高转化落地页遵循一个经过验证的认知层级,将访问者从好奇心引导至确信:

[1. 粘性头部 + 公告标签]
                   ↓
         [2. 高冲击力英雄区]
 (徽章 + H1 + 副标题 + 双CTA + 微社交证明)
                   ↓
      [3. 社交证明 / 标志云]
                   ↓
      [4. 非对称 Bento 网格]
 (视觉锚点功能 + 支持能力卡片)
                   ↓
   [5. 交替功能深度解析]
 (粘性描述 + 交互/视觉画布)
                   ↓
      [6. 证明指标与影响数据]
                   ↓
    [7. 客户评价与口碑墙]
                   ↓
  [8. 交互式定价层矩阵]
 (月度/年度计费切换 + 功能检查清单)
                   ↓
        [9. 异议处理 FAQ]
 (简洁的手风琴/披露项)
                   ↓
       [10. 收尾锚点 CTA 横幅]
                   ↓
        [11. 多列页脚]

2. 部分解剖与实现规则

A. 公告条与粘性头部

  • 公告条: 顶部单个可关闭或微妙的横幅 (text-xs font-medium py-1.5 px-4)。用于产品发布、变更日志或折扣。
  • 粘性头部: 紧凑高度 (h-14 或 h-16),固定在顶部 (sticky top-0 z-40),带有半透明背景模糊 (backdrop-blur-md)。
    • 左侧:品牌图标 + 标识。
    • 中心(桌面端):3–5 个导航锚点链接 (#features, #pricing, #testimonials, #faq)。
    • 右侧:次要操作 ("登录") + 主要 CTA 药丸按钮 ("开始使用" / "开始免费试用")。

B. 高冲击力英雄区

英雄区必须在 3 秒内传达价值主张:

  1. 类别徽章 / 发布标签:
    • 标题上方的小型药丸徽章 (inline-flex items-center gap-2 px-3 py-1 rounded-full text-xs font-medium mb-4)。
  2. 主标题 (H1):
    • 高视觉冲击力,粗体,行距紧凑 (leading-[1.1] sm:leading-tight)。
    • 长度:最多 6 到 12 个词。在关键好处上使用微妙的渐变或高亮颜色。
  3. 副标题散文:
    • 受限阅读宽度 (max-w-2xl mx-auto)。
    • 字号:text-base sm:text-lg。解释产品做什么以及为谁而生。
  4. 双重转化按钮:
    • 主要 CTA: 高对比度药丸/圆角按钮,带有前向箭头 ("开始免费构建 →")。
    • 次要 CTA: 低对比度幽灵或轮廓按钮,带有播放图标 ("▶ 观看 2 分钟演示" 或 "查看 GitHub")。
  5. 微社交证明:
    • 紧贴 CTA 按钮下方:头像集合 (3–5 个堆叠的圆形用户头像) + 星级评分 ("★★★★★ 来自 1,200+ 团队的 4.9/5 评分") + 保证性说明 ("无需信用卡 • 免费 14 天试用")。
  6. 英雄视觉预览:
    • 高保真产品模型、交互式预览窗口或浏览器 chrome 模型,略微倾斜或居中放置,带有环境发光效果。

C. 信任标志与社交证明跑马灯

  • 避免使用过大、色彩鲜艳的标志,以免分散对产品的注意力。
  • 使用单行单色标志云 (grayscale opacity-60 hover:opacity-100 transition-opacity) 或连续 CSS 滚动条。
  • 包含 5 到 7 个知名客户品牌或技术。

D. 非对称 Bento 网格 (核心功能)

一个 3 列非对称网格,展示具有不同视觉权重的功能:

  • 卡片 1 (跨 2 列 / 双倍宽度): "锚点功能"。包含一个较大的视觉组件 (例如交互式图表、代码编辑器片段或实时看板预览)。
  • 卡片 2 (跨 1 列): "速度/性能" 指标卡 (例如 "0.4ms 查询延迟")。
  • 卡片 3 (跨 1 列): "安全/合规" 徽章卡 (例如 "SOC2 Type II + 端到端加密")。
  • 卡片 4 (跨 2 列 / 双倍宽度): "工作流自动化" 或集成卡。

E. 交互式定价矩阵

定价透明度消除转化犹豫:

  • 计费周期切换: 交互式开关,用于 月度 与 年度 (节省 20%),并带有醒目的节省徽章。
  • 三层结构:
    1. 入门版 / 免费层: 适合个人和爱好者 (0 元)。
    2. 专业版 / 增长层: 锚点 / 最受欢迎层。视觉突出 (微妙的环状边框、凸起的阴影、"最受欢迎" 横幅)。
    3. 企业版 / 自定义层: 适合有专门合规和 SLA 的组织。
  • 功能检查清单结构:
    • 每个项目以清晰的复选标记图标开头 (✓)。
    • 在较低层上划去或调暗不可用的功能。
    • 表格下方零惊喜保证说明 ("1 键取消。30 天退款保证")。

F. 异议处理 FAQ 手风琴

  • 最大宽度受限 (max-w-3xl mx-auto)。
  • 使用原生 <details> 和 <summary> 元素或轻量级 Vanilla JS 切换的简洁手风琴。
  • 解决前 4–6 个实际的销售异议:
    • "迁移过程是如何工作的?"
    • "我可以随时取消订阅吗?"
    • "试用期结束后会发生什么?"
    • "我的客户数据安全且合规吗?"

G. 收尾锚点 CTA 横幅

  • 靠近页脚的全宽高对比度容器 (p-8 sm:p-14 rounded-2xl)。
  • 重新陈述最终结果,并带有紧迫感。
  • 单一、明确的 CTA 按钮 ("30 秒内开始 →")。

3. 响应式断点矩阵

视口布局编排
移动端紧凑布局 (<640px)• 英雄区 CTA 全宽堆叠 (w-full flex-col)。• Bento 网格折叠为单列 (grid-cols-1)。• 定价卡堆叠,"最受欢迎"卡优先显示或突出显示。• 标志云每行显示 3 个标志或自动水平滚动。• 所有链接和按钮的最小触摸目标:44px。
平板端 (640px – 1023px)• 功能和 Bento 卡片使用 2 列网格 (sm:grid-cols-2)。• 定价显示为 2 列,企业层在其下方全宽显示。• 英雄区标题平滑缩放 (text-4xl sm:text-5xl)。
桌面端 (1024px+)• 全 3 列非对称 Bento 网格。• 3 层并排定价矩阵。• 最大阅读容器限制为 max-w-6xl 或 max-w-7xl,以防止布局拉伸。

4. 完整组件实现片段

A. 英雄区模式

<section class="relative pt-24 pb-16 sm:pt-32 sm:pb-24 overflow-hidden text-center">
  <div class="max-w-5xl mx-auto px-4 sm:px-6">
    
    <!-- 公告标签 -->
    <div class="inline-flex items-center gap-2 px-3.5 py-1 rounded-full text-xs font-medium border mb-6 transition-transform hover:scale-105 cursor-pointer">
      <span class="flex h-1.5 w-1.5 rounded-full bg-emerald-500 animate-pulse"></span>
      <span>v2.4 发布:实时多区域同步</span>
      <span class="text-stone-400">→</span>
    </div>

    <!-- 主 H1 标题 -->
    <h1 class="text-4xl sm:text-6xl lg:text-7xl font-extrabold tracking-tight leading-[1.08] max-w-4xl mx-auto">
      下一代架构,专为 <span class="text-transparent bg-clip-text bg-gradient-to-r from-indigo-500 via-sky-400 to-emerald-400">现代软件团队</span> 打造
    </h1>

    <!-- 副标题 -->
    <p class="mt-6 text-base sm:text-xl text-stone-600 dark:text-stone-300 max-w-2xl mx-auto leading-relaxed">
      通过我们统一的数据引擎、即时遥测和自动化安全护栏,将面向客户的工作流交付速度提升 10 倍。
    </p>

    <!-- 双转化 CTA -->
    <div class="mt-8 flex flex-col sm:flex-row items-center justify-center gap-3.5">
      <a href="#pricing" class="w-full sm:w-auto px-6 py-3 rounded-xl font-semibold text-sm shadow-md transition-all flex items-center justify-center gap-2 group">
        <span>开始免费 14 天试用</span>
        <span class="group-hover:translate-x-1 transition-transform">→</span>
      </a>
      <a href="#demo" class="w-full sm:w-auto px-6 py-3 rounded-xl font-semibold text-sm border transition-all flex items-center justify-center gap-2">
        <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 20 20"><path d="M6.3 2.841A1.5 1.5 0 004 4.11v11.78a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z"/></svg>
        <span>观看实时演练</span>
      </a>
    </div>

    <!-- 微社交证明 -->
    <div class="mt-8 pt-4 flex flex-wrap items-center justify-center gap-4 text-xs text-stone-500">
      <div class="flex -space-x-2">
        <img class="w-6 h-6 rounded-full border-2 border-white dark:border-stone-900" src="https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=64&h=64&fit=crop&crop=faces" alt="头像">
        <img class="w-6 h-6 rounded-full border-2 border-white dark:border-stone-900" src="https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=64&h=64&fit=crop&crop=faces" alt="头像">
        <img class="w-6 h-6 rounded-full border-2 border-white dark:border-stone-900" src="https://images.unsplash.com/photo-1492562080023-ab3db95bfbce?w=64&h=64&fit=crop&crop=faces" alt="头像">
      </div>
      <span>受到 Stripe、Vercel 和 Supabase 的 14,000+ 名工程师信赖</span>
      <span class="hidden sm:inline">•</span>
      <span class="hidden sm:inline">★★★★★ 4.9/5 评分</span>
    </div>

    <!-- 视觉模型画布 -->
    <div class="mt-12 rounded-2xl border shadow-2xl overflow-hidden p-2 bg-stone-100/50 dark:bg-stone-900/50">
      <div class="rounded-xl border overflow-hidden aspect-video bg-stone-950 flex items-center justify-center text-stone-500 font-mono text-sm">
        [交互式应用画布预览]
      </div>
    </div>

  </div>
</section>

B. Bento 网格功能模式

<section id="features" class="py-20">
  <div class="max-w-6xl mx-auto px-4 sm:px-6 space-y-12">
    
    <div class="text-center max-w-2xl mx-auto space-y-3">
      <span class="text-xs font-semibold uppercase tracking-wider text-indigo-500 font-mono">为速度而设计</span>
      <h2 class="text-3xl sm:text-4xl font-extrabold tracking-tight">无缝扩展所需的一切</h2>
      <p class="text-sm sm:text-base text-stone-500">模块化构建块,旨在处理您的前 100 名用户和下一个 1 亿用户。</p>
    </div>

    <!-- 非对称 Bento 网格 -->
    <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
      
      <!-- 卡片 1:2 列英雄功能 -->
      <div class="md:col-span-2 rounded-2xl border p-6 sm:p-8 flex flex-col justify-between space-y-6">
        <div class="space-y-2">
          <span class="text-xs font-mono font-semibold px-2 py-0.5 rounded bg-indigo-50 dark:bg-indigo-950/50 text-indigo-600 dark:text-indigo-400">核心引擎</span>
          <h3 class="text-xl sm:text-2xl font-bold">亚毫秒级状态复制</h3>
          <p class="text-sm text-stone-600 dark:text-stone-400 max-w-lg">
            多区域分布式集群同步,零锁争用。基于内存映射追加日志从头构建。
          </p>
        </div>
        <div class="h-44 rounded-xl border bg-stone-50 dark:bg-stone-900 p-4 font-mono text-xs text-stone-400 flex items-center justify-center">
          [交互式延迟波形图]
        </div>
      </div>

      <!-- 卡片 2:1 列统计卡 -->
      <div class="rounded-2xl border p-6 sm:p-8 flex flex-col justify-between space-y-6">
        <div class="space-y-2">
          <span class="text-xs font-mono font-semibold px-2 py-0.5 rounded bg-emerald-50 dark:bg-emerald-950/50 text-emerald-600 dark:text-emerald-400">可用性</span>
          <h3 class="text-xl font-bold">99.999% SLA</h3>
          <p class="text-sm text-stone-600 dark:text-stone-400">
            跨 3 大洲同时的自动化多云故障转移协议。
          </p>
        </div>
        <div class="pt-4 border-t text-3xl font-extrabold font-mono text-emerald-500">
          0.001% <span class="text-xs font-normal text-stone-400 block font-sans">年度计划外停机</span>
        </div>
      </div>

    </div>
  </div>
</section>

C. 交互式定价矩阵模式

<section id="pricing" class="py-20">
  <div class="max-w-6xl mx-auto px-4 sm:px-6 space-y-12">
    
    <div class="text-center max-w-2xl mx-auto space-y-4">
      <span class="text-xs font-semibold uppercase tracking-wider text-indigo-500 font-mono">简单且可预测</span>
      <h2 class="text-3xl sm:text-4xl font-extrabold tracking-tight">投资复合基础设施</h2>
      <p class="text-sm sm:text-base text-stone-500">透明定价,随业务扩展。无隐藏座位超额费用。</p>
      
      <!-- 计费周期切换 -->
      <div class="inline-flex items-center gap-3 p-1 rounded-full border bg-stone-100 dark:bg-stone-900 text-xs font-medium">
        <button id="btnMonthly" class="px-3.5 py-1.5 rounded-full bg-white dark:bg-stone-800 font-bold shadow-xs">月度</button>
        <button id="btnAnnual" class="px-3.5 py-1.5 rounded-full text-stone-500 hover:text-stone-900 flex items-center gap-1.5">
          <span>年度</span>
          <span class="text-[10px] px-1.5 py-0.2 rounded-full bg-emerald-100 dark:bg-emerald-950 text-emerald-700 dark:text-emerald-400 font-bold">节省 20%</span>
        </button>
      </div>
    </div>
  </div>
</section>

相关技能