AI 提示
Prompts for working with Supabase using AI-powered IDE tools
我们精选了一些提示,帮助你使用喜爱的 AI 驱动 IDE 工具(如 Cursor 或 GitHub Copilot)与 Supabase 一起工作。
🌐 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.
使用你的 AI 工具的“包含文件”功能,在与 AI 助手聊天时包含提示。例如,在 Cursor 中,将它们添加为 项目规则,在 GitHub Copilot 中使用 #<filename>,在 Zed 中使用 /file。
🌐 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:
| 环境 | 提示放置位置 | 安装说明 |
|---|---|---|
| 光标 | 项目规则 (.cursor/rules/*.md 或 .mdx) | 配置项目规则 |
| GitHub Copilot | .github/copilot-instructions.md | 在 Copilot 中设置自定义说明 |
| JetBrains IDEs | guidelines.md | 自定义指南 |
| Gemini CLI | GEMINI.md | Gemini CLI 编码实验室 |
| VS Code | .instructions.md | 配置 .instructions.md |
| Windsurf | guidelines.md | 配置 guidelines.md |