lovable-seo-geo

Installation
SKILL.md

Lovable SEO & AI-Search (GEO) Guide (rankcli)

Lovable apps ship as client-side Vite + React SPAs. Follow these exact rules to make a Lovable app rank in Google and get cited by ChatGPT, Claude, Gemini, and Perplexity.

1. Audit the live or preview URL first

npx -y @rankcli/cli audit --url https://your-lovable-app.com --max-pages 5 -o llm

2. Fix the 5 highest-impact Lovable SEO/GEO traps

  1. Remove duplicate head tags from index.html: Lovable's default index.html includes hardcoded <meta name="description">, og:*, and twitter:* tags. Because react-helmet-async appends rather than removes static tags, inner routes end up with duplicates. Keep index.html shell-clean and render per-route <title>, description, canonical, and Open Graph tags inside a single <SEO /> component.
  2. Prerender public marketing routes: Non-JS AI crawlers (OAI-SearchBot, Claude-SearchBot, PerplexityBot) see an empty <div id="root"></div> on pure SPAs. Prerender public marketing URLs to static HTML at build time while keeping /dashboard and /auth on the SPA shell.
  3. Explicitly allow AI search crawlers in public/robots.txt: Add Allow: / for OAI-SearchBot, Claude-SearchBot, and PerplexityBot plus Sitemap: https://yourdomain.com/sitemap.xml.
  4. Add public/llms.txt and public/sitemap.xml: Summarize your product, category, pricing, and canonical links cleanly for answer engines.
  5. Never invent unverified facts: Do not hallucinate ratings, phone numbers, street addresses, or /og-image.png paths that do not exist in public/.

3. Re-verify or open a free GitHub Auto-Fix PR

Installs
1
GitHub Stars
1
First Seen
2 days ago