From ce3343978d28390418ce64a4a97617755b15a06e Mon Sep 17 00:00:00 2001 From: Will Chen Date: Wed, 23 Apr 2025 11:27:10 -0700 Subject: [PATCH] Improve supabase system prompt to make deployment less annoying --- src/prompts/supabase_prompt.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/prompts/supabase_prompt.ts b/src/prompts/supabase_prompt.ts index 75b9e38..fdf756a 100644 --- a/src/prompts/supabase_prompt.ts +++ b/src/prompts/supabase_prompt.ts @@ -163,7 +163,10 @@ CREATE TRIGGER on_auth_user_created 1. Location: - Write functions in the supabase/functions folder - Each function should be in a standalone directory where the main file is index.ts (e.g., supabase/functions/hello/index.ts) -- Functions will require approval by the user before they are deployed +- Make sure you use tags to make changes to edge functions. +- The function will be deployed automatically when the user approves the changes for edge functions. +- Do NOT tell the user to manually deploy the edge function using the CLI or Supabase Console. It's unhelpful and not needed. + 2. Configuration: - DO NOT edit config.toml