database-migration-manager

Generate idempotent Supabase database migrations with RLS policies and storage buckets.

1|Updated Jan 8, 2026
One-click install
npx skills add https://github.com/JaveedIshaq/ai-workflow-orchestrator --skill database-migration-manager-javeedishaq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-migration-manager
Source: https://github.com/JaveedIshaq/ai-workflow-orchestrator/tree/main/skills/ballee/database-migration-manager
Command: npx skills add https://github.com/JaveedIshaq/ai-workflow-orchestrator --skill database-migration-manager-javeedishaq

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures that your Supabase database schema changes are managed safely, consistently, and idempotently, preventing common errors and simplifying deployment.

Core Features & Use Cases

  • Production-Ready Migrations: Create migrations following strict naming conventions, using idempotent SQL, and incorporating RLS patterns.
  • Storage Bucket Management: Handle the creation and RLS policies for Supabase storage buckets.
  • Security Definer Functions: Safely create functions with elevated privileges, including super admin bypass.
  • Use Case: When you need to add a new table, modify an existing one, update RLS policies, or create a new storage bucket, this Skill provides the templates and guidelines to do it correctly.

Quick Start

Use the database-migration-manager skill to create a migration to add a 'notes' column to the 'events' table.

Frequently Asked Questions about database-migration-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create idempotent Supabase database migrations for schema changes?

Idempotent Supabase database migrations are generated using strict naming conventions and safe SQL patterns, ensuring schema changes like adding tables or columns can be applied repeatedly without causing errors.

What is the best way to manage Supabase RLS policies and storage bucket configurations?

Managing Supabase RLS policies and storage bucket configurations is handled by generating production-ready migration scripts that enforce security best practices, including super admin bypass patterns and associated row-level security rules.

How do I add a new column to an existing table in Supabase safely?

Adding a new column to an existing Supabase table safely requires generating an idempotent migration script that follows strict naming conventions to prevent deployment errors and maintain schema consistency.

Can I use this approach to create security definer functions with elevated privileges in Supabase?

Creating security definer functions with elevated privileges in Supabase is fully supported, allowing you to safely define functions that include super admin bypass patterns while adhering to security best practices.

Does this Supabase migration approach work for both creating new tables and updating existing indexes?

This Supabase migration approach supports both creating new tables and updating existing indexes, providing standardized templates and guidelines to correctly manage schema modifications across your database environment.

When do I need to use strict naming conventions for Supabase SQL migrations?

Strict naming conventions for Supabase SQL migrations are needed whenever you create or update tables, columns, RLS policies, and storage buckets to ensure your database schema changes remain consistent and safely deployable.