Lovable Cookbook

38 community-built, battle-tested prompts — copy, adapt, and build faster.

MobileFree

Progressive Web App (PWA) Setup

Make your app installable on mobile devices with offline support, app icons, and native-like experience.

892+ copiedView Prompt
TroubleshootingPremium

Systematic Error Debugging & Resolution

Structured error reporting template that guides you through providing all context needed for Lovable to diagnose and fix bugs quickly.

2.2K+ copiedView Prompt
MarketingFree

Social Media Cards & Sharing Optimization

Set up Open Graph, Twitter Cards, and platform-specific sharing previews with proper image sizing.

756+ copiedView Prompt
PaymentsPremium

Complete Stripe Payment Integration

Set up a production-ready Stripe payment flow with secure key storage, webhooks, pricing tables, and an admin API testing dashboard.

456+ copiedView Prompt
SecurityPremium

Complete Application Security & RLS Hardening

Lock down your application with Row Level Security, secure API key handling, authentication hardening, and protection against client-side attacks.

567+ copiedView Prompt
SecurityFree

Security Requirements Checklist

A comprehensive checklist to audit and verify your application's security posture across database, API, client-side, and authentication layers.

723+ copiedView Prompt
SecurityPremium

Zero Trust Security Audit & Implementation

Audit your entire application against Zero Trust principles — verify every request, enforce least-privilege access, and eliminate implicit trust.

244+ copiedView Prompt
SecurityPremium

Red Team Security Scan & Vulnerability Assessment

Simulate a full red team engagement — probe for exploitable vulnerabilities across authentication, database, edge functions, and client-side code.

693+ copiedView Prompt
SecurityFree

Production Readiness Checklist & Console Cleanup

Prepare your application for production by removing debug logs, verifying RLS policies, and running a comprehensive go-live checklist.

237+ copiedView Prompt
EmailPremium

Resend Email Integration Setup

Complete Resend email integration with edge functions, admin panel, templates, history, and settings management.

678+ copiedView Prompt
MarketingFree

SEO Optimization Checklist

Complete search engine optimization setup with meta tags, structured data, sitemaps, and Core Web Vitals optimization.

834+ copiedView Prompt
TestingFree

Production Feature Release Validator

Triple-check your new feature before going live. Validates UI/UX consistency, functional correctness, edge function reliability, and performance impact.

287+ copiedView Prompt
SecurityFree

Secrets and Key Management Audit

Scan your project for hardcoded secrets, exposed API keys, and credentials that shouldn't be in client code.

489+ copiedView Prompt
PerformanceFree

Optimized Image Delivery

Set up modern image optimization with WebP/AVIF conversion, responsive srcsets, lazy loading, and CDN caching.

645+ copiedView Prompt
SecurityFree

Build-time Security Constraints

Use BEFORE generating features to enforce security invariants from the start — authorization, validation, secrets, and safe rendering.

512+ copiedView Prompt
SecurityFree

Content Security Policy (CSP) Implementation

Add a Content Security Policy to prevent XSS attacks, clickjacking, and code injection by whitelisting trusted content sources.

301+ copiedView Prompt
SecurityFree

Post-generation Security Audit

Use AFTER feature generation to verify all security invariants were properly implemented.

334+ copiedView Prompt
MobileFree

Mobile Responsive Design Conversion

Transform your app to be fully mobile-responsive with proper stacking, full-width elements, and optimized touch targets.

265+ copiedView Prompt
MaintenanceFree

Clean Up LM Spaghetti Code

Refactor AI-generated code that has become messy — extract components, consolidate logic, and improve maintainability.

354+ copiedView Prompt
TestingFree

UAT Test Plan Generator

Have Lovable analyze your project and generate a comprehensive UAT test plan tailored to your specific features, flows, and data schema.

287+ copiedView Prompt
SecurityFree

Input Validation Contract

Define strict validation schemas for all user inputs using Zod — reject bad data before it reaches your database.

398+ copiedView Prompt
SecurityPremium

SOC 2 Compliance Audit & Readiness Score

Run a comprehensive SOC 2 readiness review across all 5 Trust Service Criteria. Get a scored checklist (0–100), gap analysis, and prioritized remediation plan.

328+ copiedView Prompt
PerformancePremium

Egress Cost Optimization & Caching Strategy

Reduce your application's egress costs by optimizing images, storage files, database queries, API responses, and implementing effective caching strategies.

534+ copiedView Prompt
PaymentsPremium

Setup Stripe Promo Codes on Checkout

Add promotional code support to your Stripe checkout with validation, tracking, and customer-friendly error handling.

612+ copiedView Prompt
GrowthPremium

Build a Viral Referral Program with Tracking

Implement a complete referral system with unique links, reward tracking, and viral loop mechanics.

589+ copiedView Prompt
MarketingPremium

Platform Marketing Content Generator

Generate comprehensive marketing strategies including social media posts, email sequences, and landing page copy.

521+ copiedView Prompt
SecurityPremium

Server-side Authorization Matrix (authZ)

Build a complete authorization matrix that enforces access control server-side via RLS and policies.

467+ copiedView Prompt
SecurityPremium

Magic Link Authentication Setup

Implement passwordless authentication using Supabase magic links, polished login UI, email customization with Resend, secure session handling, and route guards.

241+ copiedView Prompt
SecurityPremium

Output Encoding and XSS Hardening

Identify unsafe HTML rendering patterns and implement strict sanitization to prevent XSS attacks.

345+ copiedView Prompt
SecurityPremium

SQL Injection and Data Access Review

Review all database access for injection vulnerabilities — replace string concatenation with parameterized queries.

376+ copiedView Prompt
OnboardingPremium

Typeform-Style User Onboarding Flow

Create a sleek, one-question-at-a-time onboarding experience with progress tracking, validation, and responsive design.

478+ copiedView Prompt
UI/UXPremium

Admin Dashboard with Data Tables

Build a complete admin dashboard featuring data tables with sorting, filtering, pagination, CRUD operations, and role-based access control.

423+ copiedView Prompt
EmailPremium

Password Reset with Resend

Set up a complete password reset flow with custom Resend email templates, including forgot password UI and secure token handling.

342+ copiedView Prompt
TroubleshootingPremium

Edge Function Debugging with Log Analysis

Step-by-step template for debugging edge function issues by providing function context, error details, and log references for systematic diagnosis.

1.5K+ copiedView Prompt
SecurityPremium

Attack Simulation Sanity Check

Have the AI roleplay as an attacker and attempt to break your app's security — then fix any vulnerabilities found.

312+ copiedView Prompt
UI/UXPremium

User Analytics Dashboard with Recharts

Build a real-time analytics dashboard tracking key metrics like signups, active users, and retention using Recharts, date range filters, and automated aggregation.

241+ copiedView Prompt
UI/UXPremium

Support Ticket System with Admin Management

Create a complete support ticketing system with user-facing submission forms and a full admin panel to manage, prioritize, and resolve tickets.

241+ copiedView Prompt
PerformancePremium

Application Cost & Performance Audit

Conduct a comprehensive audit of your app's frontend, backend, and infrastructure to identify cost savings and performance improvements.

571+ copiedView Prompt