KR Library โ€บ Collections

๐Ÿ’— Lovable skills

Prompts and guides for building with Lovable: cloud, AI, auth, payments, SEO, email, integrations, design and deploy.

113 items ยท free to read and copy

Showing 113 of 113
๐Ÿ’— Lovable skills
cloud-enable

Enable Lovable Cloud

cloud
lovable

Turn on Lovable's built-in backend โ€” Postgres, auth, storage, edge functions โ€” with zero external accounts.

guidesetupbackend
๐Ÿ’— Lovable skills
cloud-tables

Create a Postgres table with RLS

cloud
lovable

Prompt Lovable to create a public table with proper GRANTs and Row Level Security policies in one migration.

promptdatabaserls+1 more
๐Ÿ’— Lovable skills
cloud-user-roles

User roles the safe way

cloud
lovable

Never store role on the profile table. Use a dedicated user_roles table + has_role() SECURITY DEFINER function to prevent privilege escalation.

guideauthrls+1 more
๐Ÿ’— Lovable skills
cloud-storage-bucket

Create a storage bucket + upload

cloud
lovable

Ask Lovable to create a public/private bucket, RLS-style policies, and a typed upload helper.

promptstoragefiles
๐Ÿ’— Lovable skills
cloud-edge-function

When to use an Edge Function vs a server function

cloud
lovable

Edge Functions are for webhooks, cron, and public HTTP endpoints. For app-internal RPC use TanStack server functions instead.

guideedge-functionsserver
๐Ÿ’— Lovable skills
cloud-secrets

Add a server secret

cloud
lovable

Store a third-party API key in Lovable Cloud and read it inside a server function handler.

promptsecretsenv
๐Ÿ’— Lovable skills
cloud-cron

Run a scheduled job with pg_cron

cloud
lovable

Schedule a daily cleanup via pg_cron hitting a public API route.

promptcronpg_cron+1 more
๐Ÿ’— Lovable skills
cloud-realtime

Realtime subscriptions

cloud
lovable

Subscribe to Postgres change events and re-render a list live.

promptrealtimesubscriptions
๐Ÿ’— Lovable skills
cloud-migrations

Migration authoring rules

cloud
lovable

Every CREATE TABLE in public must be followed by GRANTs before ENABLE RLS โ€” otherwise the API returns permission errors even with policies in place.

guidemigrationrls+1 more
๐Ÿ’— Lovable skills
cloud-backfill

Data backfill safely

cloud
lovable

Backfill a new column with a batched update to avoid long locks.

promptmigrationbackfill
๐Ÿ’— Lovable skills
cloud-index-hot-paths

Index the hot query paths

cloud
lovable

The first cause of slow Lovable Cloud pages is a missing index on the query's filter/order columns.

guideperformanceindex
๐Ÿ’— Lovable skills
cloud-export-db

Export your database

cloud
lovable

Cloud โ†’ Advanced settings โ†’ Export data gives you a downloadable dump when you need it.

guidebackupexport
๐Ÿ’— Lovable skills
ai-chat-basic

Chat completion via Lovable AI Gateway

ai
lovable

Call a hosted Gemini/OpenAI chat model from a server function โ€” no API keys needed.

promptgatewaychat
๐Ÿ’— Lovable skills
ai-streaming

Stream a chat response

ai
lovable

Stream tokens to the browser using a server route + Web Streams.

promptgatewaystreaming
๐Ÿ’— Lovable skills
ai-image-gen

Generate an image

ai
lovable

Use the AI Gateway to generate an image and save it to Cloud storage.

promptimagesgateway
๐Ÿ’— Lovable skills
ai-embeddings-rag

Embeddings + RAG

ai
lovable

Store document embeddings in pgvector and retrieve top-k chunks for a chat prompt.

guideembeddingsrag+1 more
๐Ÿ’— Lovable skills
ai-function-calling

Tool / function calling

ai
lovable

Give the model tools it can call and route them to your server functions.

promptfunction-callingtools
๐Ÿ’— Lovable skills
ai-model-choice

Choose the right model

ai
lovable

Match model to task: Flash for cheap/fast, Pro for reasoning, image models for pixels.

guidemodelscost
๐Ÿ’— Lovable skills
ai-cost-guardrails

AI cost guardrails

ai
lovable

Set per-user daily caps and short-circuit before calling the model.

guidecostrate-limit
๐Ÿ’— Lovable skills
ai-safety

Prompt-injection and safety

ai
lovable

Treat all model output and all retrieved content as untrusted input.

guidesafetyprompt-injection
๐Ÿ’— Lovable skills
ai-tts

Text-to-speech

ai
lovable

Generate an MP3 from text and stream it back to the client.

promptttsaudio
๐Ÿ’— Lovable skills
ai-stt

Speech-to-text

ai
lovable

Accept an audio blob and return a transcript with word timestamps.

promptsttaudio
๐Ÿ’— Lovable skills
ai-structured-output

Structured JSON output

ai
lovable

Force the model to return typed JSON matching a Zod schema.

promptjsonzod
๐Ÿ’— Lovable skills
ai-eval-loop

AI eval loop

ai
lovable

Ship a small eval set before iterating on prompts โ€” otherwise you're guessing.

guideevalquality
1 / 5

Moved here from lovable-skills.kalilurrahman.com on 2026-11-26. Licence: ยฉ Kalilur Rahman (the source repo has no licence file; notice in LICENSES/lovable-skills.txt).