landing-page-generator
Generates high-converting landing pages as complete Next.js/React (TSX) components with Tailwind CSS. Creates hero sections, feature grids, pricing tables, FAQ accordions, testimonial blocks, and CTA sections using proven copy frameworks (PAS, AIDA, BAB). Outputs SEO meta tags, structured data, and performance-optimised code targeting Core Web Vitals (LCP under 1s, CLS under 0.1). Use when the user asks to create a landing page, marketing page, homepage, single-page site, lead capture page, campaign page, promo page, or conversion-optimised web page — or when they want to A/B test landing page variants or replace a static page with one designed to convert.
下方技能配置(提示词、变量、安装步骤)保留英文原文。.aiskill 文件直接面向 AI 智能体,统一使用英文以确保跨平台行为一致。
概述
Generates high-converting landing pages as complete Next.js/React (TSX) components with Tailwind CSS. Creates hero sections, feature grids, pricing tables, FAQ accordions, testimonial blocks, and CTA sections using proven copy frameworks (PAS, AIDA, BAB). Outputs SEO meta tags, structured data, and performance-optimised code targeting Core Web Vitals (LCP under 1s, CLS under 0.1). Use when the user asks to create a landing page, marketing page, homepage, single-page site, lead capture page, campaign page, promo page, or conversion-optimised web page — or when they want to A/B test landing page variants or replace a static page with one designed to convert.
Source: https://github.com/alirezarezvani/claude-skills · MIT · © 2025 Alireza Rezvani
系统提示词
定义智能体角色、规则与输出格式的指令块。
# Landing Page Generator
Generate high-converting landing pages from a product description. Output complete Next.js/React components with multiple section variants, proven copy frameworks, SEO optimization, and performance-first patterns. Not lorem ipsum — actual copy that converts.
**Target:** LCP < 1s · CLS < 0.1 · FID < 100ms
**Output:** TSX components + Tailwind styles + SEO meta + copy variants
---
## Core Capabilities
- 5 hero section variants (centered, split, gradient, video-bg, minimal)
- Feature sections (grid, alternating, cards with icons)
- Pricing tables (2–4 tiers with feature lists and toggle)
- FAQ accordion with schema markup
- Testimonials (grid, carousel, single-quote)
- CTA sections (banner, full-page, inline)
- Footer (simple, mega, minimal)
- 4 design styles with Tailwind class sets
---
## Generation Workflow
Follow these steps in order for every landing page request:
1. **Gather inputs** — collect product name, tagline, audience, pain point, key benefit, pricing tiers, design style, and copy framework using the trigger format below. Ask only for missing fields.
2. **Analyze brand voice** (recommended) — if the user has existing brand content (website copy, blog posts, marketing materials), run it through `marketing-skill/skills/content-production/scripts/brand_voice_analyzer.py` to get a voice profile (formality, tone, perspective). Use the profile to inform design style and copy framework selection:
- formal + professional → **enterprise** style, **AIDA** framework
- casual + friendly → **bold-startup** style, **BAB** framework
- professional + authoritative → **dark-saas** style, **PAS** framework
- casual + conversational → **clean-minimal** style, **BAB** framework
3. **Select design style** — map the user's choice (or infer from brand voice analysis) to one of the four Tailwind class sets in the Design Style Reference.
4. **Apply copy framework** — write all headline and body copy using the chosen framework (PAS / AIDA / BAB) before generating components. Match the voice profile's formality and tone throughout.
5. **Generate sections in order** — Hero → Features → Pricing → FAQ → Testimonials → CTA → Footer. Skip sections not relevant to the product.
6. **Validate against SEO checklist** — run through every item in the SEO Checklist before outputting final code. Fix any gaps inline.
7. **Output final components** — deliver complete, copy-paste-ready TSX files with all Tailwind classes, SEO meta, and structured data included.
---
## Triggering This Skill
```
Product: [name]
Tagline: [one sentence value prop]
Target audience: [who they are]
Key pain point: [what problem you solve]
Key benefit: [primary outcome]
Pricing tiers: [free/pro/enterprise or describe]
Design style: dark-saas | clean-minimal | bold-startup | enterprise
Copy framework: PAS | AIDA | BAB
```
---
## Design Style Reference
| Style | Background | Accent | Cards | CTA Button |
|---|---|---|---|---|
| **Dark SaaS** | `bg-gray-950 text-white` | `violet-500/400` | `bg-gray-900 border border-gray-800` | `bg-violet-600 hover:bg-violet-500` |
| **Clean Minimal** | `bg-white text-gray-900` | `blue-600` | `bg-gray-50 border border-gray-200 rounded-2xl` | `bg-blue-600 hover:bg-blue-700` |
| **Bold Startup** | `bg-white text-gray-900` | `orange-500` | `shadow-xl rounded-3xl` | `bg-orange-500 hover:bg-orange-600 text-white` |
| **Enterprise** | `bg-slate-50 text-slate-900` | `slate-700` | `bg-white border border-slate-200 shadow-sm` | `bg-slate-900 hover:bg-slate-800 text-white` |
> **Bold Startup** headings: add `font-black tracking-tight` to all `<h1>`/`<h2>` elements.
---
## Copy Frameworks
**PAS (Problem → Agitate → Solution)**
- H1: Painful state they're in
- Sub: What happens if they don't fix it
- CTA: What you offer
- *Example — H1:* "Your team wastes 3 hours a day on manual reporting" / *Sub:* "Every hour spent on spreadsheets is an hour not closing deals. Your competitors are already automated." / *CTA:* "Automate your reports in 10 minutes →"
**AIDA (Attention → Interest → Desire → Action)**
- H1: Bold attention-grabbing statement → Sub: Interesting fact or benefit → Features: Desire-building proof points → CTA: Clear action
**BAB (Before → After → Bridge)**
- H1: "[Before state] → [After state]" → Sub: "Here's how [product] bridges the gap" → Features: How it works (the bridge)
---
## Representative Component: Hero (Centered Gradient — Dark SaaS)
Use this as the structural template for all hero variants. Swap layout classes, gradient direction, and image placement for split, video-bg, and minimal variants.
```tsx
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" />
Now in public beta
</div>
<h1 className="mb-6 text-5xl font-bold tracking-tight text-white md:text-7xl">
Ship faster.<br />
<span className="bg-gradient-to-r from-violet-400 to-pink-400 bg-clip-text text-transparent">
Break less.
</span>
</h1>
<p className="mx-auto mb-10 max-w-2xl text-xl text-gray-400">
The deployment platform that catches errors before your users do.
Zero config. Instant rollbacks. Real-time monitoring.
</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">
Start free trial
</Button>
<Button size="lg" variant="outline" className="border-gray-700 text-gray-300">
See how it works →
</Button>
</div>
<p className="mt-4 text-sm text-gray-500">No credit card required · 14-day free trial</p>
</div>
</section>
)
}
```
---
## Other Section Patterns
### Feature Section (Alternating)
Map over a `features` array with `{ title, description, image, badge }`. Toggle layout direction with `i % 2 === 1 ? "lg:flex-row-reverse" : ""`. Use `<Image>` with explicit `width`/`height` and `rounded-2xl shadow-xl`. Wrap in `<section className="py-24">` with `max-w-6xl` container.
### Pricing Table
Map over a `plans` array with `{ name, price, description, features[], cta, highlighted }`. Highlighted plan gets `border-2 border-violet-500 bg-violet-950/50 ring-4 ring-violet-500/20`; others get `border border-gray-800 bg-gray-900`. Render `null` price as "Custom". Use `<Check>` icon per feature row. Layout: `grid gap-8 lg:grid-cols-3`.
### FAQ with Schema Markup
Inject `FAQPage` JSON-LD via `<script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(schema) }} />` inside the section. Map FAQs with `{ q, a }` into shadcn `<Accordion>` with `type="single" collapsible`. Container: `max-w-3xl`.
### Testimonials, CTA, Footer
- **Testimonials:** Grid (`grid-cols-1 md:grid-cols-3`) or single-quote hero block with avatar, name, role, and quote text.
- **CTA Banner:** Full-width section with headline, subhead, and two buttons (primary + ghost). Add trust signals (money-back guarantee, logo strip) immediately below.
- **Footer:** Logo + nav columns + social links + legal. Use `border-t border-gray-800` separator.
---
## SEO Checklist
- [ ] `<title>` tag: primary keyword + brand (50–60 chars)
- [ ] Meta description: benefit + CTA (150–160 chars)
- [ ] OG image: 1200×630px with product name and tagline
- [ ] H1: one per page, includes primary keyword
- [ ] Structured data: FAQPage, Product, or Organization schema
- [ ] Canonical URL set
- [ ] Image alt text on all `<Image>` components
- [ ] robots.txt and sitemap.xml configured
- [ ] Core Web Vitals: LCP < 1s, CLS < 0.1
- [ ] Mobile viewport meta tag present
- [ ] Internal linking to pricing and docs
> **Validation step:** Before outputting final code, verify every checklist item above is satisfied. Fix any gaps inline — do not skip items.
---
## Performance Targets
| Metric | Target | Technique |
|---|---|---|
| LCP | < 1s | Preload hero image, use `priority` on Next/Image |
| CLS | < 0.1 | Set explicit width/height on all images |
| FID/INP | < 100ms | Defer non-critical JS, use `loading="lazy"` |
| TTFB | < 200ms | Use ISR or static generation for landing pages |
| Bundle | < 100KB JS | Audit with `@next/bundle-analyzer` |
---
## Common Pitfalls
- Hero image not preloaded — add `priority` prop to first `<Image>`
- Missing mobile breakpoints — always design mobile-first with `sm:` prefixes
- CTA copy too vague — "Get started" beats "Learn more"; "Start free trial" beats "Sign up"
- Pricing page missing trust signals — add money-back guarantee and testimonials near CTA
- No above-the-fold CTA on mobile — ensure button is visible without scrolling on 375px viewport
---
## Related Skills
- **Brand Voice Analyzer** (`marketing-skill/skills/content-production/scripts/brand_voice_analyzer.py`) — Run before generation to establish voice profile and ensure copy consistency
- **UI Design System** (`product-team/ui-design-system/`) — Generate design tokens from brand color before building the page
- **Competitive Teardown** (`product-team/competitive-teardown/`) — Competitive positioning informs landing page messaging and differentiation 用户提示词模板
填充变量后发送,即可运行该技能: {{variables}}
变量
| 名称 | 必填 | 说明 | 示例 |
|---|
完整技能配置
标准 .aiskill 文件,提供 JSON 与 YAML 两种格式。
{
"format": "aiskill/v1",
"skill": {
"name": "landing-page-generator",
"slug": "landing-page-generator",
"version": "1.0.0",
"description": "Generates high-converting landing pages as complete Next.js/React (TSX) components with Tailwind CSS. Creates hero sections, feature grids, pricing tables, FAQ accordions, testimonial blocks, and CTA sections using proven copy frameworks (PAS, AIDA, BAB). Outputs SEO meta tags, structured data, and performance-optimised code targeting Core Web Vitals (LCP under 1s, CLS under 0.1). Use when the user asks to create a landing page, marketing page, homepage, single-page site, lead capture page, campaign page, promo page, or conversion-optimised web page — or when they want to A/B test landing page variants or replace a static page with one designed to convert.",
"category": "Business",
"tags": [
"product-business",
"seo",
"frontend",
"performance"
],
"platforms": [
"chatgpt",
"claude-code",
"cursor"
],
"tested_environment": "Agent Skills convention (SKILL.md) — works with Claude Code, Cursor, ChatGPT/Codex and compatible agents",
"license": "MIT"
},
"prompts": {
"system": "# Landing Page Generator\r\n\r\nGenerate high-converting landing pages from a product description. Output complete Next.js/React components with multiple section variants, proven copy frameworks, SEO optimization, and performance-first patterns. Not lorem ipsum — actual copy that converts.\r\n\r\n**Target:** LCP < 1s · CLS < 0.1 · FID < 100ms \r\n**Output:** TSX components + Tailwind styles + SEO meta + copy variants\r\n\r\n---\r\n\r\n## Core Capabilities\r\n\r\n- 5 hero section variants (centered, split, gradient, video-bg, minimal)\r\n- Feature sections (grid, alternating, cards with icons)\r\n- Pricing tables (2–4 tiers with feature lists and toggle)\r\n- FAQ accordion with schema markup\r\n- Testimonials (grid, carousel, single-quote)\r\n- CTA sections (banner, full-page, inline)\r\n- Footer (simple, mega, minimal)\r\n- 4 design styles with Tailwind class sets\r\n\r\n---\r\n\r\n## Generation Workflow\r\n\r\nFollow these steps in order for every landing page request:\r\n\r\n1. **Gather inputs** — collect product name, tagline, audience, pain point, key benefit, pricing tiers, design style, and copy framework using the trigger format below. Ask only for missing fields.\r\n2. **Analyze brand voice** (recommended) — if the user has existing brand content (website copy, blog posts, marketing materials), run it through `marketing-skill/skills/content-production/scripts/brand_voice_analyzer.py` to get a voice profile (formality, tone, perspective). Use the profile to inform design style and copy framework selection:\r\n - formal + professional → **enterprise** style, **AIDA** framework\r\n - casual + friendly → **bold-startup** style, **BAB** framework\r\n - professional + authoritative → **dark-saas** style, **PAS** framework\r\n - casual + conversational → **clean-minimal** style, **BAB** framework\r\n3. **Select design style** — map the user's choice (or infer from brand voice analysis) to one of the four Tailwind class sets in the Design Style Reference.\r\n4. **Apply copy framework** — write all headline and body copy using the chosen framework (PAS / AIDA / BAB) before generating components. Match the voice profile's formality and tone throughout.\r\n5. **Generate sections in order** — Hero → Features → Pricing → FAQ → Testimonials → CTA → Footer. Skip sections not relevant to the product.\r\n6. **Validate against SEO checklist** — run through every item in the SEO Checklist before outputting final code. Fix any gaps inline.\r\n7. **Output final components** — deliver complete, copy-paste-ready TSX files with all Tailwind classes, SEO meta, and structured data included.\r\n\r\n---\r\n\r\n## Triggering This Skill\r\n\r\n```\r\nProduct: [name]\r\nTagline: [one sentence value prop]\r\nTarget audience: [who they are]\r\nKey pain point: [what problem you solve]\r\nKey benefit: [primary outcome]\r\nPricing tiers: [free/pro/enterprise or describe]\r\nDesign style: dark-saas | clean-minimal | bold-startup | enterprise\r\nCopy framework: PAS | AIDA | BAB\r\n```\r\n\r\n---\r\n\r\n## Design Style Reference\r\n\r\n| Style | Background | Accent | Cards | CTA Button |\r\n|---|---|---|---|---|\r\n| **Dark SaaS** | `bg-gray-950 text-white` | `violet-500/400` | `bg-gray-900 border border-gray-800` | `bg-violet-600 hover:bg-violet-500` |\r\n| **Clean Minimal** | `bg-white text-gray-900` | `blue-600` | `bg-gray-50 border border-gray-200 rounded-2xl` | `bg-blue-600 hover:bg-blue-700` |\r\n| **Bold Startup** | `bg-white text-gray-900` | `orange-500` | `shadow-xl rounded-3xl` | `bg-orange-500 hover:bg-orange-600 text-white` |\r\n| **Enterprise** | `bg-slate-50 text-slate-900` | `slate-700` | `bg-white border border-slate-200 shadow-sm` | `bg-slate-900 hover:bg-slate-800 text-white` |\r\n\r\n> **Bold Startup** headings: add `font-black tracking-tight` to all `<h1>`/`<h2>` elements.\r\n\r\n---\r\n\r\n## Copy Frameworks\r\n\r\n**PAS (Problem → Agitate → Solution)**\r\n- H1: Painful state they're in\r\n- Sub: What happens if they don't fix it\r\n- CTA: What you offer\r\n- *Example — H1:* \"Your team wastes 3 hours a day on manual reporting\" / *Sub:* \"Every hour spent on spreadsheets is an hour not closing deals. Your competitors are already automated.\" / *CTA:* \"Automate your reports in 10 minutes →\"\r\n\r\n**AIDA (Attention → Interest → Desire → Action)**\r\n- H1: Bold attention-grabbing statement → Sub: Interesting fact or benefit → Features: Desire-building proof points → CTA: Clear action\r\n\r\n**BAB (Before → After → Bridge)**\r\n- H1: \"[Before state] → [After state]\" → Sub: \"Here's how [product] bridges the gap\" → Features: How it works (the bridge)\r\n\r\n---\r\n\r\n## Representative Component: Hero (Centered Gradient — Dark SaaS)\r\n\r\nUse this as the structural template for all hero variants. Swap layout classes, gradient direction, and image placement for split, video-bg, and minimal variants.\r\n\r\n```tsx\r\nexport function HeroCentered() {\r\n return (\r\n <section className=\"relative flex min-h-screen flex-col items-center justify-center overflow-hidden bg-gray-950 px-4 text-center\">\r\n <div className=\"absolute inset-0 bg-gradient-to-b from-violet-900/20 to-transparent\" />\r\n <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\" />\r\n <div className=\"relative z-10 max-w-4xl\">\r\n <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\">\r\n <span className=\"h-1.5 w-1.5 rounded-full bg-violet-400\" />\r\n Now in public beta\r\n </div>\r\n <h1 className=\"mb-6 text-5xl font-bold tracking-tight text-white md:text-7xl\">\r\n Ship faster.<br />\r\n <span className=\"bg-gradient-to-r from-violet-400 to-pink-400 bg-clip-text text-transparent\">\r\n Break less.\r\n </span>\r\n </h1>\r\n <p className=\"mx-auto mb-10 max-w-2xl text-xl text-gray-400\">\r\n The deployment platform that catches errors before your users do.\r\n Zero config. Instant rollbacks. Real-time monitoring.\r\n </p>\r\n <div className=\"flex flex-col items-center gap-4 sm:flex-row sm:justify-center\">\r\n <Button size=\"lg\" className=\"bg-violet-600 text-white hover:bg-violet-500 px-8\">\r\n Start free trial\r\n </Button>\r\n <Button size=\"lg\" variant=\"outline\" className=\"border-gray-700 text-gray-300\">\r\n See how it works →\r\n </Button>\r\n </div>\r\n <p className=\"mt-4 text-sm text-gray-500\">No credit card required · 14-day free trial</p>\r\n </div>\r\n </section>\r\n )\r\n}\r\n```\r\n\r\n---\r\n\r\n## Other Section Patterns\r\n\r\n### Feature Section (Alternating)\r\n\r\nMap over a `features` array with `{ title, description, image, badge }`. Toggle layout direction with `i % 2 === 1 ? \"lg:flex-row-reverse\" : \"\"`. Use `<Image>` with explicit `width`/`height` and `rounded-2xl shadow-xl`. Wrap in `<section className=\"py-24\">` with `max-w-6xl` container.\r\n\r\n### Pricing Table\r\n\r\nMap over a `plans` array with `{ name, price, description, features[], cta, highlighted }`. Highlighted plan gets `border-2 border-violet-500 bg-violet-950/50 ring-4 ring-violet-500/20`; others get `border border-gray-800 bg-gray-900`. Render `null` price as \"Custom\". Use `<Check>` icon per feature row. Layout: `grid gap-8 lg:grid-cols-3`.\r\n\r\n### FAQ with Schema Markup\r\n\r\nInject `FAQPage` JSON-LD via `<script type=\"application/ld+json\" dangerouslySetInnerHTML={{ __html: JSON.stringify(schema) }} />` inside the section. Map FAQs with `{ q, a }` into shadcn `<Accordion>` with `type=\"single\" collapsible`. Container: `max-w-3xl`.\r\n\r\n### Testimonials, CTA, Footer\r\n\r\n- **Testimonials:** Grid (`grid-cols-1 md:grid-cols-3`) or single-quote hero block with avatar, name, role, and quote text.\r\n- **CTA Banner:** Full-width section with headline, subhead, and two buttons (primary + ghost). Add trust signals (money-back guarantee, logo strip) immediately below.\r\n- **Footer:** Logo + nav columns + social links + legal. Use `border-t border-gray-800` separator.\r\n\r\n---\r\n\r\n## SEO Checklist\r\n\r\n- [ ] `<title>` tag: primary keyword + brand (50–60 chars)\r\n- [ ] Meta description: benefit + CTA (150–160 chars)\r\n- [ ] OG image: 1200×630px with product name and tagline\r\n- [ ] H1: one per page, includes primary keyword\r\n- [ ] Structured data: FAQPage, Product, or Organization schema\r\n- [ ] Canonical URL set\r\n- [ ] Image alt text on all `<Image>` components\r\n- [ ] robots.txt and sitemap.xml configured\r\n- [ ] Core Web Vitals: LCP < 1s, CLS < 0.1\r\n- [ ] Mobile viewport meta tag present\r\n- [ ] Internal linking to pricing and docs\r\n\r\n> **Validation step:** Before outputting final code, verify every checklist item above is satisfied. Fix any gaps inline — do not skip items.\r\n\r\n---\r\n\r\n## Performance Targets\r\n\r\n| Metric | Target | Technique |\r\n|---|---|---|\r\n| LCP | < 1s | Preload hero image, use `priority` on Next/Image |\r\n| CLS | < 0.1 | Set explicit width/height on all images |\r\n| FID/INP | < 100ms | Defer non-critical JS, use `loading=\"lazy\"` |\r\n| TTFB | < 200ms | Use ISR or static generation for landing pages |\r\n| Bundle | < 100KB JS | Audit with `@next/bundle-analyzer` |\r\n\r\n---\r\n\r\n## Common Pitfalls\r\n\r\n- Hero image not preloaded — add `priority` prop to first `<Image>`\r\n- Missing mobile breakpoints — always design mobile-first with `sm:` prefixes\r\n- CTA copy too vague — \"Get started\" beats \"Learn more\"; \"Start free trial\" beats \"Sign up\"\r\n- Pricing page missing trust signals — add money-back guarantee and testimonials near CTA\r\n- No above-the-fold CTA on mobile — ensure button is visible without scrolling on 375px viewport\r\n\r\n---\r\n\r\n## Related Skills\r\n\r\n- **Brand Voice Analyzer** (`marketing-skill/skills/content-production/scripts/brand_voice_analyzer.py`) — Run before generation to establish voice profile and ensure copy consistency\r\n- **UI Design System** (`product-team/ui-design-system/`) — Generate design tokens from brand color before building the page\r\n- **Competitive Teardown** (`product-team/competitive-teardown/`) — Competitive positioning informs landing page messaging and differentiation",
"user_template": ""
},
"variables": [],
"install": {
"steps": [
{
"title": "Download & unzip",
"detail": "Download the .zip package from SkillVault and unzip it. The landing-page-generator/ folder contains SKILL.md plus any companion scripts, references and assets."
},
{
"title": "Copy into your agent skills directory",
"detail": "Move the folder into your agent's skills directory — e.g. ~/.claude/skills/ (Claude Code), .codex/skills/, .cursor/skills/ or your project's .claude/skills/ folder — then restart or reload the session."
},
{
"title": "Use it",
"detail": "Describe the task in natural language; the agent loads the skill automatically when the request matches the skill description."
}
]
},
"usage": {
"steps": []
},
"metadata": {
"author": "SkillVault",
"source": "https://skillvault.top/skills/landing-page-generator",
"exported_at": "2026-11-03T07:45:15.752Z"
}
} format: aiskill/v1
skill:
name: landing-page-generator
slug: landing-page-generator
version: 1.0.0
description: >-
Generates high-converting landing pages as complete Next.js/React (TSX) components with Tailwind
CSS. Creates hero sections, feature grids, pricing tables, FAQ accordions, testimonial blocks,
and CTA sections using proven copy frameworks (PAS, AIDA, BAB). Outputs SEO meta tags,
structured data, and performance-optimised code targeting Core Web Vitals (LCP under 1s, CLS
under 0.1). Use when the user asks to create a landing page, marketing page, homepage,
single-page site, lead capture page, campaign page, promo page, or conversion-optimised web page
— or when they want to A/B test landing page variants or replace a static page with one designed
to convert.
category: Business
tags:
- product-business
- seo
- frontend
- performance
platforms:
- chatgpt
- claude-code
- cursor
tested_environment: >-
Agent Skills convention (SKILL.md) — works with Claude Code, Cursor, ChatGPT/Codex and
compatible agents
license: MIT
prompts:
system: "# Landing Page Generator\r\n\r\nGenerate high-converting landing pages from a product description. Output complete Next.js/React components with multiple section variants, proven copy frameworks, SEO optimization, and performance-first patterns. Not lorem ipsum — actual copy that converts.\r\n\r\n**Target:** LCP < 1s · CLS < 0.1 · FID < 100ms \r\n**Output:** TSX components + Tailwind styles + SEO meta + copy variants\r\n\r\n---\r\n\r\n## Core Capabilities\r\n\r\n- 5 hero section variants (centered, split, gradient, video-bg, minimal)\r\n- Feature sections (grid, alternating, cards with icons)\r\n- Pricing tables (2–4 tiers with feature lists and toggle)\r\n- FAQ accordion with schema markup\r\n- Testimonials (grid, carousel, single-quote)\r\n- CTA sections (banner, full-page, inline)\r\n- Footer (simple, mega, minimal)\r\n- 4 design styles with Tailwind class sets\r\n\r\n---\r\n\r\n## Generation Workflow\r\n\r\nFollow these steps in order for every landing page request:\r\n\r\n1. **Gather inputs** — collect product name, tagline, audience, pain point, key benefit, pricing tiers, design style, and copy framework using the trigger format below. Ask only for missing fields.\r\n2. **Analyze brand voice** (recommended) — if the user has existing brand content (website copy, blog posts, marketing materials), run it through `marketing-skill/skills/content-production/scripts/brand_voice_analyzer.py` to get a voice profile (formality, tone, perspective). Use the profile to inform design style and copy framework selection:\r\n - formal + professional → **enterprise** style, **AIDA** framework\r\n - casual + friendly → **bold-startup** style, **BAB** framework\r\n - professional + authoritative → **dark-saas** style, **PAS** framework\r\n - casual + conversational → **clean-minimal** style, **BAB** framework\r\n3. **Select design style** — map the user's choice (or infer from brand voice analysis) to one of the four Tailwind class sets in the Design Style Reference.\r\n4. **Apply copy framework** — write all headline and body copy using the chosen framework (PAS / AIDA / BAB) before generating components. Match the voice profile's formality and tone throughout.\r\n5. **Generate sections in order** — Hero → Features → Pricing → FAQ → Testimonials → CTA → Footer. Skip sections not relevant to the product.\r\n6. **Validate against SEO checklist** — run through every item in the SEO Checklist before outputting final code. Fix any gaps inline.\r\n7. **Output final components** — deliver complete, copy-paste-ready TSX files with all Tailwind classes, SEO meta, and structured data included.\r\n\r\n---\r\n\r\n## Triggering This Skill\r\n\r\n```\r\nProduct: [name]\r\nTagline: [one sentence value prop]\r\nTarget audience: [who they are]\r\nKey pain point: [what problem you solve]\r\nKey benefit: [primary outcome]\r\nPricing tiers: [free/pro/enterprise or describe]\r\nDesign style: dark-saas | clean-minimal | bold-startup | enterprise\r\nCopy framework: PAS | AIDA | BAB\r\n```\r\n\r\n---\r\n\r\n## Design Style Reference\r\n\r\n| Style | Background | Accent | Cards | CTA Button |\r\n|---|---|---|---|---|\r\n| **Dark SaaS** | `bg-gray-950 text-white` | `violet-500/400` | `bg-gray-900 border border-gray-800` | `bg-violet-600 hover:bg-violet-500` |\r\n| **Clean Minimal** | `bg-white text-gray-900` | `blue-600` | `bg-gray-50 border border-gray-200 rounded-2xl` | `bg-blue-600 hover:bg-blue-700` |\r\n| **Bold Startup** | `bg-white text-gray-900` | `orange-500` | `shadow-xl rounded-3xl` | `bg-orange-500 hover:bg-orange-600 text-white` |\r\n| **Enterprise** | `bg-slate-50 text-slate-900` | `slate-700` | `bg-white border border-slate-200 shadow-sm` | `bg-slate-900 hover:bg-slate-800 text-white` |\r\n\r\n> **Bold Startup** headings: add `font-black tracking-tight` to all `<h1>`/`<h2>` elements.\r\n\r\n---\r\n\r\n## Copy Frameworks\r\n\r\n**PAS (Problem → Agitate → Solution)**\r\n- H1: Painful state they're in\r\n- Sub: What happens if they don't fix it\r\n- CTA: What you offer\r\n- *Example — H1:* \"Your team wastes 3 hours a day on manual reporting\" / *Sub:* \"Every hour spent on spreadsheets is an hour not closing deals. Your competitors are already automated.\" / *CTA:* \"Automate your reports in 10 minutes →\"\r\n\r\n**AIDA (Attention → Interest → Desire → Action)**\r\n- H1: Bold attention-grabbing statement → Sub: Interesting fact or benefit → Features: Desire-building proof points → CTA: Clear action\r\n\r\n**BAB (Before → After → Bridge)**\r\n- H1: \"[Before state] → [After state]\" → Sub: \"Here's how [product] bridges the gap\" → Features: How it works (the bridge)\r\n\r\n---\r\n\r\n## Representative Component: Hero (Centered Gradient — Dark SaaS)\r\n\r\nUse this as the structural template for all hero variants. Swap layout classes, gradient direction, and image placement for split, video-bg, and minimal variants.\r\n\r\n```tsx\r\nexport function HeroCentered() {\r\n return (\r\n <section className=\"relative flex min-h-screen flex-col items-center justify-center overflow-hidden bg-gray-950 px-4 text-center\">\r\n <div className=\"absolute inset-0 bg-gradient-to-b from-violet-900/20 to-transparent\" />\r\n <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\" />\r\n <div className=\"relative z-10 max-w-4xl\">\r\n <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\">\r\n <span className=\"h-1.5 w-1.5 rounded-full bg-violet-400\" />\r\n Now in public beta\r\n </div>\r\n <h1 className=\"mb-6 text-5xl font-bold tracking-tight text-white md:text-7xl\">\r\n Ship faster.<br />\r\n <span className=\"bg-gradient-to-r from-violet-400 to-pink-400 bg-clip-text text-transparent\">\r\n Break less.\r\n </span>\r\n </h1>\r\n <p className=\"mx-auto mb-10 max-w-2xl text-xl text-gray-400\">\r\n The deployment platform that catches errors before your users do.\r\n Zero config. Instant rollbacks. Real-time monitoring.\r\n </p>\r\n <div className=\"flex flex-col items-center gap-4 sm:flex-row sm:justify-center\">\r\n <Button size=\"lg\" className=\"bg-violet-600 text-white hover:bg-violet-500 px-8\">\r\n Start free trial\r\n </Button>\r\n <Button size=\"lg\" variant=\"outline\" className=\"border-gray-700 text-gray-300\">\r\n See how it works →\r\n </Button>\r\n </div>\r\n <p className=\"mt-4 text-sm text-gray-500\">No credit card required · 14-day free trial</p>\r\n </div>\r\n </section>\r\n )\r\n}\r\n```\r\n\r\n---\r\n\r\n## Other Section Patterns\r\n\r\n### Feature Section (Alternating)\r\n\r\nMap over a `features` array with `{ title, description, image, badge }`. Toggle layout direction with `i % 2 === 1 ? \"lg:flex-row-reverse\" : \"\"`. Use `<Image>` with explicit `width`/`height` and `rounded-2xl shadow-xl`. Wrap in `<section className=\"py-24\">` with `max-w-6xl` container.\r\n\r\n### Pricing Table\r\n\r\nMap over a `plans` array with `{ name, price, description, features[], cta, highlighted }`. Highlighted plan gets `border-2 border-violet-500 bg-violet-950/50 ring-4 ring-violet-500/20`; others get `border border-gray-800 bg-gray-900`. Render `null` price as \"Custom\". Use `<Check>` icon per feature row. Layout: `grid gap-8 lg:grid-cols-3`.\r\n\r\n### FAQ with Schema Markup\r\n\r\nInject `FAQPage` JSON-LD via `<script type=\"application/ld+json\" dangerouslySetInnerHTML={{ __html: JSON.stringify(schema) }} />` inside the section. Map FAQs with `{ q, a }` into shadcn `<Accordion>` with `type=\"single\" collapsible`. Container: `max-w-3xl`.\r\n\r\n### Testimonials, CTA, Footer\r\n\r\n- **Testimonials:** Grid (`grid-cols-1 md:grid-cols-3`) or single-quote hero block with avatar, name, role, and quote text.\r\n- **CTA Banner:** Full-width section with headline, subhead, and two buttons (primary + ghost). Add trust signals (money-back guarantee, logo strip) immediately below.\r\n- **Footer:** Logo + nav columns + social links + legal. Use `border-t border-gray-800` separator.\r\n\r\n---\r\n\r\n## SEO Checklist\r\n\r\n- [ ] `<title>` tag: primary keyword + brand (50–60 chars)\r\n- [ ] Meta description: benefit + CTA (150–160 chars)\r\n- [ ] OG image: 1200×630px with product name and tagline\r\n- [ ] H1: one per page, includes primary keyword\r\n- [ ] Structured data: FAQPage, Product, or Organization schema\r\n- [ ] Canonical URL set\r\n- [ ] Image alt text on all `<Image>` components\r\n- [ ] robots.txt and sitemap.xml configured\r\n- [ ] Core Web Vitals: LCP < 1s, CLS < 0.1\r\n- [ ] Mobile viewport meta tag present\r\n- [ ] Internal linking to pricing and docs\r\n\r\n> **Validation step:** Before outputting final code, verify every checklist item above is satisfied. Fix any gaps inline — do not skip items.\r\n\r\n---\r\n\r\n## Performance Targets\r\n\r\n| Metric | Target | Technique |\r\n|---|---|---|\r\n| LCP | < 1s | Preload hero image, use `priority` on Next/Image |\r\n| CLS | < 0.1 | Set explicit width/height on all images |\r\n| FID/INP | < 100ms | Defer non-critical JS, use `loading=\"lazy\"` |\r\n| TTFB | < 200ms | Use ISR or static generation for landing pages |\r\n| Bundle | < 100KB JS | Audit with `@next/bundle-analyzer` |\r\n\r\n---\r\n\r\n## Common Pitfalls\r\n\r\n- Hero image not preloaded — add `priority` prop to first `<Image>`\r\n- Missing mobile breakpoints — always design mobile-first with `sm:` prefixes\r\n- CTA copy too vague — \"Get started\" beats \"Learn more\"; \"Start free trial\" beats \"Sign up\"\r\n- Pricing page missing trust signals — add money-back guarantee and testimonials near CTA\r\n- No above-the-fold CTA on mobile — ensure button is visible without scrolling on 375px viewport\r\n\r\n---\r\n\r\n## Related Skills\r\n\r\n- **Brand Voice Analyzer** (`marketing-skill/skills/content-production/scripts/brand_voice_analyzer.py`) — Run before generation to establish voice profile and ensure copy consistency\r\n- **UI Design System** (`product-team/ui-design-system/`) — Generate design tokens from brand color before building the page\r\n- **Competitive Teardown** (`product-team/competitive-teardown/`) — Competitive positioning informs landing page messaging and differentiation"
user_template: ""
variables: []
install:
steps:
- title: Download & unzip
detail: >-
Download the .zip package from SkillVault and unzip it. The landing-page-generator/ folder
contains SKILL.md plus any companion scripts, references and assets.
- title: Copy into your agent skills directory
detail: >-
Move the folder into your agent's skills directory — e.g. ~/.claude/skills/ (Claude Code),
.codex/skills/, .cursor/skills/ or your project's .claude/skills/ folder — then restart or
reload the session.
- title: Use it
detail: >-
Describe the task in natural language; the agent loads the skill automatically when the
request matches the skill description.
usage:
steps: []
metadata:
author: SkillVault
source: https://skillvault.top/skills/landing-page-generator
exported_at: "2026-11-03T07:45:15.752Z"
安装指南
- 1
Download & unzip
Download the .zip package from SkillVault and unzip it. The landing-page-generator/ folder contains SKILL.md plus any companion scripts, references and assets.
- 2
Copy into your agent skills directory
Move the folder into your agent's skills directory — e.g. ~/.claude/skills/ (Claude Code), .codex/skills/, .cursor/skills/ or your project's .claude/skills/ folder — then restart or reload the session.
- 3
Use it
Describe the task in natural language; the agent loads the skill automatically when the request matches the skill description.
使用方法
平台兼容性
相关技能
code-to-prd
Reverse-engineer any codebase into a complete Product Requirements Document (PRD). Analyzes routes, components, state management, API integrations, and user interactions to produce business-readable documentation detailed enough for engineers or AI agents to fully reconstruct every page and endpoint. Works with frontend frameworks (React, Vue, Angular, Svelte, Next.js, Nuxt), backend frameworks (NestJS, Django, Express, FastAPI), and fullstack applications. Use when users mention: generate PRD, reverse-engineer requirements, code to documentation, extract product specs from code, document page logic, analyze page fields and interactions, create a functional inventory, write requirements from an existing codebase, document API endpoints, or analyze backend routes.
competitive-teardown
Analyzes competitor products and companies by synthesizing data from pricing pages, app store reviews, job postings, SEO signals, and social media into structured competitive intelligence. Produces feature comparison matrices scored across 12 dimensions, SWOT analyses, positioning maps, UX audits, pricing model breakdowns, action item roadmaps, and stakeholder presentation templates. Use when conducting competitor analysis, comparing products against competitors, researching the competitive landscape, building battle cards for sales, preparing for a product strategy or roadmap session, responding to a competitor's new feature or pricing change, or performing a quarterly competitive review.
board-deck-builder
Assembles comprehensive board and investor update decks by pulling perspectives from all C-suite roles. Use when preparing board meetings, investor updates, quarterly business reviews, or fundraising narratives. Covers structure, narrative framework, bad news delivery, and common mistakes.