supabase
Supabase数据库管理,包括迁移、RLS策略、种子数据、身份验证配置和本地开发。数据库文件位于api/supabase/。
📖 中文导读:Supabase数据库管理,包括迁移、RLS策略、种子数据、身份验证配置和本地开发。数据库文件位于api/supabase/。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: supabase description: Supabase database management including migrations, RLS policies, seed data, auth configuration, and local development. Database files in api/supabase/.
Skill: Supabase
Database and authentication management using Supabase.
Routing Logic
Analyze the user's intent and route to the appropriate workflow:
Migrations → workflows/create-migration.md
- "Create a migration for [table]"
- "Add a new table for [feature]"
- "Alter the [table] schema"
RLS Policies → workflows/rls-policies.md
- "Add RLS policy for [table]"
- "Secure [table] with row-level security"
- "Users can only see their own [data]"
Seed Data → workflows/seed-data.md
- "Add seed data for [table]"
- "Create test users"
- "Populate [table] with sample data"
Auth Configuration → workflows/auth-config.md
- "Configure Google OAuth"
- "Set up email templates"
- "Enable [provider] login"
Database Operations → workflows/db-operations.md
- "Reset the database"
- "Run migrations"
- "Start Supabase locally"
Configuration Questions → context/config.md
- "Where is the Supabase config?"
- "How do I connect to the database?"
- "What's the local Supabase URL?"
Workflows
workflows/create-migration.md- Create new database migrationsworkflows/rls-policies.md- Implement row-level securityworkflows/seed-data.md- Add seed/test dataworkflows/auth-config.md- Configure authenticationworkflows/db-operations.md- Common database operations
Context
context/config.md- Supabase configurationcontext/structure.md- Directory structurecontext/rls-patterns.md- RLS best practices