AI Prompts
Prompts for working with Supabase using AI-powered IDE tools
We've curated a selection of prompts to help you work with Supabase using your favorite AI-powered IDE tools, such as Cursor or GitHub Copilot.
How to use
Copy the prompt to a file in your repo.
Use the "include file" feature from your AI tool to include the prompt when chatting with your AI assistant. For example, in Cursor, add them as project rules, with GitHub Copilot, use #<filename>, and in Zed, use /file.
Prompts
Supabase Realtime AI Assistant Guide
Bootstrap Next.js v16 app with Supabase Auth
Writing Supabase Edge Functions
Database: Declarative Database Schema
Database: Create RLS policies
Database: Create functions
Database: Create migration
Postgres SQL Style Guide
Use in different environments
You can load these prompts into various tools. Here are common options and where to place the prompt:
| Environment | Where to put prompt | Installation instructions |
|---|---|---|
| Cursor | Project rules (.cursor/rules/*.md or .mdx) | Configure project rules |
| GitHub Copilot | .github/copilot-instructions.md | Custom instructions in Copilot |
| JetBrains IDEs | guidelines.md | Customize guidelines |
| Gemini CLI | GEMINI.md | Gemini CLI codelab |
| VS Code | .instructions.md | Configure .instructions.md |
| Windsurf | guidelines.md | Configure guidelines.md |