Database Migration Skill - Supabase PostgreSQL

Official

Master Supabase DB migrations & RLS.

AuthorMintenance-LTD
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides expert guidance and reusable patterns for managing Supabase PostgreSQL database migrations, ensuring data integrity, security, and efficient schema evolution.

Core Features & Use Cases

  • Migration Templates: Standardized SQL templates for creating tables, indexes, triggers, and RLS policies.
  • RLS Policy Patterns: Pre-built Row Level Security policies for common access control scenarios (user-owned, role-based, related resources).
  • Indexing Strategies: Guidance on optimizing query performance through effective indexing.
  • Use Case: When adding a new feature that requires a new table, use the provided template to create the table, define necessary indexes, and implement robust RLS policies to secure the data from the outset.

Quick Start

Use the database migration skill to create a new table for user profiles with standard timestamps and RLS policies.

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: Database Migration Skill - Supabase PostgreSQL
Download link: https://github.com/Mintenance-LTD/mintenance/archive/main.zip#database-migration-skill-supabase-postgresql

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 471,000+ vetted skills library on demand.