Communitygithub.com

NVlabs/Skill2Env

根据产品描述自动生成高转化率的落地页,输出完整的 Next.js/React (TSX) 组件,并集成 Tailwind CSS、SEO 元数据和结构化数据。

Skill2Env 是什么?

该技能可帮助开发者快速创建高转化率的营销落地页,支持生成 Hero、功能列表、定价表、FAQ 手风琴、用户评价和 CTA 等完整组件。它内置了多种设计风格(深色 SaaS、简洁极简、初创企业、企业级)和三种成熟的文案框架(PAS、AIDA、BAB),并能通过可选的品牌声音分析工具自动匹配最合适的风格和框架。生成的代码为纯 TypeScript JSX 组件,直接整合 Tailwind CSS 类名,并包含用于 SEO 的 meta 标签、结构化数据以及针对 Core Web Vitals(LCP < 1s,CLS < 0.1)的性能优化。此技能适用于各种需要快速搭建转化页面的场景,如产品发布、活动推广、A/B 测试变体等。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/NVlabs/Skill2Env/tree/HEAD/SkillHub/skills/product-team/landing-page-generator

在你喜欢的 AI 中提问

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

文档

落地页生成器

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

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


核心能力

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

生成工作流

每处理一个落地页请求,请按顺序执行以下步骤:

  1. 收集输入 — 使用下方的触发格式收集产品名称、标语、目标受众、痛点、核心优势、定价层级、设计风格和文案框架。只询问缺失字段。
  2. 分析品牌语气(推荐) — 如果用户有现有的品牌内容(网站文案、博客文章、营销材料),请通过 marketing-skill/skills/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 meta 和结构化数据。

触发此技能

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>。包裹在带 max-w-6xl 容器的 <section className="py-24"> 中。

定价表

遍历包含 { 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 } 的 FAQs 映射到 shadcn <Accordion> 中,使用 type="single" collapsible。容器:max-w-3xl。

用户评价、CTA、页脚

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

SEO 清单

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

验证步骤: 输出最终代码前,请确认上述清单中的每一项都已满足。如有遗漏,请立即修正 — 不要跳过任何项目。


性能目标

指标目标技术
LCP< 1s预加载英雄图像,在 Next/Image 上使用 priority
CLS< 0.1在所有图片上设置显式宽度/高度
FID/INP< 100ms延迟非关键 JavaScript,使用 loading="lazy"
TTFB< 200ms对落地页使用 ISR 或静态生成
包体积< 100KB JS使用 @next/bundle-analyzer 进行审计

常见陷阱

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

相关技能

  • 品牌声音分析器 (marketing-skill/skills/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 13 individual skills — each has its own dedicated page.

NVlabs/Skill2Env

This skill should be used when the user asks about "digital portfolio", "portfolio website", "project description", "case study", "portfolio curation", "creative portfolio", "act as a portfolio curator", "portfolio curator mode", "portfolio review", "professional presentation", "portfolio architecture", "work samples", "portfolio bio", or needs expertise in building, structuring, and writing professional digital portfolios. Part of the AlterLab FC Skills collection (New Media & Communication department).

NVlabs/Skill2Env

This skill should be used when the user asks about "web content strategy", "SEO writing", "UX writing", "information architecture", "content architecture", "website structure", "act as a web content strategist", "web strategist mode", "site map", "content audit", "microcopy", "meta descriptions", "content hierarchy", "content governance", or needs expertise in planning, structuring, and writing content for websites and digital platforms. Part of the AlterLab FC Skills collection (New Media & Communication department).

NVlabs/Skill2Env

When the user wants to create, generate, or produce video content using AI tools or programmatic frameworks. Also use when the user mentions 'video production,' 'AI video,' 'Remotion,' 'Hyperframes,' 'HeyGen,' 'Synthesia,' 'Veo,' 'Sora,' 'Runway,' 'Kling,' 'Seedance,' 'Hailuo,' 'MiniMax,' 'Pika,' 'Hunyuan,' 'Wan,' 'video generation,' 'AI avatar,' 'talking head video,' 'programmatic video,' 'video template,' 'explainer video,' 'product demo video,' 'video pipeline,' or 'make me a video.' Use this for video creation, generation, and production workflows. For video content strategy and what to post, see social. For paid video ad creative, see ad-creative.

NVlabs/Skill2Env

Balance visual design with ATS compatibility for creative roles

NVlabs/Skill2Env

Build immersive, cinematic 2.5D interactive websites using scroll storytelling, parallax depth, text animations, and premium scroll effects — no WebGL required. Use this skill for any web design task: landing pages, product sites, hero sections, scroll animations, parallax, sticky sections, section overlaps, floating products between sections, clip-path reveals, text that flies in from sides, words that light up on scroll, curtain drops, iris opens, card stacks, bleed typography, and any site that should feel cinematic or premium. Trigger on phrases like "make it feel alive", "Apple-style animation", "sections that overlap", "product rises between sections", "immersive", "scrollytelling", or any scroll-driven visual effect. Covers 45+ techniques across 8 categories. Always inspects, judges, and plans assets before coding. Use aggressively for ANY web design task.

NVlabs/Skill2Env

Read-only queue dashboard for workspace-aware ship. (gstack)

NVlabs/Skill2Env

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

NVlabs/Skill2Env

Audits any landing or service page across 48 checks in 10 categories for LLM/AI discoverability, GEO readiness, content clarity, schema markup, internal linking, freshness signals, and technical crawlability. Produces an overall score out of 100, a per-category score out of 100, pass/warn/fail/ manual counts, and a prioritised fix list — all rendered as a standalone HTML report saved to disk. Use when a user provides a URL and asks to audit it, score it, check its GEO readiness, test its AI discoverability, run a landing page audit, or evaluate it for LLM citation potential. Also trigger on phrases like "audit this page", "score this URL", "check GEO for", "is this page AI-ready", "run a GEO audit", "LLM page check", "how would AI read this page", or "landing page score".

NVlabs/Skill2Env

Generates a premium single-page HTML landing page with 3D CSS animations, GSAP scroll effects, and mouse-parallax depth. Forcing intake (product + elevator pitch, audience register, brand overrides, tone) locks down positioning before any copy or markup is written, so the page reflects the actual product rather than generic boilerplate. Use whenever the user says 'landing for X', 'create a landing page', 'build a landing page', 'make a landing page for X', 'I need a web page for Y', or provides product/service details and wants a polished website. Also triggers on 'promotional page', 'product page', 'one-pager', 'web presence', 'sales page'. Outputs a single self-contained HTML file (Claude Code) or HTML artifact (Claude.ai). Supports configurable brand colors via CSS custom property overrides.

NVlabs/Skill2Env

Use when a user asks to build, optimize, backtest, rebalance, or analyze a stock portfolio with Mean-CVaR, efficient frontiers, scenario generation, or NVIDIA cuOpt.

NVlabs/Skill2Env

Transform resume bullets into detailed portfolio case studies

NVlabs/Skill2Env

> Visual design direction framework organized by emotional intent (Warm/Cold x Active/Calm). The first design reference system that categorizes sites by what they make you FEEL, not how they look. Includes 48 annotated public website references.

NVlabs/Skill2Env

Run a structured 5-pass finishing audit on any website before launch — scoring visual polish, technical foundation, UX completeness, content quality, and cross-device readiness on 100 points. Use when: **Pre-launch** - Final validation before going live; **Post-redesign** - Verify nothing broke during the overhaul; **Client handoff** - Structured proof that the site is ready; **Quarterly review** - Catch accumulated debt; **Single-pass focus** - Run just Pass 2 after a perf sprint

相关技能