database-migrations — community database-migrations, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0

このスキルについて

Perfect for 自動コーディングエージェントが高度なデータベース移行管理を必要とする場合、可逆的でテスト可能な変更を提供します。 Create and manage database migrations safely. Covers SQL migrations, ORM migrations (Prisma, TypeORM, Flyway, Alembic), rollback strategies, and zero-downtime migration patterns.

corbat-tech corbat-tech
[1]
[0]
Updated: 3/16/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 9/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
9/11
Quality Score
51
Canonical Locale
en
Detected Body Locale
en

Perfect for 自動コーディングエージェントが高度なデータベース移行管理を必要とする場合、可逆的でテスト可能な変更を提供します。 Create and manage database migrations safely. Covers SQL migrations, ORM migrations (Prisma, TypeORM, Flyway, Alembic), rollback strategies, and zero-downtime migration patterns.

このスキルを使用する理由

Empowers エージェントが安全で可逆的なデータベース移行を作成できるようにする、Prisma, Alembic, および Flyway などのツールを使用し、データの完全性とスキーマの一貫性を確保し、常に可逆でデータを削除しないというような普遍的な移行規則に従う。

おすすめ

Perfect for 自動コーディングエージェントが高度なデータベース移行管理を必要とする場合、可逆的でテスト可能な変更を提供します。

実現可能なユースケース for database-migrations

可逆な移行を使用してデータベーススキーマを自動更新する
さまざまなデータベース管理システムの移行スクリプトを生成する
本番環境に適用する前にコピーでデータベース移行をテストする

! セキュリティと制限

  • 特定な移行ツール、たとえば Prisma, Alembic、または Flyway が必要
  • データベーススキーマと移行履歴へのアクセスが必要
  • データの安全性と一貫性を確保するために、普遍的な移行規則に従う必要がある

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is database-migrations?

Perfect for 自動コーディングエージェントが高度なデータベース移行管理を必要とする場合、可逆的でテスト可能な変更を提供します。 Create and manage database migrations safely. Covers SQL migrations, ORM migrations (Prisma, TypeORM, Flyway, Alembic), rollback strategies, and zero-downtime migration patterns.

How do I install database-migrations?

Run the command: npx killer-skills add corbat-tech/coco/database-migrations. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for database-migrations?

Key use cases include: 可逆な移行を使用してデータベーススキーマを自動更新する, さまざまなデータベース管理システムの移行スクリプトを生成する, 本番環境に適用する前にコピーでデータベース移行をテストする.

Which IDEs are compatible with database-migrations?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for database-migrations?

特定な移行ツール、たとえば Prisma, Alembic、または Flyway が必要. データベーススキーマと移行履歴へのアクセスが必要. データの安全性と一貫性を確保するために、普遍的な移行規則に従う必要がある.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add corbat-tech/coco/database-migrations. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use database-migrations immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

database-migrations

Install database-migrations, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Supporting Evidence

Database Migrations

Create safe, reversible database migrations.

Detect Migration Tool

bash
1ls prisma/schema.prisma migrations/ db/migrate/ alembic.ini flyway.conf src/main/resources/db/migration/ 2>/dev/null

Universal Migration Rules

  1. Always reversible — every migration must have an up() and down()
  2. Never delete data in a migration (archive first, delete later)
  3. One change per migration — don't bundle multiple schema changes
  4. Test on a copy first — never run untested migration on production
  5. Backup before running on production

SQL Migration Pattern

sql
1-- V001__create_users_table.sql (Flyway naming) 2-- or 001_create_users.up.sql 3 4-- UP 5CREATE TABLE users ( 6 id UUID PRIMARY KEY DEFAULT gen_random_uuid(), 7 email VARCHAR(255) UNIQUE NOT NULL, 8 created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), 9 updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW() 10); 11 12CREATE INDEX idx_users_email ON users(email); 13 14-- DOWN (in separate file or section) 15DROP TABLE IF EXISTS users;

Zero-Downtime Column Add

sql
1-- ✅ Safe: adding nullable column 2ALTER TABLE users ADD COLUMN display_name VARCHAR(100); 3 4-- ✅ Safe: adding column with default (new rows get default) 5ALTER TABLE users ADD COLUMN is_active BOOLEAN NOT NULL DEFAULT true; 6 7-- ❌ Dangerous: adding NOT NULL column without default (locks table) 8ALTER TABLE users ADD COLUMN required_field VARCHAR(100) NOT NULL; 9-- Instead: add nullable → backfill → add NOT NULL constraint

Zero-Downtime Column Rename (3 migrations)

sql
1-- Migration 1: Add new column 2ALTER TABLE users ADD COLUMN user_name VARCHAR(100); 3 4-- Migration 2 (after deploy): Copy data + update app to write both 5UPDATE users SET user_name = username; 6 7-- Migration 3 (after next deploy): Drop old column 8ALTER TABLE users DROP COLUMN username;

Prisma (TypeScript)

bash
1# Create migration 2npx prisma migrate dev --name add_user_avatar 3 4# Apply to production 5npx prisma migrate deploy 6 7# Rollback (manual — Prisma doesn't auto-rollback) 8# Keep manual rollback SQL in migrations/rollbacks/
prisma
1// schema.prisma 2model User { 3 id String @id @default(cuid()) 4 email String @unique 5 avatar String? // ← new nullable field (safe) 6 createdAt DateTime @default(now()) 7 updatedAt DateTime @updatedAt 8}

Alembic (Python)

python
1# alembic/versions/001_add_avatar.py 2def upgrade(): 3 op.add_column("users", sa.Column("avatar", sa.String(255), nullable=True)) 4 5def downgrade(): 6 op.drop_column("users", "avatar")

Flyway (Java/Spring Boot)

sql
1-- src/main/resources/db/migration/V002__add_user_avatar.sql 2ALTER TABLE users ADD COLUMN avatar VARCHAR(255); 3 4-- src/main/resources/db/migration/V002__add_user_avatar__undo.sql (for Flyway Teams) 5ALTER TABLE users DROP COLUMN avatar;

Migration Checklist

Before running any migration:

  • Migration has both up and down operations
  • Tested on development database first
  • Large table migrations tested for lock duration
  • Database backup taken (production)
  • Rollback plan documented
  • Zero-downtime pattern used for live tables

Usage

/database-migrations add-column users avatar
/database-migrations create-table orders
/database-migrations rename-column users username user_name
/database-migrations zero-downtime    # for high-traffic tables

関連スキル

Looking for an alternative to database-migrations or another community skill for your workflow? Explore these related open-source skills.

すべて表示

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

カスタマイズ可能なウィジェットプラグインをprompts.chatのフィードシステム用に生成する

149.6k
0
AI

flags

Logo of vercel
vercel

React フレームワーク

138.4k
0
ブラウザ

pr-review

Logo of pytorch
pytorch

Pythonにおけるテンソルと動的ニューラルネットワーク(強力なGPUアクセラレーション)

98.6k
0
開発者