AI Prompt Library
Supabase backend schema and edge functions prompt
Turn a product brief into a practical Supabase schema, auth model, and Edge Functions plan.
Recommended tools
ChatGPTClaudeCursorGitHub Copilot
Prompt
Create a Supabase backend plan for this product: {product_description}. Entities: {entities}. Auth methods: {auth_methods}. Server actions needing Edge Functions: {server_actions}. Security constraints: {security_constraints}. Output: table list with relations, RLS notes, auth flow, Edge Function candidates, and implementation order.What this prompt does
- Turns a product brief into tables, relations, and auth flows.
- Identifies where Edge Functions belong versus client-side logic.
- Surfaces RLS and security concerns early.
Tips for this prompt
- Keep {entities} focused on MVP nouns, not every future feature.
- Ask explicitly for RLS examples in {security_constraints}.
- Review auth flows before implementing billing or admin tools.
How to use the prompt
- Paste {product_description} and list {entities}, {auth_methods}, {server_actions}, and {security_constraints}.
- Validate the schema against your real user journeys.
- Implement tables first, then Edge Functions for server-only work.
supabaseedge functionsbackend promptdatabase schemaapp dev{product_description}{entities}{auth_methods}{server_actions}{security_constraints}
Related prompts
Cursor rules for Flutter app architectureCreate a reusable rules file or system prompt that makes Cursor follow a Flutter project's architecture and conventions.Open promptFlutter and Firebase MVP architecture promptGet a model to scaffold a credible first architecture for a Flutter MVP using Firebase services.Open promptClaude Code prompt to refactor a Flutter featureSafely refactor a Flutter feature without changing behavior, introducing drift, or losing context.Open prompt
Use this prompt with your workflow, then explore Sych-Tech apps for real product examples.
View products