Landing page creator

From Affitor/affiliate-skills · View interactive version

Landing page creator is an AI agent skill from the GitHub repository Affitor/affiliate-skills. Build high-converting affiliate landing pages as single self-contained HTML files. Triggers on: "create a landing page for", "build a landing page", "product landing page", "affiliate landing page", "comparison page for", "vs page", "single product page", "conversion page", "sales page for affiliate

How to use this skill

Skill file

Landing Page Creator

Build dedicated affiliate landing pages that convert. Output is a single self-contained HTML file with inline CSS — no build step, no dependencies, mobile-responsive, deployable anywhere. Supports two page types: single product spotlight and multi-product comparison.

Stage

S4: Landing — Higher conversion than blog links because the entire page is designed around one goal: convert a visitor into a click. Landing pages are the bridge between traffic sources (social, email, ads) and the affiliate product.

When to Use

Input Schema

product:                    # REQUIRED — the affiliate product to feature
  name: string              # Product name (e.g., "HeyGen")
  description: string       # What it does
  reward_value: string      # Commission (e.g., "30% recurring")
  url: string               # Affiliate link URL
  reward_type: string       # "recurring" | "one-time" | "tiered"
  cookie_days: number       # Cookie duration
  tags: string[]            # e.g., ["ai", "video", "saas"]

page_type: string           # OPTIONAL — "single" | "comparison"
                            # Default: "single"

compare_with: object[]      # OPTIONAL — products for comparison page
  - name: string            # Competitor name
    description: string     # Brief description
    url: string             # URL (non-affiliate OK)
    pricing: string         # Starting price

angle: string               # OPTIONAL — marketing angle / hook
                            # e.g., "fastest", "cheapest", "best for beginners"
                            # Default: auto-generated from product strengths

color_scheme: string        # OPTIONAL — "blue" | "green" | "purple" | "orange" | "dark" | hex code
                            # Default: "blue" (#2563eb)

Chaining from S1: If affiliate-program-search was run earlier in the conversation, automatically pick up recommended_program from its output as the product input. The field mapping:

Chaining from S3: If affiliate-blog-builder was run, use products_featured for the comparison page's compare_with list.

If the user says "now make a landing page for it" after running S1 — use the recommended program. No need to ask again.

Workflow

Step 1: Gather Product Info

If product data is available from S1 chaining or user input, use it directly. Otherwise:

  1. Use web_search to research the product: "[product name] features pricing review"
  2. Gather: name, description, key features (3-6), pricing, target audience, top competitors
  3. If page_type = comparison and compare_with is empty:

Step 2: Plan Page Structure

Read references/conversion-principles.md for AIDA framework, CTA placement, and design rules.

Choose page_type if not specified:

Plan the page sections based on type:

Single product:

  1. FTC disclosure (above fold)
  2. Hero: headline + subtitle + primary CTA + trust signal
  3. Trust bar: rating, user count, press mention
  4. Features: 3-column grid (3-6 features as benefits)
  5. Pricing: price + CTA
  6. Testimonial: one strong quote
  7. Who is this for: audience list
  8. FAQ: 4-6 questions addressing objections
  9. Final CTA: headline + CTA button
  10. Footer: Affitor branding

Comparison:

  1. FTC disclosure (above fold)
  2. Hero: "[A] vs [B]" headline + subtitle
  3. Comparison table: feature rows with winner highlights
  4. Individual product sections: description + pros/cons + CTA each
  5. Winner callout: clear recommendation with reasoning
  6. FAQ: 4-6 comparison-specific questions
  7. Dual CTA: buttons for top 2 products
  8. Footer: Affitor branding

Map the user's color_scheme to CSS custom properties:

Step 3: Write Full HTML

Read the matching template from templates/:

Use the template as a structural guide. Write a complete HTML file with:

Content rules:

Required elements:

Things to AVOID:

Step 4: Output

Present the final output in this structure:

Part 1: Page Summary

---
LANDING PAGE
---
Type: [single/comparison]
Product: [product name]
Angle: [marketing angle used]
Color: [color scheme applied]
CTAs: [number of CTA buttons]
Sections: [list of sections]
---

Part 2: Complete HTML

The full HTML file in a fenced code block (``html). User can save as .html` and open in any browser.

Part 3: Deploy Instructions

---
DEPLOY
---
1. Save the HTML above as `[product-slug]-landing.html`
2. Open locally: double-click the file to preview in your browser
3. Deploy options:
   - Netlify Drop: drag the file to https://app.netlify.com/drop
   - Vercel: `npx vercel deploy --prod` in the file's directory
   - GitHub Pages: push to a repo with GitHub Pages enabled
4. Custom domain: point your domain's DNS to the hosting provider
5. Promote: run `bio-link-deployer` to add this page to your link hub
---

Step 5: Self-Validation

Before presenting output, verify:

If any check fails, fix the output before delivering. Do not flag the checklist to the user — just ensure the output passes.

Output Schema

output_schema_version: "1.0.0"  # Semver — bump major on breaking changes
landing_page:
  type: string              # "single" | "comparison"
  product_name: string      # Primary product name
  angle: string             # Marketing angle used
  color_scheme: string      # Color scheme applied
  html: string              # Complete self-contained HTML
  filename: string          # Suggested filename (e.g., "heygen-landing.html")

products_featured:          # All products on the page
  - name: string
    url: string             # Affiliate URL
    role: string            # "primary" | "compared"
    cta_count: number       # Number of CTAs for this product

deploy:
  local: string             # "Open [filename] in browser"
  netlify: string           # Netlify Drop URL
  vercel: string            # Vercel deploy command
  github_pages: string      # GitHub Pages instructions

Output Format

Present the output as three clearly separated sections:

  1. Page Summary — type, product, angle, structure overview
  2. HTML — the complete file in a code block, ready to save and deploy
  3. Deploy Instructions — how to get the page live

The HTML should be immediately deployable — save it as a .html file, open in a browser, and it works. No build step, no dependencies.

Error Handling

Examples

Example 1: Single Product (chained from S1)

User: "Create a landing page for HeyGen"

Context: S1 previously returned HeyGen as recommended_program

Action: Auto-detect page_type=single, pick up HeyGen data from S1, read single-product template, generate complete HTML with blue theme.

Example 2: Comparison Page

User: "Build a comparison page: HeyGen vs Synthesia vs Colossyan"

Action: page_type=comparison, primary product=HeyGen (if from S1), compare_with=[Synthesia, Colossyan], web_search for competitor details, generate comparison HTML.

Example 3: Custom Color

User: "Make a dark-themed landing page for Semrush with an SEO angle"

Action: page_type=single, color_scheme=dark, angle="SEO", web_search Semrush for features/pricing, generate HTML with dark theme.

Example 4: Minimal Input

User: "Landing page for this product" (after S1)

Action: Pick up S1 recommended_program, default page_type=single, default color=blue, auto-generate angle from product strengths.

References

Flywheel Connections

Feeds Into

Fed By

Feedback Loop

Quality Gate

Before delivering output, verify:

  1. Would I share this on MY personal social?
  2. Contains specific, surprising detail? (not generic)
  3. Respects reader's intelligence?
  4. Remarkable enough to share? (Purple Cow test)
  5. Irresistible offer framing? (if S4 offer skills ran)

Any NO → rewrite before delivering.

chain_metadata:
  skill_slug: "landing-page-creator"
  stage: "landing"
  timestamp: string
  suggested_next:
    - "bio-link-deployer"
    - "github-pages-deployer"
    - "email-drip-sequence"
    - "conversion-tracker"
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.