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
SEO
7 fixes × 8 toolsAdd 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.
Security
4 fixes × 8 toolsAdd 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.
AI Search / GEO
5 fixes × 8 toolsAllow 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.
Technical
7 fixes × 8 toolsAdd 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.
Structured Data
4 fixes × 8 toolsAdd 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.
Performance
4 fixes × 8 toolsFix 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.
Images
3 fixes × 8 toolsAdd 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.
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