Communitygithub.com

着陆页生成器

始终在请求匹配着陆页生成器时使用此技能:使用 Tailwind CSS 生成高转化率的 Next.js/React 着陆页。

着陆页生成器 是什么?

此技能是一个专业的着陆页生成器,专门用于从产品描述生成高转化率的 Next.js/React 着陆页。它适用于需要在营销场景下快速创建完整着陆页的开发者。该技能提供了 5 种 Hero 区变体、功能展示、定价表、FAQ、客户评价和 CTA 等核心组件,并支持 4 种设计风格(Dark SaaS、Clean Minimal、Bold Startup、Enterprise)。其核心工作流程包括收集输入、分析品牌声音、选择设计风格、应用文案框架(PAS/AIDA/BAB),以及生成完整的 TSX 组件并附带 Tailwind 样式和 SEO 元数据。它专门针对 Core Web Vitals 进行了优化,目标 LCP < 1s、CLS < 0.1、FID < 100ms,并包含全面的 SEO 检查清单以确保每个页面都符合最佳实践。该技能主要在 Claude Code、Cursor、Codex 等 AI 代理平台中使用,通过结构化的触发器格式激活,并输出可直接复制粘贴的代码。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Anhvu1107/all-agent-skill/tree/HEAD/.agent/skills/landing-page-generator

在你喜欢的 AI 中提问

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

文档

着陆页生成器 是做什么的?

选择性阅读规则

从以下文件开始:

  • references/usage-routing.md
  • references/quality-checklist.md

然后仅加载与用户实际任务匹配的继承文档、脚本、资源或示例。

选择性阅读规则

从以下文件开始:

  • references/senior-master-standard.md

然后仅加载用户实际任务所需的参考资料、脚本、资源或示例。

根据产品描述生成高转化率的着陆页。输出完整的 Next.js/React 组件,包含多个区块变体、经过验证的文案框架、SEO 优化和性能优先的设计模式。不是 Lorem Ipsum——而是真正能促成转化的文案。

目标: LCP < 1s · CLS < 0.1 · FID < 100ms
输出: TSX 组件 + Tailwind 样式 + SEO 元数据 + 文案变体

何时使用

  • 你需要用 Next.js 或 React 生成营销着陆页。
  • 任务涉及面向转化的页面结构、区块变体、Tailwind 样式或对 SEO 友好的文案。
  • 你希望从产品描述中获取完整的着陆页输出,而不是孤立的 UI 片段。

核心能力

  • 5 种 Hero 区变体(居中、分栏、渐变、视频背景、极简)
  • 功能展示区(网格、交替、带图标的卡片)
  • 定价表(2–4 个层级的定价方案,带功能列表和切换开关)
  • 带 Schema 标记的 FAQ 手风琴
  • 客户评价(网格、轮播、单条引用)
  • CTA 区(横幅、全页、行内)
  • 页脚(简单、大型、极简)
  • 4 种设计风格及其对应的 Tailwind 类集合

生成工作流程

对于每个着陆页请求,依次执行以下步骤:

  1. 收集输入 — 使用下面提供的触发格式收集产品名称、标语、目标受众、痛点、核心优势、定价层级、设计风格和文案框架。仅询问缺失的字段。
  2. 分析品牌声音(推荐)— 如果用户已有现有品牌内容(网站文案、博客文章、营销材料),可通过 marketing-skill/content-production/scripts/brand_voice_analyzer.py 运行,获取声音档案(正式程度、语气、视角)。使用该档案指导设计风格和文案框架选择:
    • 正式 + 专业 → 企业风格,AIDA 框架
    • 随意 + 友好 → 大胆创业风格,BAB 框架
    • 专业 + 权威 → 深色 SaaS 风格,PAS 框架
    • 随意 + 对话式 → 清晰极简风格,BAB 框架
  3. 选择设计风格 — 将用户的选择(或从品牌声音分析推断出的结果)映射到设计风格参考中的四个 Tailwind 类集合之一。
  4. 应用文案框架 — 在生成组件之前,使用选定的文案框架(PAS / AIDA / BAB)编写所有标题和正文文案。确保整个文案的风格符合声音档案中的正式程度和语气。
  5. 按顺序生成区块 — Hero → 功能 → 定价 → FAQ → 客户评价 → CTA → 页脚。跳过与产品无关的区块。
  6. 验证 SEO 检查清单 — 在输出最终代码前,逐一检查 SEO 检查清单中的每一项。即时修复所有差距。
  7. 输出最终组件 — 交付完整的、可直接复制粘贴的 TSX 文件,包含所有 Tailwind 类、SEO 元数据和结构化数据。

触发此技能

Product: [产品名称]
Tagline: [一句话的价值主张]
Target audience: [目标受众]
Key pain point: [解决的痛点]
Key benefit: [主要成果]
Pricing tiers: [免费/专业版/企业版 或 描述]
Design style: dark-saas | clean-minimal | bold-startup | enterprise
Copy framework: PAS | AIDA | BAB

设计风格参考

风格背景强调色卡片CTA 按钮
深度 SaaSbg-gray-950 text-whiteviolet-500/400bg-gray-900 border border-gray-800bg-violet-600 hover:bg-violet-500
清晰极简bg-white text-gray-900blue-600bg-gray-50 border border-gray-200 rounded-2xlbg-blue-600 hover:bg-blue-700
大胆创业bg-white text-gray-900orange-500shadow-xl rounded-3xlbg-orange-500 hover:bg-orange-600 text-white
企业bg-slate-50 text-slate-900slate-700bg-white border border-slate-200 shadow-smbg-slate-900 hover:bg-slate-800 text-white

大胆创业 标题:在所有 <h1>/<h2> 元素上添加 font-black tracking-tight。


文案框架

PAS(问题 → 激化 → 解决方案)

  • H1:他们所处的痛苦状态
  • 副标题:如果不去解决会发生什么
  • CTA :你提供的解决方案
  • 示例 — H1: "您的团队每天在手动报告上浪费 3 小时" / 副标题: "花在电子表格上的每一小时,都是未能成交的一小时。您的竞争对手已经实现自动化。" / CTA: "在 10 分钟内自动生成您的报告 →"

AIDA(注意 → 兴趣 → 欲望 → 行动)

  • H1:大胆吸引注意力的陈述 → 副标题:有趣的事实或好处 → 功能:建立欲望的证明点 → CTA:清晰的行动号召

BAB(之前 → 之后 → 桥接)

  • H1:"[之前的状态] → [之后的状态]" → 副标题:"[产品] 如何弥合差距" → 功能:它是如何工作的(桥接)

代表性组件:Hero(居中渐变 — 深度 SaaS)

将此作为所有 Hero 变体的结构模板。为分栏、视频背景和极简变体切换布局类、渐变方向和图片放置。

export function HeroCentered() {
  return (
    <section className="relative flex min-h-screen flex-col items-center justify-center overflow-hidden bg-gray-950 px-4 text-center">
      <div className="absolute inset-0 bg-gradient-to-b from-violet-900/20 to-transparent" />
      <div className="pointer-events-none absolute -top-40 left-1/2 h-[600px] w-[600px] -translate-x-1/2 rounded-full bg-violet-600/20 blur-3xl" />
      <div className="relative z-10 max-w-4xl">
        <div className="mb-6 inline-flex items-center gap-2 rounded-full border border-violet-500/30 bg-violet-500/10 px-4 py-1.5 text-sm text-violet-300">
          <span className="h-1.5 w-1.5 rounded-full bg-violet-400" />
          现已公开测试
        </div>
        <h1 className="mb-6 text-5xl font-bold tracking-tight text-white md:text-7xl">
          更快交付。<br />
          <span className="bg-gradient-to-r from-violet-400 to-pink-400 bg-clip-text text-transparent">
            更少中断。
          </span>
        </h1>
        <p className="mx-auto mb-10 max-w-2xl text-xl text-gray-400">
          在用户发现问题之前就能捕获错误的部署平台。
          零配置。即时回滚。实时监控。
        </p>
        <div className="flex flex-col items-center gap-4 sm:flex-row sm:justify-center">
          <Button size="lg" className="bg-violet-600 text-white hover:bg-violet-500 px-8">
            开始免费试用
          </Button>
          <Button size="lg" variant="outline" className="border-gray-700 text-gray-300">
            查看工作原理 →
          </Button>
        </div>
        <p className="mt-4 text-sm text-gray-500">无需信用卡 · 14 天免费试用</p>
      </div>
    </section>
  )
}

其他区块模式

功能区块(交替)

遍历一个包含 { title, description, image, badge } 的 features 数组。使用 i % 2 === 1 ? "lg:flex-row-reverse" : "" 切换布局方向。使用带有显式 width/height 和 rounded-2xl shadow-xl 属性的 <Image> 组件。将其包裹在 <section className="py-24"> 中,内部容器为 max-w-6xl。

定价表

遍历一个包含 { name, price, description, features[], cta, highlighted } 的 plans 数组。高亮方案获得 border-2 border-violet-500 bg-violet-950/50 ring-4 ring-violet-500/20;其他方案获得 border border-gray-800 bg-gray-900。将价格为 null 的渲染为 "自定义"。每行功能特性前使用 <Check> 图标。布局:grid gap-8 lg:grid-cols-3。

带 Schema 标记的 FAQ

通过 <script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(schema) }} /> 在区块内注入 FAQPage JSON-LD。将包含 { q, a } 的 FAQ 数据映射到 shadcn 的 <Accordion> 中,使用 type="single" collapsible 属性。容器:max-w-3xl。

客户评价、CTA、页脚

  • 客户评价: 网格(grid-cols-1 md:grid-cols-3)或包含头像、姓名、角色和引用文本的单引用 Hero 区块。
  • CTA 横幅: 全宽区块,包含标题、副标题和两个按钮(主要 + 幽灵)。下方立即添加信任信号(退款保证、标志列表)。
  • 页脚: 标志 + 导航列 + 社交链接 + 法律信息。使用 border-t border-gray-800 分隔线。

SEO 检查清单

  • <title> 标签:主要关键词 + 品牌名称(50–60 字符)
  • Meta 描述:好处 + CTA(150–160 字符)
  • OG 图片:1200×630px,包含产品名称和标语
  • H1:每页一个,包含主要关键词
  • 结构化数据:FAQPage、Product 或 Organization 模式
  • 设置规范 URL
  • 所有 <Image> 组件添加 alt 文本
  • 配置 robots.txt 和 sitemap.xml
  • 核心网页指标:LCP < 1s,CLS < 0.1
  • 存在移动视口 meta 标签
  • 内部链接指向定价和文档页面

验证步骤: 在输出最终代码之前,检查以上检查清单中的每一项是否已满足。即时修复所有差距——不要跳过项目。


性能目标

指标目标技术
LCP< 1s预加载 Hero 图片,在 Next/Image 上使用 priority
CLS< 0.1在所有图片上设置显式的 width/height
FID/INP< 100ms延迟非关键 JS,使用 loading="lazy"
TTFB< 200ms对着陆页使用 ISR 或静态生成
包体积< 100KB JS使用 @next/bundle-analyzer 进行审核

常见陷阱

  • Hero 图片未预加载 — 在第一个 <Image> 上添加 priority 属性
  • 缺少移动端断点 — 始终以移动端优先设计,使用 sm: 前缀
  • CTA 文案过于模糊 — “立即开始”优于“了解更多”;“开始免费试用”优于“注册”
  • 定价页面缺少信任信号 — 在 CTA 附近添加退款保证和客户评价
  • 移动端上方没有 CTA — 确保按钮在 375px 视口下无需滚动即可看到

相关技能

  • 品牌声音分析器 (marketing-skill/content-production/scripts/brand_voice_analyzer.py) — 在生成之前运行,建立声音档案并确保文案一致性
  • UI 设计系统 (product-team/ui-design-system/) — 在构建页面前从品牌颜色生成设计令牌
  • 竞争分析拆解 (product-team/competitive-teardown/) — 竞争定位有助于制定着陆页信息和差异化

限制

  • 仅当任务明确符合上述范围时,才使用此技能。
  • 不要将输出视为特定于环境的验证、测试或专家审查的替代品。
  • 如果缺少必要的输入、权限、安全边界或成功标准,请停下来询问澄清。

Individual skills in this repo

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

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches 007: Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Agentfolio: Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Animejs Animation: Advanced JavaScript animation library skill for creating complex, high-performance web animations.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Astropy: Astropy is the core Python package for astronomy, providing essential functionality for astronomical research and data analysis.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Astro: Build content-focused websites with Astro — zero JS by default, islands architecture, multi-framework components, and Markdown/MDX support.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Emotional ARC Designer: One sentence - what this skill does and when to invoke it

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Fixing Motion Performance: Audit and fix animation performance issues including layout thrashing, compositor properties, scroll-linked motion, and blur effects.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches I18n Localization: Internationalization and localization patterns.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Interactive Portfolio: Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches JQ: Expert jq usage for JSON querying, filtering, transformation, and pipeline integration.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches LEX: Centralized ''Truth Engine'' for cross-jurisdictional legal context (US, EU, CA) and contract scaffolding.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Magic Animator: AI-powered animation tool for creating motion in logos, UI, icons, and social media assets.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Makepad Animation: CRITICAL: Use for Makepad animation system.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Nextjs APP Router Patterns: Comprehensive patterns for Next.js 14+ App Router architecture, Server Components, and modern full-stack React development.

Anhvu1107/all-agent-skill

ALWAYS use this when the user mentions Nextjs Best Practices, asks to build, debug, review, document, automate, test, configure, migrate, or make decisions in this domain, or the task clearly depends on Nextjs Best Practices; scope: Next.js App Router principles. Apply the bundled workflow, references, scripts, Senior Master standard, and Codex strict review gate before final output.

Anhvu1107/all-agent-skill

description: ALWAYS use this when the work is specifically about modern Next.js or React architecture, data flow, rendering strategy, routing, or performance-sensitive frontend behavior.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Nextjs Supabase Auth: Expert integration of Supabase Auth with Next.js App Router

Anhvu1107/all-agent-skill

ALWAYS use this when the task involves reading, extracting, splitting, merging, rotating, creating, validating, OCR-ing, form-filling, or otherwise producing or modifying PDF files.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches React Nextjs Development: React and Next.js 14+ application development with App Router, Server Components, TypeScript, Tailwind CSS, and modern frontend patterns.

Anhvu1107/all-agent-skill

ALWAYS use this when working with Remotion code, video compositions, rendering logic, timing, media assets, or React-based motion workflows.

相关技能