v0-nextjs-seo-geo
Installation
SKILL.md
v0 & Next.js App Router SEO & GEO Guide (rankcli)
Turn v0-generated UIs and Next.js App Router apps into clean, server-rendered, AI-citable websites.
1. Audit your live or preview Vercel deployment
npx -y @rankcli/cli audit --url https://your-app.vercel.app --max-pages 5 -o llm
2. Core Next.js App Router & v0 fixes
- Replace
v0 Appmetadata & setmetadataBase: Inapp/layout.tsx, definemetadataBase: new URL('https://yourdomain.com'), a title template, description, and default Open Graph metadata. - Keep
page.tsxas Server Components: Move'use client'hooks (useState,useEffect) into leaf client components so marketing HTML renders on the server and routes can exportmetadata/generateMetadata(). - Add
app/robots.tsandapp/sitemap.ts: Explicitly allowOAI-SearchBot,Claude-SearchBot, andPerplexityBotand expose all public URLs in your XML sitemap. - Add
public/llms.txtand Organization JSON-LD: Provide a concise Markdown summary for answer engines and verifiedsameAslinks in JSON-LD (never invent addresses, phone numbers, or ratings). - Use
next/imagewith explicit dimensions: Addpriorityon the above-the-fold hero image to protect LCP and CLS.