supabase-sql

Community

Idempotent SQL migrations for Supabase.

AuthorScientiaCapital
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Clean and format SQL migrations for Supabase, ensuring idempotency, proper RLS policies, consistent formatting, and clear documentation to make deployments safe and repeatable.

Core Features & Use Cases

  • Idempotent migrations with DROP ... IF EXISTS and CREATE ... IF NOT EXISTS.
  • RLS policy corrections, including proper TO service_role usage.
  • Standardized formatting (NOW(), TIMESTAMPTZ) and removal of dead code.
  • End-of-migration dependencies documentation for traceability.

Quick Start

Clean any SQL migration by fixing typos, adding idempotency, correcting RLS policies, removing dead code, standardizing casing, and documenting dependencies.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: supabase-sql
Download link: https://github.com/ScientiaCapital/skills/archive/main.zip#supabase-sql

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.