Prompt Library

272 copy-paste prompts
for AI-built apps

34 battle-tested fixes × 8 tools (Lovable, Cursor, Bolt, v0, Replit, Windsurf, Claude Code, Base44). Pick your stack, copy the prompt, paste it into your AI editor.

Covered tools

LovableCursorBoltv0ReplitWindsurfClaude CodeBase44

SEO

7 fixes × 8 tools

Add a unique <title> tag to every page

Copy-paste prompt to add a unique, keyword-rich <title> tag to every page in Lovable, Cursor, Bolt, v0, Replit, Windsurf, Claude Code, or Base44.

Add unique meta descriptions to every page

Prompt to add unique 50-160 character meta descriptions to every page — controls the grey snippet text in Google search results.

Fix the H1 tag — exactly one per page

Prompt to enforce exactly one H1 per page with the primary keyword, for Lovable, Cursor, Bolt, v0, Replit, Windsurf, Claude Code, Base44.

Generate a sitemap.xml covering every route

Stack-specific prompt to create /public/sitemap.xml listing all public routes, for Lovable, Cursor, Bolt, v0, Replit, Windsurf, Claude Code, and Base44.

Add a robots.txt that allows search + AI crawlers

Prompt to drop a correct /public/robots.txt for Google, Bing, and AI crawlers like GPTBot and PerplexityBot in Lovable, Cursor, Bolt, v0, Replit, Windsurf, Claude Code, Base44.

Add Open Graph + Twitter Card tags

Prompt to add og:title, og:description, og:image, and Twitter Card meta so links look right when shared on Slack, LinkedIn, WhatsApp, Twitter.

Add descriptive alt text to every image

Prompt to walk every <img> and add meaningful alt text — for accessibility, SEO, and AI citations. Works in Lovable, Cursor, Bolt, v0, Replit, Windsurf, Claude Code, Base44.

Security

4 fixes × 8 tools

Add security headers (CSP, HSTS, X-Frame, etc.)

Stack-specific prompt to ship Content-Security-Policy, HSTS, X-Frame-Options, X-Content-Type-Options, Referrer-Policy in Lovable, Cursor, Bolt, v0, Replit, Windsurf, Claude Code, Base44.

Force HTTPS and enable HSTS

Prompt to redirect all HTTP to HTTPS and enable HSTS — non-negotiable for modern sites. Works in any stack.

Move API keys off the client bundle

Stack-specific prompt to move Supabase service keys, OpenAI keys, Stripe keys, and other secrets out of client code and into server env — for Lovable, Cursor, Bolt, v0, Replit, Windsurf, Claude Code, Base44.

Enable Supabase Row Level Security on every table

Prompt to enable RLS on every Supabase table and write sane policies — the #1 security fix for Lovable, Cursor, Bolt, v0, Replit, Windsurf, Claude Code, Base44 apps.

AI Search / GEO

5 fixes × 8 tools

Allow GPTBot, ClaudeBot, and PerplexityBot

Prompt to whitelist AI crawlers so ChatGPT, Claude, and Perplexity can cite your pages. Works in any AI-coded stack.

Add JSON-LD structured data

Prompt to add Organization, Article, and FAQ JSON-LD to <head> — tells Google and AI crawlers exactly what your page represents.

Add server-side rendering

Stack-specific prompt to ensure key content is in the HTML response, not rendered only via JS.

Add an llms.txt file

Stack-specific prompt to publish llms.txt — a curated guide telling LLMs what your site is about.

Put key content in static HTML

Prompt to ensure your headings, paragraphs, and FAQs are in the raw HTML, not rendered via client JS.

Technical

7 fixes × 8 tools

Add the viewport meta tag

Prompt to add the mobile-friendly viewport meta tag — required for Google mobile-first indexing.

Set the lang attribute on <html>

Prompt to add lang="en" or lang="de" to the <html> tag for accessibility and SEO.

Declare UTF-8 charset

Prompt to add <meta charset="utf-8"> at the top of <head> to avoid broken characters.

Enable gzip or brotli compression

Prompt to turn on compression on your hosting so HTML, CSS, and JS transfer 5-10x faster.

Add a high-resolution favicon

Stack-specific prompt to add a favicon that shows up correctly in browser tabs and Google search results.

Fix broken internal links

Prompt to scan for 404s on internal links and fix or redirect them — SEO and UX win.

Add a custom 404 page

Stack-specific prompt to build a branded 404 page with search and key links instead of a bare error message.

Structured Data

4 fixes × 8 tools

Add Organization schema

Prompt to add Organization JSON-LD with logo, sameAs links, and contact info to your homepage.

Add WebSite schema with SearchAction

Prompt to add WebSite JSON-LD with a SearchAction — unlocks the sitelinks search box under your brand in Google.

Add BreadcrumbList schema

Prompt to add BreadcrumbList JSON-LD so Google shows breadcrumbs instead of raw URLs in search results.

Add FAQPage schema

Prompt to add FAQPage JSON-LD and enable expandable FAQ rich results in Google, plus AI citation signals.

Performance

4 fixes × 8 tools

Fix Core Web Vitals (LCP, CLS, INP)

Prompt to address Google Core Web Vitals thresholds: LCP < 2.5s, CLS < 0.1, INP < 200ms. Works in any AI-coded stack.

Improve Largest Contentful Paint (LCP)

Prompt to get LCP under 2.5 seconds — preload the hero image, cut render-blocking, use a proper CDN.

Fix Cumulative Layout Shift (CLS)

Prompt to eliminate CLS — add width/height to images, reserve space for ads, avoid late-loading fonts.

Improve Interaction to Next Paint (INP)

Prompt to get INP under 200ms — split long tasks, lazy-load heavy JS, debounce handlers.

Images

3 fixes × 8 tools

Add alt text to all images at once

Prompt to walk every <img> tag and add descriptive alt attributes in bulk — fast alternative to one-by-one fixing.

Convert images to WebP or AVIF

Prompt to convert JPEG/PNG to WebP or AVIF — 30-50% smaller at the same quality. Helps LCP and CLS.

Add a 1200×630 Open Graph image

Prompt to create and reference a properly-sized og:image so your link previews look professional on LinkedIn, Slack, WhatsApp, X.

Skip the hunt — let Pantra pick your fixes

Pantra scans your site in 10 seconds, auto-detects your stack, and generates only the prompts that actually apply. Full audit covers SEO, Security, GEO, Performance, Schema, Technical, Images.

Scan my site