supabase-to-tidb-migration

Official

End-to-end Supabase to TiDB migrations.

Authorpingcap-inc
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Migrate Supabase databases to TiDB by guiding through readiness assessment, RLS policy extraction, DDL conversion, data loading, and validation. The skill helps teams understand the scope of a move, including the PostgREST / GoTrue / Realtime / Storage application-layer rewrite, and ensures a structured, phase-driven approach.

Core Features & Use Cases

  • Phase-driven migration workflow: scan → convert → load → check → optional sync.
  • RLS rewrite planning: extracts policies into a structured checklist for app-layer rewrite.
  • Schema conversion: translates Postgres DDL to TiDB-compatible DDL with type mappings.
  • Safe data load: enforces schema allow-list to avoid shipping auth/storage data.
  • External-work planning: surfaces the required non-DB work streams for platform teams.

Quick Start

Start with the Scan phase by launching the skill in your AI assistant and verifying source/target connectivity before moving to Phase 2.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-to-tidb-migration
Download link: https://github.com/pingcap-inc/TiShift/archive/main.zip#supabase-to-tidb-migration

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.