database-migrations — community database-migrations, community, ide skills

v1.0.0

Sobre este Skill

Perfeito para Agentes de Codificação Autônoma que precisam de gerenciamento avançado de migração de banco de dados com alterações reversíveis e testáveis. 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

Perfeito para Agentes de Codificação Autônoma que precisam de gerenciamento avançado de migração de banco de dados com alterações reversíveis e testáveis. Create and manage database migrations safely. Covers SQL migrations, ORM migrations (Prisma, TypeORM, Flyway, Alembic), rollback strategies, and zero-downtime migration patterns.

Por que usar essa habilidade

Habilita os agentes a criar migrações de banco de dados seguras e reversíveis usando ferramentas como Prisma, Alembic e Flyway, garantindo a integridade dos dados e a consistência do esquema com regras de migração universais, como sempre reversíveis e nunca excluindo dados.

Melhor para

Perfeito para Agentes de Codificação Autônoma que precisam de gerenciamento avançado de migração de banco de dados com alterações reversíveis e testáveis.

Casos de Uso Práticos for database-migrations

Automatizar atualizações de esquema de banco de dados com migrações reversíveis
Gerar scripts de migração para diferentes sistemas de gerenciamento de banco de dados
Testar migrações de banco de dados em uma cópia antes de aplicá-las à produção

! Segurança e Limitações

  • Exige ferramentas de migração específicas, como Prisma, Alembic ou Flyway
  • Precisa de acesso ao esquema de banco de dados e ao histórico de migração
  • Deve seguir regras de migração universais para garantir a segurança e a consistência dos dados

Why this page is reference-only

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

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

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?

Perfeito para Agentes de Codificação Autônoma que precisam de gerenciamento avançado de migração de banco de dados com alterações reversíveis e testáveis. 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: Automatizar atualizações de esquema de banco de dados com migrações reversíveis, Gerar scripts de migração para diferentes sistemas de gerenciamento de banco de dados, Testar migrações de banco de dados em uma cópia antes de aplicá-las à produção.

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?

Exige ferramentas de migração específicas, como Prisma, Alembic ou Flyway. Precisa de acesso ao esquema de banco de dados e ao histórico de migração. Deve seguir regras de migração universais para garantir a segurança e a consistência dos dados.

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.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

database-migrations

Install database-migrations, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
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

Habilidades Relacionadas

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

Ver tudo

openclaw-release-maintainer

Logo of openclaw
openclaw

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

widget-generator

Logo of f
f

Gerar plugins de widgets personalizáveis para o sistema de feed do prompts.chat

flags

Logo of vercel
vercel

O Framework React

138.4k
0
Navegador

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Desenvolvedor