apps/docs/content/guides/getting-started/ai-prompts.mdx
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.
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.
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 |