Communitygithub.com

AbobakrDiara61/铁路系统-落地页生成器

基于产品描述,使用 Tailwind CSS 生成高转化率的 Next.js/React 落地页。应用 PAS、AIDA 和 BAB 框架优化文案与组件(如英雄区、功能特性、定价表),并专注 Core Web Vitals 和 SEO 性能。

铁路系统-落地页生成器 是什么?

该技能是一个落地页生成器,专门用于从产品描述生成完整、高转化率的 Next.js/React 组件。它内置了多种经过验证的文案框架(PAS、AIDA、BAB)和设计风格(Dark SaaS、Clean Minimal、Bold Startup、Enterprise),能够自动生成包括英雄区、功能特性、定价表、常见问题、客户评价、行动号召和页脚在内的完整页面结构。该技能通过预定义的 Tailwind CSS 类集确保页面符合 Core Web Vitals 性能目标(LCP < 1s, CLS < 0.1, FID < 100ms),并内置SEO清单(包括标题标签、元描述、结构化数据、规范URL等),帮助开发者快速输出可直接投入生产的代码。它适用于Claude Code、Cursor等AI代理平台,使用时需提供产品名称、标语、目标受众、痛点、关键优势、定价层级、设计风格和文案框架等输入。

兼容平台✓Claude Code~Codex CLI✓Cursor✓Gemini CLI
npx skills add https://github.com/AbobakrDiara61/railway-system/tree/HEAD/frontend/skills/landing-page-generator

在你喜欢的 AI 中提问

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

文档

落地页生成器

根据产品描述生成高转化率的落地页。输出完整的 Next.js/React 组件,包含多种区块变体、经过验证的文案框架、SEO 优化以及性能优先的模式。不是填充用的 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 框架
    • 随意 + 友好 → Bold Startup 风格,BAB 框架
    • 专业 + 权威 → Dark SaaS 风格,PAS 框架
    • 随意 + 对话式 → Clean Minimal 风格,BAB 框架
  3. 选择设计风格 — 将用户的选择(或从品牌语气分析中推断)映射到设计风格参考中的四种 Tailwind 类集之一。
  4. 应用文案框架 — 在生成组件之前,使用所选框架(PAS / AIDA / BAB)编写所有标题和正文文案。确保与语气档案的正式程度和语调相匹配。
  5. 按顺序生成区块 — 英雄区 → 功能特性 → 定价表 → 常见问题 → 客户评价 → 行动号召 → 页脚。跳过与产品无关的区块。
  6. 对照 SEO 清单验证 — 在输出最终代码之前,逐项检查 SEO 清单中的每一项。就地修复任何差距。
  7. 输出最终组件 — 交付完整的、可直接复制粘贴的 TSX 文件,包含所有 Tailwind 类、SEO 元数据和结构化数据。

触发此技能

产品:[名称]
标语:[一句价值主张]
目标受众:[他们是谁]
关键痛点:[你解决了什么问题]
关键优势:[主要成果]
定价层级:[免费/专业/企业 或描述]
设计风格:dark-saas | clean-minimal | bold-startup | enterprise
文案框架:PAS | AIDA | BAB

设计风格参考

风格背景强调色卡片CTA 按钮
Dark SaaSbg-gray-950 text-whiteviolet-500/400bg-gray-900 border border-gray-800bg-violet-600 hover:bg-violet-500
Clean Minimalbg-white text-gray-900blue-600bg-gray-50 border border-gray-200 rounded-2xlbg-blue-600 hover:bg-blue-700
Bold Startupbg-white text-gray-900orange-500shadow-xl rounded-3xlbg-orange-500 hover:bg-orange-600 text-white
Enterprisebg-slate-50 text-slate-900slate-700bg-white border border-slate-200 shadow-smbg-slate-900 hover:bg-slate-800 text-white

Bold Startup 标题:在所有 <h1>/<h2> 元素上添加 font-black tracking-tight。


文案框架

PAS(问题 → 加剧 → 解决方案)

  • H1:他们所处的痛苦状态
  • 副标题:如果不修复会发生什么
  • CTA:你提供什么
  • 示例 — H1: "你的团队每天浪费3小时在手动报告上" / 副标题: "花在电子表格上的每一小时都是没有关闭交易的一小时。你的竞争对手已经自动化了。" / CTA: "在10分钟内自动化你的报告 →"

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

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

BAB(之前 → 之后 → 桥梁)

  • H1:"[之前的状态] → [之后的状态]" → 副标题:"以下是[产品]如何搭建桥梁" → 功能:它是如何运作的(桥梁)

代表性组件:英雄区(居中渐变 — Dark 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 的 <Image> 和 rounded-2xl shadow-xl。包裹在 <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。

FAQ 与 Schema 标记

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

客户评价、CTA、页脚

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

SEO 清单

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

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


性能目标

指标目标技术
LCP< 1s预加载英雄区图片,在 Next/Image 上使用 priority
CLS< 0.1在所有图片上设置显式 width/height
FID/INP< 100ms延迟非关键 JS,使用 loading="lazy"
TTFB< 200ms对落地页使用 ISR 或静态生成
Bundle< 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.

AbobakrDiara61/railway-system

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

AbobakrDiara61/railway-system

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

AbobakrDiara61/railway-system

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

AbobakrDiara61/railway-system

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

AbobakrDiara61/railway-system

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.

AbobakrDiara61/railway-system

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

AbobakrDiara61/railway-system

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.

AbobakrDiara61/railway-system

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

AbobakrDiara61/railway-system

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 悬停效果

AbobakrDiara61/railway-system

Best practices for Remotion - Video creation in React

AbobakrDiara61/railway-system

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

AbobakrDiara61/railway-system

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

AbobakrDiara61/railway-system

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.

AbobakrDiara61/railway-system

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

AbobakrDiara61/railway-system

Automate TikTok tasks via Rube MCP (Composio): upload/publish videos, post photos, manage content, and view user profiles/stats. Always search tools first for current schemas.

AbobakrDiara61/railway-system

Video and audio perception, indexing, and editing. Ingest files/URLs/live streams, build visual/spoken indexes, search with timestamps, edit timelines, add overlays/subtitles, generate media, and create real-time alerts.

AbobakrDiara61/railway-system

Upload, stream, search, edit, transcribe, and generate AI video and audio using the VideoDB SDK.

AbobakrDiara61/railway-system

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

AbobakrDiara61/railway-system

Automate YouTube tasks via Rube MCP (Composio): upload videos, manage playlists, search content, get analytics, and handle comments. Always search tools first for current schemas.

AbobakrDiara61/railway-system

Extract transcripts from YouTube videos and generate comprehensive, detailed summaries using intelligent analysis frameworks

相关技能