lovable-seo-aeo
Skill0 starsChanged 3 months agoMITView on GitHub
Specialized rules, prompt engineering templates, and technical standards for executing SEO (Search Engine Optimization) and AEO (Answer Engine Optimization) inside Lovable.dev applications (TanStack Start, SSR, Supabase). Trigger this skill whenever the user mentions SEO, AEO, answer engine optimization, schema markup, metadata, robots.txt, llms.txt, dynamic sitemaps, or Google/AI search optimization in Lovable.
In this repository8 other files it gives its agents.
- billing-ai-assisted-workSkill
- hebrew-copySkill
- lovable-accessibilitySkill
- lovable-creditsSkill
- lovable-rigorSkill
- lovable-security-postureSkill
- lovable-stripe-billingSkill
- lovable-vibe-code-auditSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Every page and dynamic route (blog posts, courses, landing pages) MUST include:
- Very specific: line 34
All JSON-LD markup must be validated, injection-safe standard <script type="application/ld+json">.
- Very specific: line 37
Ensure the following files are properly generated in the /public directory:
- Very specific: line 38
robots.txt: Must allow general user-agents and explicitly permit AI crawlers: - Distinctive: line 48
When migrating from legacy CMS systems (e.g., WordPress):
- Very specific: line 51
If route structures change, configure middleware or route handlers in TanStack Start to issue permanent 301 redirects from old URLs to new …
- Distinctive: line 57
When generating prompts for the user to execute inside Lovable:
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Lovable SEO & AEO Optimization Skill
This skill ensures that applications built or migrated in Lovable.dev adhere to strict SEO and Answer Engine Optimization (AEO) best practices so that traditional engines (Google, Bing) and AI crawlers (ChatGPT, Perplexity, Claude) properly index, understand, and cite the application.
Tech Stack Expectations
- Framework: TanStack Start (Server-Side Rendering enabled for clean HTML output)
- Database/CMS: Supabase (PostgreSQL for dynamic metadata storage)
- Framework Utility:
<Head>components / meta helpers for dynamic routing
Core SEO & AEO Implementation Protocols
1. Dynamic Route Metadata & Open Graph
Every page and dynamic route (blog posts, courses, landing pages) MUST include:
- Unique, keyword-targeted
<title>and<meta name="description">. - Canonical URLs (
<link rel="canonical" href="...">) to prevent duplicate content flags. - Complete Open Graph (
og:title,og:description,og:image,og:url) and Twitter Card tags. - For dynamic paths, metadata must be pulled dynamically from Supabase database fields during SSR rendering.
2. Structured Data / Schema Markup (The AEO Engine)
AI engines rely heavily on semantic HTML and JSON-LD markup to extract factual context.
- Global Schema: Inject
OrganizationandWebSiteJSON-LD on root/homepage components. - Entity Schemas: Implement specific schemas based on content type:
BlogPosting/Articlefor blogs/news.CourseorEducationalOccupationalProgramfor courses/trainings.Service/Productfor offerings and landing pages.FAQPagefor Q&A sections (critically important for AI citations).
- All JSON-LD markup must be validated, injection-safe standard
<script type="application/ld+json">.
3. Public Assets for Search & AI Crawlers
Ensure the following files are properly generated in the /public directory:
robots.txt: Must allow general user-agents and explicitly permit AI crawlers:GPTBot(OpenAI)ClaudeBot(Anthropic)PerplexityBot(Perplexity)Applebot-Extended- Reference the exact location of
sitemap.xml.
sitemap.xml: Server-generated XML sitemap looping over static routes and active database records (blogs, courses). Ensure zero trailing whitespace or invalid formatting.llms.txt&llms-full.txt: Markdown context summary located at root specifically designed for LLM consumption, outlining site ownership, services, topics, and primary links.
4. Migration & 301 URL Redirects
When migrating from legacy CMS systems (e.g., WordPress):
- Audit legacy URL paths.
- Match existing routes 1:1 wherever possible.
- If route structures change, configure middleware or route handlers in TanStack Start to issue permanent
301redirects from old URLs to new endpoints.
Lovable Prompt Generation Format
When generating prompts for the user to execute inside Lovable:
- Explicit Placement: Specify exact file targets (e.g.,
src/routes/__root.tsx,public/robots.txt,public/llms.txt). - SSR Focus: Remind Lovable to render head metadata server-side rather than relying on purely client-side React hooks (
react-helmet). - Validation Steps: Instruct Lovable to verify that no duplicate tags exist and that XML formatting is strict.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

