/landing-gen
Generate landing page content from a project's PRD. Produces hero section, features, social proof, CTA, SEO meta tags, and A/B headline variants. If astro-static stack detected, can scaffold actual page files.
MCP Tools (use if available)
kb_search(query) — find related methodology (conversion, copywriting)
project_info(name) — get project stack and details
web_search(query) — competitor landing analysis
If MCP tools are not available, fall back to Glob + Grep + Read.
Steps
Parse project from $ARGUMENTS.
- Read PRD, README, or research.md for product info.
- If empty: ask via AskUserQuestion.
Detect stack:
- Check for
astro.config.* → astro-static (can scaffold page)
- Check for
next.config.* → Next.js (can scaffold route)
- Otherwise: generate content-only markdown
Extract landing inputs from PRD/README:
- Problem: 1 sentence pain statement
- Solution: 1 sentence product description
- ICP: Target user persona
- Features: Top 3-4 differentiating features with descriptions
- Competitors: From research.md (if exists) — for positioning
- Pricing: If available
Competitor landing analysis (optional, if MCP/WebSearch available):
- Search for top 3 competitor landing pages
- Note: headline patterns, CTA language, social proof types
- Identify positioning gaps
Forced reasoning — conversion strategy:
Before generating, write out:
- Primary conversion: What's the ONE action? (sign up / download / buy)
- Objections: Top 3 reasons someone wouldn't convert
- Trust signals: What overcomes each objection?
- Above the fold: Problem + Solution + CTA — nothing else
Generate landing content:
6a. Hero Section
- Headline: Problem-focused, benefit-driven (8-12 words)
- Subheadline: How the product solves it (15-25 words)
- CTA button: Action verb + outcome ("Start Free Trial", "Download Now")
- Visual: Describe what image/screenshot/demo should be shown
6b. A/B Headline Variants (5 options)
Generate 5 distinct headline approaches:
- Pain-focused: "Tired of {problem}?"
- Benefit-focused: "{Outcome} without {hassle}"
- Curiosity: "The {adjective} way to {action}"
- Social proof: "Join {N}+ {users} who {outcome}"
- Direct: "{Product}: {one-line value prop}"
6c. Features Section (3-4 features)
For each feature:
- Icon suggestion (emoji or icon name)
- Feature title (3-5 words)
- Feature description (1-2 sentences)
- Benefit framing (what user gains, not what product does)
6d. Social Proof Section
- Placeholder for testimonials (template with name, role, quote)
- Metrics placeholders ("X+ users", "Y% faster", "Z countries")
- Trust badges placeholder (App Store rating, awards, press)
6e. CTA Section
- Repeat headline (or variation)
- CTA button (same as hero)
- Risk reducer ("Free forever" / "No credit card" / "Cancel anytime")
6f. SEO Meta Tags
<title>{title — 50-60 chars}</title>
<meta name="description" content="{description — 150-160 chars}">
<meta property="og:title" content="{og title}">
<meta property="og:description" content="{og description}">
<meta property="og:image" content="{suggest image dimensions 1200x630}">
<meta property="og:type" content="website">
Write output:
If astro-static detected: scaffold page at src/pages/index.astro or new route.
Otherwise: write to docs/landing-content.md:
# Landing Page Content: {Project Name}
**Generated:** {YYYY-MM-DD}
**Primary CTA:** {action}
**Target ICP:** {persona}
## Hero
**Headline:** {headline}
**Subheadline:** {subheadline}
**CTA:** {button text}
**Visual:** {description}
## A/B Headlines
1. {variant 1}
2. {variant 2}
3. {variant 3}
4. {variant 4}
5. {variant 5}
## Features
{features with icons and descriptions}
## Social Proof
{templates and placeholders}
## Final CTA
{closing section}
## SEO Meta Tags
{html meta tags}
---
*Generated by /landing-gen. Fill in social proof, add visuals, then publish.*
Output summary — headline, CTA, and suggested next steps.
Notes
- Headline should be testable — run A/B with 2-3 variants
- "Above the fold" = hero only — don't overload
- Social proof is placeholder — fill with real data as it comes
- For fake-door tests: hero + CTA + email capture is enough (2-hour launch)
- Works with /seo-audit — generate content, then audit the deployed page
Gotchas
- Hero CTA must be above the fold — if users need to scroll to find the primary action, conversion drops 40%+. Hero = headline + subheadline + CTA button + visual. Nothing else.
- Too many CTAs = decision paralysis — one primary CTA per page. Secondary actions (learn more, see pricing) should be visually subordinate. Never put 3 equal-weight buttons side by side.
- Social proof placeholders hurt more than no social proof — "Join 0 users" or empty testimonial slots signal "nobody uses this". Remove social proof section entirely until you have real data. Use "Built by {founder name}" instead.
- OG image is required for social sharing — without
og:image, links shared on Twitter/LinkedIn/Slack show a blank preview. Use 1200x630px. Test with https://cards-dev.twitter.com/validator.
- A/B test headlines BEFORE launch — don't pick one headline and ship. Use Google Ads ($20/day for 3 days) to test 3-5 variants against each other. The winner goes on the landing page.
Common Issues
No PRD or product info found
Cause: Project lacks docs/prd.md or README with product description.
Fix: Run /validate to generate PRD first, or provide a README with problem/solution/features.
Headlines too generic
Cause: Weak problem statement or missing competitor differentiation.
Fix: Add research.md with competitive analysis. Specific pain points produce specific headlines.
Stack not detected for page scaffolding
Cause: No astro.config.* or next.config.* found.
Fix: Skill outputs content-only markdown by default. To get actual page files, ensure the project uses astro-static or nextjs-supabase stack.
1---2name: solo-landing-gen3description: Use when "create landing page", "write landing copy", "hero section", "A/B headlines", "landing content", or need marketing page from PRD. Do NOT use for SEO auditing (/seo-audit).4license: MIT5---67# /landing-gen89Generate landing page content from a project's PRD. Produces hero section, features, social proof, CTA, SEO meta tags, and A/B headline variants. If astro-static stack detected, can scaffold actual page files.1011## MCP Tools (use if available)1213- `kb_search(query)` — find related methodology (conversion, copywriting)14- `project_info(name)` — get project stack and details15- `web_search(query)` — competitor landing analysis1617If MCP tools are not available, fall back to Glob + Grep + Read.1819## Steps20211. **Parse project** from `$ARGUMENTS`.22 - Read PRD, README, or research.md for product info.23 - If empty: ask via AskUserQuestion.24252. **Detect stack:**26 - Check for `astro.config.*` → astro-static (can scaffold page)27 - Check for `next.config.*` → Next.js (can scaffold route)28 - Otherwise: generate content-only markdown29303. **Extract landing inputs** from PRD/README:31 - **Problem:** 1 sentence pain statement32 - **Solution:** 1 sentence product description33 - **ICP:** Target user persona34 - **Features:** Top 3-4 differentiating features with descriptions35 - **Competitors:** From research.md (if exists) — for positioning36 - **Pricing:** If available37384. **Competitor landing analysis** (optional, if MCP/WebSearch available):39 - Search for top 3 competitor landing pages40 - Note: headline patterns, CTA language, social proof types41 - Identify positioning gaps42435. **Forced reasoning — conversion strategy:**44 Before generating, write out:45 - **Primary conversion:** What's the ONE action? (sign up / download / buy)46 - **Objections:** Top 3 reasons someone wouldn't convert47 - **Trust signals:** What overcomes each objection?48 - **Above the fold:** Problem + Solution + CTA — nothing else49506. **Generate landing content:**5152 ### 6a. Hero Section53 - **Headline:** Problem-focused, benefit-driven (8-12 words)54 - **Subheadline:** How the product solves it (15-25 words)55 - **CTA button:** Action verb + outcome ("Start Free Trial", "Download Now")56 - **Visual:** Describe what image/screenshot/demo should be shown5758 ### 6b. A/B Headline Variants (5 options)59 Generate 5 distinct headline approaches:60 1. Pain-focused: "Tired of {problem}?"61 2. Benefit-focused: "{Outcome} without {hassle}"62 3. Curiosity: "The {adjective} way to {action}"63 4. Social proof: "Join {N}+ {users} who {outcome}"64 5. Direct: "{Product}: {one-line value prop}"6566 ### 6c. Features Section (3-4 features)67 For each feature:68 - Icon suggestion (emoji or icon name)69 - Feature title (3-5 words)70 - Feature description (1-2 sentences)71 - Benefit framing (what user gains, not what product does)7273 ### 6d. Social Proof Section74 - Placeholder for testimonials (template with name, role, quote)75 - Metrics placeholders ("X+ users", "Y% faster", "Z countries")76 - Trust badges placeholder (App Store rating, awards, press)7778 ### 6e. CTA Section79 - Repeat headline (or variation)80 - CTA button (same as hero)81 - Risk reducer ("Free forever" / "No credit card" / "Cancel anytime")8283 ### 6f. SEO Meta Tags84 ```html85 <title>{title — 50-60 chars}</title>86 <meta name="description" content="{description — 150-160 chars}">87 <meta property="og:title" content="{og title}">88 <meta property="og:description" content="{og description}">89 <meta property="og:image" content="{suggest image dimensions 1200x630}">90 <meta property="og:type" content="website">91 ```92937. **Write output:**9495 **If astro-static detected:** scaffold page at `src/pages/index.astro` or new route.9697 **Otherwise:** write to `docs/landing-content.md`:9899 ```markdown100 # Landing Page Content: {Project Name}101102 **Generated:** {YYYY-MM-DD}103 **Primary CTA:** {action}104 **Target ICP:** {persona}105106 ## Hero107 **Headline:** {headline}108 **Subheadline:** {subheadline}109 **CTA:** {button text}110 **Visual:** {description}111112 ## A/B Headlines113 1. {variant 1}114 2. {variant 2}115 3. {variant 3}116 4. {variant 4}117 5. {variant 5}118119 ## Features120 {features with icons and descriptions}121122 ## Social Proof123 {templates and placeholders}124125 ## Final CTA126 {closing section}127128 ## SEO Meta Tags129 {html meta tags}130131 ---132 *Generated by /landing-gen. Fill in social proof, add visuals, then publish.*133 ```1341358. **Output summary** — headline, CTA, and suggested next steps.136137## Notes138139- Headline should be testable — run A/B with 2-3 variants140- "Above the fold" = hero only — don't overload141- Social proof is placeholder — fill with real data as it comes142- For fake-door tests: hero + CTA + email capture is enough (2-hour launch)143- Works with /seo-audit — generate content, then audit the deployed page144145## Gotchas1461471. **Hero CTA must be above the fold** — if users need to scroll to find the primary action, conversion drops 40%+. Hero = headline + subheadline + CTA button + visual. Nothing else.1482. **Too many CTAs = decision paralysis** — one primary CTA per page. Secondary actions (learn more, see pricing) should be visually subordinate. Never put 3 equal-weight buttons side by side.1493. **Social proof placeholders hurt more than no social proof** — "Join 0 users" or empty testimonial slots signal "nobody uses this". Remove social proof section entirely until you have real data. Use "Built by {founder name}" instead.1504. **OG image is required for social sharing** — without `og:image`, links shared on Twitter/LinkedIn/Slack show a blank preview. Use 1200x630px. Test with https://cards-dev.twitter.com/validator.1515. **A/B test headlines BEFORE launch** — don't pick one headline and ship. Use Google Ads ($20/day for 3 days) to test 3-5 variants against each other. The winner goes on the landing page.152153## Common Issues154155### No PRD or product info found156**Cause:** Project lacks `docs/prd.md` or README with product description.157**Fix:** Run `/validate` to generate PRD first, or provide a README with problem/solution/features.158159### Headlines too generic160**Cause:** Weak problem statement or missing competitor differentiation.161**Fix:** Add `research.md` with competitive analysis. Specific pain points produce specific headlines.162163### Stack not detected for page scaffolding164**Cause:** No `astro.config.*` or `next.config.*` found.165**Fix:** Skill outputs content-only markdown by default. To get actual page files, ensure the project uses astro-static or nextjs-supabase stack.