Communitygithub.com

muhammedadnank/Antigravity-Skills

根据产品描述,生成高转化率的 Next.js/React 着陆页,集成 Tailwind CSS,并使用 PAS、AIDA 和 BAB 框架优化文案与组件,重点关注 Core Web Vitals 和 SEO。

Antigravity-Skills 是什么?

该技能(Landing Page Generator)能够根据产品描述自动生成完整的、高转化率的 Next.js/React 着陆页组件。它集成了多种经过验证的转化文案框架(PAS、AIDA、BAB),提供包括英雄区、功能、定价、FAQ、推荐、行动号召和页脚在内的多种区块变体,并内置了四种设计风格(暗黑SaaS、极简、激进初创、企业级)。技能还提供了从品牌声音分析到SEO验证的端到端工作流,确保生成的页面不仅视觉出色,而且符合LCP<1s、CLS<0.1等核心网页指标的性能要求。它主要面向需要快速构建营销页面、注重转化率和性能的Next.js/React开发者。

兼容平台✓Claude Code~Codex CLI✓Cursor✓Antigravity✓Gemini CLI
npx skills add https://github.com/muhammedadnank/Antigravity-Skills/tree/HEAD/skills/landing-page-generator

在你喜欢的 AI 中提问

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

文档

着陆页生成器

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

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

使用时机

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

核心能力

  • 5 种英雄区块变体(居中、分割、渐变、视频背景、极简)
  • 功能区块(网格、交替、带图标的卡片)
  • 定价表(2-4 个层级,带功能列表和切换器)
  • 带结构化数据标记的 FAQ 手风琴
  • 推荐区块(网格、轮播、单引号)
  • 行动号召区块(横幅、全页、内联)
  • 页脚(简单、大型、极简)
  • 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. 按顺序生成区块 —— 英雄 → 功能 → 定价 → FAQ → 推荐 → 行动号召 → 页脚。如果区块与产品无关则跳过。
  6. 根据 SEO 检查清单验证 —— 在输出最终代码之前,逐一检查 SEO 检查清单中的每一项。内联修复任何差距。
  7. 输出最终组件 —— 交付完整的、可直接复制粘贴的 TSX 文件,包含所有 Tailwind 类、SEO 元数据和结构化数据。

触发此技能

产品: [名称]
标语: [一句话价值主张]
目标受众: [他们是谁]
关键痛点: [你解决什么问题]
关键优势: [主要成果]
定价层级: [免费版/专业版/企业版或描述]
设计风格: dark-saas | clean-minimal | bold-startup | enterprise
文案框架: 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:“[之前状态] → [之后状态]” → 副标题:“这是 [产品] 如何弥合差距的方法” → 功能:它是如何工作的(桥梁)

代表性组件:英雄区(居中渐变 — 暗黑 SaaS)

将其用作所有英雄变体的结构模板。根据变体切换布局类、渐变方向和图片位置,用于分割、视频背景和极简变体。

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。

含结构化数据标记的 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。

推荐、行动号召、页脚

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

SEO 检查清单

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

验证步骤: 在输出最终代码之前,确保上述检查清单的每一项都得到满足。内联修复任何差距——不要跳过任何项目。


性能目标

指标目标技术
LCP< 1 秒预加载英雄区图片,在 Next/Image 上使用 priority
CLS< 0.1为所有图片设置显式的 width/height
FID/INP< 100 毫秒延迟非关键 JS,使用 loading="lazy"
TTFB< 200 毫秒对着陆页使用 ISR 或静态生成
包大小< 100KB JS使用 @next/bundle-analyzer 审计

常见陷阱

  • 英雄区图片未预加载 —— 为第一个 <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 5 individual skills — each has its own dedicated page.

muhammedadnank/Antigravity-Skills

Build a premium cinematic landing page with mouse-scrub video hero and brand-driven narrative-arc sections. Use whenever the user provides a hero video plus a product / subject / brand and wants a landing page, promo site, product showcase, marketing page, or storytelling site. Works for any language and any subject. The signature effect is mouse-driven video scrubbing \u2014 the hero video lives across the entire page as a fixed backdrop, and moving the mouse left-right scrubs the video timeline so the subject responds to the cursor. Below the hero, 4-5 fully-opaque sections each carry their own brand identity (color, typography emphasis, layout pattern) and walk the viewer through a narrative arc (e.g. longing -> joy -> nostalgia -> contemplation -> action). Do NOT use for parallax frame-scrub landings where the page itself doesn't scroll (use parallax-landing-page instead) or for video editing / captioning workflows (use video-edit).

muhammedadnank/Antigravity-Skills

Build a scroll-driven cinematic landing page from a short video. The user provides a 5–15 second video (often AI-generated); this skill extracts every frame at HD JPEG quality, then produces a single-hero HTML page where the user's scroll gesture scrubs the frames in place (the page itself never scrolls) and 5 dramatic text overlays crossfade in/out — Google Anton headlines, Caveat handwritten accents, locked body, virtual scroll. Use this skill whenever the user wants to "turn this video into a landing page", "make a scroll-scrub landing page", "build a parallax hero from this clip", "add a new landing page to the parasites showcase", "do the same as github/lion/hope for this new video", or any variant that pairs a short clip with dramatic scroll-triggered storytelling. Trigger even if the user only says "use my video for a landing page" — that is this skill.

muhammedadnank/Antigravity-Skills

Best practices for Remotion - Video creation in React

muhammedadnank/Antigravity-Skills

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.

muhammedadnank/Antigravity-Skills

Turn any video into a cinematic scroll-driven landing page — Apple-style hero where scrolling progresses the visible frame through the video. Use when the user provides a video file and asks for "a landing page from this video", "scroll-frame website", "Apple-style scroll site", "hero that scrubs the video", "like the GitHub Copilot landing", or any equivalent. Extracts N evenly-spaced frames via ffmpeg, builds a self-contained HTML page with a sticky hero + JS scroll listener that swaps the visible frame as you scroll, plus headline, sections and CTA below. For YUV.AI projects, applies the yuv-design-system skill in Neon mode (pink/cyan/white, default for YUV.AI web) — Decks (purple/yellow) is reserved for slides only. For generic / non-YUV.AI projects, picks an appropriate palette per the source video. Output is one folder with `index.html` and a `frames/` directory — drop on any static host.

相关技能