---
title: AI Prompts
subtitle: 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](https://docs.cursor.com/context/rules-for-ai#project-rules-recommended), with GitHub Copilot, use `#<filename>`, and in Zed, use `/file`.

## Prompts

<AiPromptsIndex />

## 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](https://docs.cursor.com/en/context/rules)                                                     |
| GitHub Copilot | `.github/copilot-instructions.md`              | [Custom instructions in Copilot](https://code.visualstudio.com/docs/copilot/copilot-customization#_custom-instructions) |
| JetBrains IDEs | `guidelines.md`                                | [Customize guidelines](https://www.jetbrains.com/help/junie/customize-guidelines.html)                                  |
| Gemini CLI     | `GEMINI.md`                                    | [Gemini CLI codelab](https://codelabs.developers.google.com/gemini-cli-hands-on)                                        |
| VS Code        | `.instructions.md`                             | Configure `.instructions.md`                                                                                            |
| Windsurf       | `guidelines.md`                                | Configure `guidelines.md`                                                                                               |
