Landing page generator

From FlorianBruniaux/claude-code-plugins · View interactive version

Landing page generator is an AI agent skill from the GitHub repository FlorianBruniaux/claude-code-plugins. Generate complete, deploy-ready landing pages from any repository. Use when creating a homepage for an open-source project, building a project website, converting a README into a marketing page, or standardizing landing pages across multiple repos.

How to use this skill

Skill file

Landing page generator

Generate a complete, deploy-ready landing page from any repository by analyzing its documentation and structure.

When to use this skill

What this skill does

  1. Analyze Repository: Read README.md, CHANGELOG.md, package.json/VERSION, docs/, assets/
  2. Extract Content: Identify title, tagline, features, installation, screenshots
  3. Map to Sections: Hero, Features, Install, FAQ, Footer (+ optional: Risk Banner, Pricing)
  4. Generate Landing: Create complete static site (HTML + CSS + JS)
  5. Deploy-Ready Output: Include GitHub Actions workflow for GitHub Pages

How to use

Basic usage

/landing-page-generator from ~/path/to/repo

With options

/landing-page-generator from ~/path/to/repo --risk-banner --pricing-table

Available options

| Option | Description | Default |

|--------|-------------|---------|

| --risk-banner | Add prominent warning/disclaimer banner above fold | false |

| --pricing-table | Include pricing comparison section | false |

| --screenshots <path> | Path to screenshots folder | ./assets/ |

| --theme [dark\|light] | Color theme variant | dark |

| --search | Enable Cmd+K search | true |

| --output <path> | Output directory | ./[repo-name]-landing/ |

Workflow

Step 1: Repository analysis

Read and analyze these files from the source repo:

README.md        → Primary content source (title, tagline, features, install)
CHANGELOG.md     → Version info, recent changes
package.json     → Version number, dependencies, metadata
VERSION          → Alternative version source
docs/            → Additional documentation pages
assets/          → Screenshots, images
LICENSE          → License type for badge

Step 2: Content extraction map

| Source | Target Section | Extraction Method |

|--------|---------------|-------------------|

| README title/badges | Hero | First H1 + shield.io badge lines |

| README TL;DR | Hero tagline | First paragraph or blockquote after title |

| README features | Features grid | H2/H3 sections with bullet lists |

| README install | Quick Start | Code blocks with shell commands |

| README usage | Examples | Code blocks with examples |

| README FAQ | FAQ | Details/summary or H3+P patterns |

| CHANGELOG | What's New | Latest 1-3 releases |

| assets/*.png | Screenshots | Gallery section |

Step 3: Section generation

Generate these sections in order:

  1. Header (sticky)
  1. Risk Banner (if --risk-banner)
  1. Hero Section
  1. Architecture/Overview (if diagram in README)
  1. Features Grid
  1. Pricing Table (if --pricing-table)
  1. Screenshots Gallery (if assets exist)
  1. Quick Start Section
  1. Risk Disclosure (if --risk-banner)
  1. FAQ Section
  1. Related Projects (if links in README)
  1. Footer

Step 4: Output structure

[project-name]-landing/
├── index.html              # Main landing page
├── styles.css              # Complete stylesheet
├── search.js               # Cmd+K search functionality
├── search-data.js          # Search index (FAQ, features)
├── favicon.svg             # Generated or copied
├── robots.txt              # SEO
├── CLAUDE.md               # Project instructions
├── README.md               # Landing repo documentation
├── assets/                 # Copied screenshots
│   └── [copied from source]
└── .github/
    └── workflows/
        └── static.yml      # GitHub Pages deployment

Step 5: Validation checkpoint

Before finalizing, verify:

Tech stack

CSS Patterns (from established landings)

Component classes

/* Buttons */
.btn, .btn-primary, .btn-secondary, .btn-github-star, .btn-outline

/* Cards */
.feature-card, .comparison-card, .path-card

/* Layout */
.container, .features-grid, .hero, .section

/* Utilities */
.visually-hidden, .skip-link

CSS variables

:root {
  --color-bg: #0d1117;
  --color-surface: #161b22;
  --color-border: #30363d;
  --color-text: #c9d1d9;
  --color-text-muted: #8b949e;
  --color-primary: #58a6ff;
  --color-success: #3fb950;
  --color-warning: #d29922;
  --color-danger: #f85149;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --radius: 6px;
}

Example

User: /landing-page-generator from ~/projects/my-project --risk-banner --pricing-table

Output:

Creates ~/projects/my-project-landing/ with:

Tips

References

See ${CLAUDE_SKILL_DIR}/references/landing-pattern.md for detailed pattern documentation.

See ${CLAUDE_SKILL_DIR}/assets/ for reusable templates and snippets.

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.