Tags

Best Database migrations Skills for AI Agents

84 Database migrations skills for AI coding assistants — ranked by popularity.

Managing database migrations often involves repetitive tasks and complex schema adjustments that can lead to errors. This collection provides curated skill files for AI agents like Claude Code, Codex, and Cursor, specifically focused on database migrations and infrastructure management. These skills act as specialized instructions that guide your AI to handle schema definitions, ORM-specific patterns, and complex SQL operations. Whether you are building pipelines with Drizzle ORM, orchestrating migrations through Flyway, or automating Supabase project administration, these modules supply the necessary context for accurate execution. This resource is for developers who want to reduce manual coding in database lifecycle management. You can expect granular guidance for defining table structures, writing stored procedures, and maintaining data integrity across different environments. By offloading these technical patterns to an AI equipped with these structured skill files, you ensure your database operations remain consistent and follow best practices for scaling and optimization.

Top Database migrations skills

drizzle

lobehub

Drizzle ORM schema and database guide. Use when working with database schemas (src/database/schemas/*), defining tables, creating migrations, or database model code. Triggers on Drizzle schema definition, database migrations, or ORM usage questions.

238873

drizzle-orm

EpicenterHQ

Drizzle ORM patterns for type branding and custom types. Use when working with Drizzle column definitions, branded types, or custom type conversions.

32190

senior-data-engineer

davila7

World-class data engineering skill for building scalable data pipelines, ETL/ELT systems, and data infrastructure. Expertise in Python, SQL, Spark, Airflow, dbt, Kafka, and modern data stack. Includes data modeling, pipeline orchestration, data quality, and DataOps. Use when designing data architectures, building data pipelines, optimizing data workflows, or implementing data governance.

2179

moai-domain-database

modu-ai

Manage and query domain-specific data efficiently, enabling streamlined access to information and insights.

1178

database-design

davila7

Database design principles and decision-making. Schema design, indexing strategy, ORM selection, serverless databases.

648

snowflake-semanticview

github

Create, alter, and validate Snowflake semantic views using Snowflake CLI (snow). Use when asked to build or troubleshoot semantic views/semantic layer definitions with CREATE/ALTER SEMANTIC VIEW, to validate semantic-view DDL against Snowflake via CLI, or to guide Snowflake CLI installation and connection setup.

542

prisma-expert

davila7

Prisma ORM expert for schema design, migrations, query optimization, relations modeling, and database operations. Use PROACTIVELY for Prisma schema issues, migration problems, query performance, relation design, or database connection issues.

1234

database-schema-designer

davila7

Design robust, scalable database schemas for SQL and NoSQL databases. Provides normalization guidelines, indexing strategies, migration patterns, constraint design, and performance optimization. Ensures data integrity, query performance, and maintainable data models.

628

database-migration

wshobson

Execute database migrations across ORMs and platforms with zero-downtime strategies, data transformation, and rollback procedures. Use when migrating databases, changing schemas, performing data transformations, or implementing zero-downtime deployment strategies.

324

database-migrations-sql-migrations

sickn33

SQL database migrations with zero-downtime strategies for PostgreSQL, MySQL, SQL Server

318

database-migrations

dadbodgeoff

Safe database migration strategies for zero-downtime deployments. Covers backward-compatible changes, data migrations, and rollback procedures.

311

generate-migration

getsentry

Generate Django database migrations for Sentry. Use when creating migrations, adding/removing columns or tables, adding indexes, or resolving migration conflicts.

86

postgresql-syntax-reference

pgschema

Consult PostgreSQL's parser and grammar (gram.y) to understand SQL syntax, DDL statement structure, and parsing rules when implementing pgschema features

18

database-development

vm0-ai

Database migrations and Drizzle ORM guidelines for the vm0 project

16

databases

mrgoonie

Work with MongoDB (document database, BSON documents, aggregation pipelines, Atlas cloud) and PostgreSQL (relational database, SQL queries, psql CLI, pgAdmin). Use when designing database schemas, writing queries and aggregations, optimizing indexes for performance, performing database migrations, configuring replication and sharding, implementing backup and restore strategies, managing database users and permissions, analyzing query performance, or administering production databases.

16

migrate-postgres-tables-to-hypertables

timescale

Use this skill to migrate identified PostgreSQL tables to Timescale/TimescaleDB hypertables with optimal configuration and validation. **Trigger when user asks to:** - Migrate or convert PostgreSQL tables to hypertables - Execute hypertable migration with minimal downtime - Plan blue-green migration for large tables - Validate hypertable migration success - Configure compression after migration **Prerequisites:** Tables already identified as candidates (use find-hypertable-candidates first if needed) **Keywords:** migrate to hypertable, convert table, Timescale, TimescaleDB, blue-green migration, in-place conversion, create_hypertable, migration validation, compression setup Step-by-step migration planning including: partition column selection, chunk interval calculation, PK/constraint handling, migration execution (in-place vs blue-green), and performance validation queries.

14

migration

JaguarJack

Generate database migration file for CatchAdmin module.

14

setup-timescaledb-hypertables

timescale

Use this skill when creating database schemas or tables for Timescale, TimescaleDB, TigerData, or Tiger Cloud, especially for time-series, IoT, metrics, events, or log data. Use this to improve the performance of any insert-heavy table. **Trigger when user asks to:** - Create or design SQL schemas/tables AND Timescale/TimescaleDB/TigerData/Tiger Cloud is available - Set up hypertables, compression, retention policies, or continuous aggregates - Configure partition columns, segment_by, order_by, or chunk intervals - Optimize time-series database performance or storage - Create tables for sensors, metrics, telemetry, events, or transaction logs **Keywords:** CREATE TABLE, hypertable, Timescale, TimescaleDB, time-series, IoT, metrics, sensor data, compression policy, continuous aggregates, columnstore, retention policy, chunk interval, segment_by, order_by Step-by-step instructions for hypertable creation, column selection, compression policies, retention, continuous aggregates, and indexes.

05

supabase

alinaqi

Core Supabase CLI, migrations, RLS, Edge Functions

14

app-commands

growilabs

GROWI main application (apps/app) specific commands and scripts. Auto-invoked when working in apps/app.

13

create-migration

owid

Create a new database migration file for the OWID MySQL database. Use when the user needs to create a database schema change or migration.

13

format-migration

dailydotdev

Format TypeORM migrations with beautifully formatted SQL code. Use this skill after generating migrations to ensure consistent SQL formatting.

13

run-tests

pgschema

Run pgschema automated tests (go test) to validate diff logic, plan generation, and dump functionality using test fixtures

13

dbx-regenerate

storj

Regenerate DBX code after making changes to .dbx schema files. Runs code generation, shows diff summary, validates compilation, and reports any errors.

12

How to choose a Database migrations skill

Select a skill based on the specific stack and scope of your database project. Start by matching the skill to your ORM—such as Drizzle or Exposed—or your migration tool like Flyway. Check the specific capabilities listed in the file; for instance, some focus on low-level schema visualization and ERD generation, while others prioritize production-grade stored procedures or ETL pipelines. Evaluate the documentation quality within each file to ensure the prompts align with your existing workflow, as these skills vary from specialized repository-level helpers to broader infrastructure management tools.

More Database migrations skills

local-env
dailydotdev · 1 installs
backend-dev
marmelab · 1 installs
clickhouse-migrations
PostHog · 1 installs
axiom-ios-data
CharlesWiltgen · 1 installs
comparing-database-schemas
jeremylongshore · 1 installs
crdb-change
oxidecomputer · 1 installs
database-schema
alinaqi · 1 installs
dsql
awslabs · 1 installs
nop-orm-modeler
entropy-cloud · 1 installs
replit-upgrade-migration
jeremylongshore · 0 installs
schema-optimization-orchestrator
jeremylongshore · 1 installs
supabase-local-dev-loop
jeremylongshore · 0 installs
supabase-migration-deep-dive
jeremylongshore · 1 installs
trail-sense-database-persistence
kylecorry31 · 1 installs
phased-migration-plan
kaladron · 0 installs
database-schema-design
RepairYourTech · 0 installs
advanced-lokstra-validate-consistency
primadi · 0 installs
migration-checklist
eisandromc · 0 installs
schema
sdemyanov · 0 installs
Validate with Database
diegosouzapw · 0 installs
database-patterns
jacexh · 0 installs
316-frameworks-spring-mongodb-migrations-mongock
jabrena · 0 installs
planetscale
G1Joshi · 0 installs
new-migration
jellyrock · 0 installs
drupal-config
edutrul · 0 installs
alembic-best-practices
baekenough · 0 installs
alwib-backend
Tsuev · 0 installs
database-migration
berntpopp · 0 installs
convex-migration-helper
faroqomar · 0 installs
prisma-v7
develsvai · 0 installs
Prisma & Database Architect
lst97 · 0 installs
ss14-migrations
mixed-soup · 0 installs
migrate-down
kalbasit · 0 installs
database-migration
Dokhacgiakhoa · 0 installs
convex-migrations
JStaRFilms · 0 installs
async-sqlalchemy-patterns
majiayu000 · 0 installs
schema-design
pwang347 · 0 installs
supabase-schema-change
omrilevi1994 · 0 installs
create-migration
c9s · 0 installs
duplicate-module-merge
Polyterative · 0 installs
database
MadLeon · 0 installs
analyzing-schema-change-storage-risk
cockroachdb · 0 installs
repository
navikt · 0 installs
prisma-database
slashwhy · 0 installs
db
Rune-kit · 0 installs
database-specialist
FelipeArruda · 0 installs
DB Schema Surgeon
adriangmrraa · 0 installs
database-migration
xiangteng007 · 0 installs
database-migration
brunolimaff-jpg · 0 installs
database
asnk633 · 0 installs
Database Rules
taikiwt · 0 installs
efcore-migrations
thecaaz · 0 installs
db-migration
Diwas2055 · 0 installs
seed-fixtures
manhthien2005 · 0 installs
ck:databases
lengo0951 · 0 installs
github-stars-backfill-rules
izumi0uu · 0 installs
lucid
lncitador · 0 installs
nestjs-database
li-lance · 0 installs
ef-skill
MihaelJelkovac · 0 installs
sqlite
AngelQuinteroDev · 0 installs

Frequently asked

Can I use multiple database skills simultaneously?
Yes, you can configure your AI agent to utilize several skill files at once. For instance, you might combine a schema-focused skill like designing-database-schemas with an execution-focused tool like supabase-automation. Ensure that your agent’s context window is large enough to hold the instructions from all active skills to prevent potential conflicts in output style or formatting.
How do these skills differ from generic database prompts?
Generic prompts often require you to manually define context every time. These skill files are structured as persistent instructions that provide the AI with specific rules, naming conventions, and technical patterns relevant to tools like Drizzle or Flyway. They provide the agent with a grounded 'mental model' of your architecture, leading to more predictable and technically accurate database code generation.

Browse other tags

Search skills

Search the agent skills registry