Communitygithub.com

ASoudy/AGS

根据产品描述生成高转化率的 Next.js/React 落地页组件,集成 Tailwind CSS 和基于 PAS、AIDA、BAB 框架的优化文案与布局。

AGS 是什么?

该技能是一款专门用于生成营销落地页的 AI 代理工具,适用于 Next.js 和 React 项目,并深度集成 Tailwind CSS。它能够根据简单的产品描述(如产品名称、目标受众、痛点等)自动生成完整的 TSX 组件,包括英雄区、功能特点、定价表、FAQ、推荐语、CTA 和页脚等多种布局变体。技能内置了 PAS、AIDA、BAB 三种经过验证的文案框架,能够自动生成具有说服力的标题和正文。同时,它严格遵循 Google Core Web Vitals 性能指标,确保 LCP < 1s、CLS < 0.1,并提供完整的 SEO 元数据(如 Title、Meta Description、结构化数据)。支持四种设计风格(暗色 SaaS、简洁极简、大胆创业、企业级),用户可通过简单的结构提示触发生成,并可以结合品牌声音分析获得更一致的文案风格。

兼容平台✓Claude Code~Codex CLI✓Cursor✓Gemini CLI
npx skills add https://github.com/ASoudy/AGS/tree/HEAD/AGAS/plugins/antigravity-awesome-skills-claude/skills/landing-page-generator

在你喜欢的 AI 中提问

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

文档

落地页生成器

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

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

使用时机

  • 需要为 Next.js 或 React 生成营销落地页。
  • 任务涉及面向转化率的页面结构、区块变体、Tailwind 样式或 SEO 感知文案。
  • 希望从产品描述中获得完整的落地页输出,而非孤立的 UI 片段。

核心能力

  • 5 种英雄区变体(居中、分割、渐变、视频背景、极简)
  • 功能特点区块(网格、交替、带图标的卡片)
  • 定价表(2–4 个层级,带功能列表和开关)
  • FAQ 手风琴(含 Schema 标记)
  • 推荐语(网格、轮播、单条引用)
  • 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. 按顺序生成区块 — 英雄区 → 功能特点 → 定价 → FAQ → 推荐语 → CTA → 页脚。跳过与产品无关的区块。
  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>
  )
}

其他区块模式

功能特点区块(交替)

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

定价表

遍历 plans 数组,其中包含 { name, price, description, features[], cta, highlighted }。高亮计划使用 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)或带头像、姓名、角色和引用文本的单条引用英雄块。
  • CTA 横幅: 全宽区块,包含标题、副标题和两个按钮(主要 + 幽灵)。在其下方立即添加信任信号(退款保证、Logo 条)。
  • 页脚: Logo + 导航列 + 社交链接 + 法律信息。使用 border-t border-gray-800 分隔符。

SEO 清单

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

验证步骤: 在输出最终代码之前,确保上述清单中的每一项都已满足。立即修复任何缺口——不要跳过任何项目。


性能目标

指标目标技术
LCP< 1s预加载英雄区图片,在 Next/Image 上使用 priority
CLS< 0.1在所有图像上设置显式宽度/高度
FID/INP< 100ms延迟加载非关键 JS,使用 loading="lazy"
TTFB< 200ms落地页使用 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 20 individual skills — each has its own dedicated page.

ASoudy/AGS

Advanced JavaScript animation library skill for creating complex, high-performance web animations.

ASoudy/AGS

Astropy is the core Python package for astronomy, providing essential functionality for astronomical research and data analysis.

ASoudy/AGS

Build content-focused websites with Astro — zero JS by default, islands architecture, multi-framework components, and Markdown/MDX support.

ASoudy/AGS

One sentence - what this skill does and when to invoke it

ASoudy/AGS

Audit and fix animation performance issues including layout thrashing, compositor properties, scroll-linked motion, and blur effects. Use when animations stutter, transitions jank, or reviewing CSS/JS animation performance.

ASoudy/AGS

Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.

ASoudy/AGS

Pull a YouTube video transcript into a queryable markdown vault with yt-dlp subtitle discovery, VTT cleanup, metadata frontmatter, and capture-seed stubs.

ASoudy/AGS

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities.

ASoudy/AGS

AI-powered animation tool for creating motion in logos, UI, icons, and social media assets.

ASoudy/AGS

CRITICAL: Use for Makepad animation system. Triggers on: makepad animation, makepad animator, makepad hover, makepad state, makepad transition, "from: { all: Forward", makepad pressed, makepad 动画, makepad 状态, makepad 过渡, makepad 悬停效果

ASoudy/AGS

Comprehensive patterns for Next.js 14+ App Router architecture, Server Components, and modern full-stack React development.

ASoudy/AGS

Next.js App Router principles. Server Components, data fetching, routing patterns.

ASoudy/AGS

Expert integration of Supabase Auth with Next.js App Router

ASoudy/AGS

React and Next.js 14+ application development with App Router, Server Components, TypeScript, Tailwind CSS, and modern frontend patterns.

ASoudy/AGS

Best practices for Remotion - Video creation in React

ASoudy/AGS

Generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text overlays

ASoudy/AGS

Seek and analyze video content using Memories.ai Large Visual Memory Model for persistent video intelligence

ASoudy/AGS

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.

ASoudy/AGS

Three.js animation - keyframe animation, skeletal animation, morph targets, animation mixing. Use when animating objects, playing GLTF animations, creating procedural motion, or blending animations.

ASoudy/AGS

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

相关技能