Communitygithub.com

Demian-T/plugin-landing-page-creation

Erstelle eine vollständige, benutzerdefinierte Next.js-Landingpage von Grund auf. Startet mit /landing-page. Verwendung: /landing-page Firmenname | Branche [| Slogan] [| Zielgruppe] [| CTA]. Orchestriert landing-page-copy, dann parallel landing-page-seo + ui-ux-pro-max, dann Build.

Was ist plugin-landing-page-creation?

Dieses Skill orchestriert die vollständige Erstellung einer professionellen Next.js-Landingpage. Es parst benutzerdefinierte Eingaben wie Firmenname, Branche, Slogan, Zielgruppe und CTA, generiert dann über das Skill 'landing-page-copy' einen umfassenden Content-Brief (mit Hero-Text, Features, Testimonials, FAQ, Preisen, Blog-Artikeln und Fallstudien). Gleichzeitig werden Design-Intelligenz (ui-ux-pro-max: Farbschemata, Typografie, Layout-Entscheidungen) und eine SEO-Strategie (landing-page-seo: Meta-Tags, Schema-Markup, Sitemap) erstellt. Der resultierende Code ist vollständig quelltextbasiert – ohne Vorlagen – und nutzt einen modernen Tech-Stack (Next.js 16, React 19, Framer Motion, Tailwind CSS, MDX). Der Build-Prozess inklusive TypeScript-Fehlerkorrektur und npm-Installation ist integriert. Das Skill ist ideal für Entwickler, die schnell eine maßgeschneiderte, performante und SEO-optimierte Landingpage deployen möchten, und funktioniert mit Claude Code, Cursor und ähnlichen KI-Agenten-Plattformen.

Funktioniert mit✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Demian-T/plugin-landing-page-creation/tree/HEAD/skills/landing-page

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Landing Page – Orchestrator

Ausgabeverzeichnis: ./generated/{slug}-landing (relativ zum aktuellen Arbeitsverzeichnis oder konfigurierbar über die Umgebungsvariable LANDING_PAGE_OUTPUT_DIR)


Schritt 1 – Eingabe parsen

Argumente an | trennen (trimmen):

  • [0] → company_name (falls fehlend, einen kreativen, branchengerechten Namen erfinden)
  • [1] → industry (falls fehlend, ableiten)
  • [2] → tagline_hint (optional)
  • [3] → target_audience (optional)
  • [4] → cta_goal (optional, Standard: "Jetzt kostenlos starten")

slug = company_name kleingeschrieben, Akzente entfernt, Leerzeichen → Bindestriche.

Ausgabepfad auflösen:

OUTPUT_DIR="${LANDING_PAGE_OUTPUT_DIR:-./generated}/{slug}-landing"

Schritt 2 – Content-Brief (landing-page-copy)

Das Skill landing-page-copy mit den geparsten Eingaben aufrufen. Auf die vollständige CONTENT_BRIEF-Ausgabe warten, bevor fortgefahren wird.

Der Brief enthält: Hero-Text, Funktionen, Testimonials, FAQ, Über uns, Preise, Blog-Artikel, Fallstudien, Navigationsbezeichnungen. Dieser Text ist die Quelle der Wahrheit für alle Texte auf der generierten Seite – während der Codegenerierung keinen eigenen Text erfinden.


Schritt 3 – Design + SEO (parallel ausführen)

3-A. Design-Intelligenz (ui-ux-pro-max)

Diese 3 Befehle parallel ausführen:

python3 ~/.claude/skills/ui-ux-pro-max/scripts/search.py "{industry}" --design-system -p "{company_name}"
python3 ~/.claude/skills/ui-ux-pro-max/scripts/search.py "{industry}" --domain color -n 3
python3 ~/.claude/skills/ui-ux-pro-max/scripts/search.py "{industry} landing page" --domain typography -n 3

Hinweis: Das ui-ux-pro-max-Skill muss installiert sein. Falls nicht verfügbar, direkt aus Branchen- und Markenkontext einen Design-Brief synthetisieren.

In einen Design-Brief zusammenfassen:

  • Visuelle Stimmung (3–5 Adjektive)
  • Farbpalette: primär, sekundär, Akzent, bg, bg-soft, bg-card, surface, text, text-muted, text-inverse, border, border-subtle, dot
  • Typografie: Überschriftenschrift + Fließtextschrift (müssen in Google Fonts existieren)
  • Layout-Entscheidungen: Hero-Typ, Funktionen-Layout, Testimonials-Stil
  • Animationsstil: dezent / moderat / ausdrucksstark
  • Signaturdetail: ein unverwechselbares visuelles Element, das diese Seite einprägsam macht

3-B. SEO-Plan (landing-page-seo)

Das Skill landing-page-seo mit company_name, industry und dem CONTENT_BRIEF aufrufen. Auf die vollständige SEO_PLAN-Ausgabe warten.

Der Plan enthält: Meta-Tags pro Seite, Schema-Markup-Typen, Sitemap-Konfiguration, Core Web Vitals Build-Hinweise, AI SEO-Hinweise.


Schritt 4 – Alle Dateien schreiben

{OUTPUT_DIR} erstellen, dann jede Datei von Grund auf mit dem Write-Tool schreiben. Für alle Texte CONTENT_BRIEF und für alle Meta/Schema SEO_PLAN verwenden. Keine Vorlagen, keine Platzhaltertexte.

4-A. Infrastruktur

package.json:

{
  "name": "{slug}-landing",
  "version": "0.1.0",
  "private": true,
  "scripts": { "dev": "next dev", "build": "next build", "start": "next start" },
  "dependencies": {
    "next": "^16.2.7",
    "react": "^19.2.0",
    "react-dom": "^19.2.0",
    "lucide-react": "^0.474.0",
    "framer-motion": "^12.40.0"
  },
  "devDependencies": {
    "@next/mdx": "^16.2.7",
    "@mdx-js/loader": "^3.0.0",
    "@mdx-js/react": "^3.0.0",
    "@types/mdx": "^2.0.0",
    "typescript": "^5",
    "@types/node": "^20",
    "@types/react": "^19",
    "@types/react-dom": "^19",
    "tailwindcss": "^3.4.1",
    "postcss": "^8.5.10",
    "autoprefixer": "^10.0.1"
  }
}

Versionen: Getesteter Stack Next 16 + React 19 + framer-motion 12 + lucide-react 0.474 (Build output: 'export' OK). next NICHT auf 14.2.0 und react/react-dom NICHT auf ^18 pinnen (anfällige Versionen – kritischer Next-Advice vom 2025-12-11). lucide-react muss >= 0.474 sein (die Versionen 0.378 und < 0.474 deklarieren den Peer React 19 nicht und brechen npm install).

next.config.js:

const withMDX = require('@next/mdx')()
module.exports = withMDX({
  output: 'export',
  images: { unoptimized: true },
  pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
})

tsconfig.json: Standard Next.js tsconfig mit @/*-Pfad-Alias für ./ und "jsx": "react-jsx" (Next 16 verwendet die React Automatic Runtime – "preserve" wird beim Build automatisch umgeschrieben)

tailwind.config.ts:

  • darkMode: 'class'
  • fontFamily: Überschrift + Text CSS-Vars
  • animation: marquee, float, line-grow
  • keyframes: marquee translateX(0%)→translateX(-50%), float, lineGrow

postcss.config.js: tailwind + autoprefixer

mdx-components.tsx: h1 h2 h3 p ul li strong blockquote mit CSS-Vars auf gestylte Elemente abbilden

app/globals.css:

  • @tailwind base/components/utilities
  • CSS-Vars in :root – alle Design-Tokens aus dem Design-Brief
  • html.dark { ... } – ALLE Vars für den Dark Mode überschreiben
  • body mit CSS-Vars, Transition auf background-color + color
  • Benutzerdefinierte Utilities: .text-gradient, .dot-grid, .glass-card, .bracket-card, .clip-diagonal-bottom, .clip-diagonal-top
  • REGEL: Jeder Farbverweis in Komponenten verwendet CSS-Vars – keine hartcodierten Hex-Werte

4-B. Komponenten

Jede als .tsx schreiben. Jede Komponente liest Texte aus lib/data.ts. Alle Farben über CSS-Vars.

components/DarkModeToggle.tsx:

  • 'use client', liest localStorage beim Mounten, toggelt die Klasse dark auf <html>
  • Einstellung speichern, Sonne/Mond-Icons von lucide-react

components/LogoCarousel.tsx:

  • 'use client', reines CSS-Marquee (animate-marquee), kein JS-Scroll
  • Markennamen aus lib/data.ts, für nahtlose Schleife dupliziert

components/ContactForm.tsx:

  • 'use client', Zustand: 'idle' | 'sending' | 'sent' | 'error'
  • <form data-netlify="true" name="contact"> mit verstecktem form-name
  • Felder: Name, E-Mail, Firma, Nachricht
  • Absenden: fetch('/', { method: 'POST', body: new URLSearchParams(new FormData(form)) })

components/Navbar.tsx: fixiert, scroll-bewusst, mobiles Menü, <DarkModeToggle />

components/Hero.tsx:

  • Framer Motion Eintrittsanimation mit useReducedMotion-Prüfung
  • Statistikzeile mit <data value="{stat.value}"> (AI SEO)
  • Signatur-Design-Detail aus dem Design-Brief

components/Features.tsx: whileInView Framer Motion, versetzte Verzögerung

components/Testimonials.tsx: whileInView Framer Motion pro Karte

components/FAQ.tsx:

  • 'use client', Akkordeon
  • <dl>/<dt>/<dd> semantisches Markup (FAQPage Schema + AI SEO)

components/Pricing.tsx:

  • 'use client', monatlicher/jährlicher Abrechnungswechsel mit −20%-Abzeichen
  • price vs price_annual-Umschaltung

components/About.tsx: Geschichte + Werte

components/Footer.tsx: Slogan + Navigation + Copyright

Komponenten-Regeln:

  • 'use client' nur bei interaktiven/Browser-API-Komponenten
  • import type { X } für reine Typ-Imports
  • Dynamische lucide-Icons: import type { LucideIcon } from 'lucide-react', dann (Icons as any)[name] as LucideIcon | undefined. Icon-Props als LucideIcon typisieren – NICHT React.ComponentType<{size?:number}> (lucides size ist string|number, daher schlägt der enge Typ beim next build-Typecheck fehl).
  • Alle Farben über CSS-Vars – keine hartcodierten Hex-Werte
  • Framer Motion für Animationen (kein IntersectionObserver)
  • Alle Texte aus lib/data.ts

4-C. Seiten

app/layout.tsx:

  • Google Fonts über next/font/google
  • Metadaten aus SEO_PLAN Homepage-Meta
  • JSON-LD: Organization + WebSite (oder SoftwareApplication) aus SEO_PLAN
  • Dark Mode Anti-Flash in <head>:
    try{if(localStorage.getItem('theme')==='dark'||(localStorage.getItem('theme')===null&&window.matchMedia('(prefers-color-scheme: dark)').matches)){document.documentElement.classList.add('dark')}}catch(e){}
    
  • suppressHydrationWarning auf <html>
  • <link rel="preconnect" href="https://fonts.googleapis.com">

app/page.tsx: Navbar + Hero + LogoCarousel + Features + Testimonials + Pricing + FAQ + ContactForm + Footer

app/tarifs/page.tsx: Metadaten + JSON-LD (Offer + FAQPage) aus SEO_PLAN + Navbar + Pricing + FAQ + ContactForm + Footer

app/a-propos/page.tsx: Metadaten + JSON-LD (AboutPage + Organization) + Navbar + About + Footer

app/blog/layout.tsx + app/blog/page.tsx: Auflistung aus lib/blog.ts

app/blog/{slug-1}/page.mdx + app/blog/{slug-2}/page.mdx:

  • Inhalt aus CONTENT_BRIEF blog[]
  • <article> + <time datetime="..."> semantischer Wrap
  • TL;DR im ersten Absatz (AI SEO-Zitierbarkeit)

app/cas-clients/layout.tsx + app/cas-clients/page.tsx: Auflistung aus lib/case-studies.ts

app/cas-clients/{slug-1}/page.mdx + app/cas-clients/{slug-2}/page.mdx:

  • Inhalt aus CONTENT_BRIEF case_studies[]
  • Explizite ## Herausforderung / ## Lösung / ## Ergebnisse H2-Struktur (AI SEO)
  • BreadcrumbList JSON-LD aus SEO_PLAN

app/sitemap.ts: SEO_PLAN sitemap_config für alle Seiten + Beiträge + Fallstudien

app/robots.ts: alle zulassen, Sitemap-URL


4-D. Datendateien

lib/data.ts – alle Texte aus CONTENT_BRIEF:

export const siteData = {
  nav: { links: [...], cta: "..." },
  hero: { badge, headline_a, subheadline, cta_primary, cta_secondary, social_proof_bar, stats },
  logoCarousel: { section_label, brands: [...] },
  features: { badge, heading, sub, items: [...] },
  testimonials: [...],
  faq: { items: [...] },
  about: { headline, story, values: [...] },
  pricing: { heading, sub, plans: [...] },
  contact: { heading, sub, form_cta },
  footer: { tagline }
}

lib/blog.ts: Blog-Register aus CONTENT_BRIEF

lib/case-studies.ts: Fallstudien-Register aus CONTENT_BRIEF

Hero-Bild – aus diesen Unsplash-Platzhaltern wählen:

  • Technologie/SaaS/Fintech: https://images.unsplash.com/photo-1518770660439-4636190af475?w=1600&q=80
  • Gesundheit/Wellness: https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=1600&q=80
  • Lebensmittel/Bio: https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=1600&q=80
  • Sport/Fitness: https://images.unsplash.com/photo-1517836357463-d25dfeac3438?w=1600&q=80
  • Mode/Luxus: https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&q=80
  • Immobilien: https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1600&q=80
  • Bildung: https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1600&q=80
  • Standard: https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&q=80

Schritt 5 – Build

cd {OUTPUT_DIR}
npm install
npm run build

TypeScript-Fehler – beheben und wiederholen:

  • import { X } → import type { X } für reine Typ-Imports
  • Dynamisches Icon: (Icons as any)[name] as LucideIcon | undefined (import type von lucide-react); Icon-Props als LucideIcon typisieren, niemals ComponentType<{size?:number}>
  • Alle TypeScript-Fehler beheben, bevor Erfolg gemeldet wird

Schritt 6 – Bericht

🏢  Firma:       {company_name} — {industry}
🎨  Design:      {mood} | {heading font} / {body font}
✨  Signatur:    {distinctive detail}
📝  Überschrift: "{headline_a}"
📄  Seiten:      / · /tarifs · /a-propos · /blog · /cas-clients
🔍  SEO:         {page title} | {schema types}
📁  Ausgabe:     {OUTPUT_DIR}

Lokale Vorschau: cd {OUTPUT_DIR} && npm run dev

Individual skills in this repo

This repo contains 2 individual skills — each has its own dedicated page.

Verwandte Skills