スキル データ

データベースの権限

テーブル、RLS、移行

Supabase Postgres Best Practices

Supabase 向けの Postgres として、テーブル設計、RLS、インデックス、安全な移行を行います。

CursorClaudeCodexGrok SupabasePostgresRLS

これは何か

Supabase Postgres Best Practices keeps agents from inventing RLS policies that fail open, skipping indexes on filter columns, or shipping migrations that lock production tables. It is vendor guidance for real Supabase projects, not generic SQL trivia.

例のプロンプト

データベースの権限

orders テーブルを追加し、RLS で利用者に自分の行だけを見せてください。移行とポリシーを示してください。

出典: Supabase

インストール手順を読む

近いスキル