database-migrations — for Claude Code database-migrations, community, for Claude Code, ide skills, down(), Database, Migrations, Create, reversible, Detect

v1.0.0

Über diesen Skill

Perfekt für autonome Codierungsagenten, die eine erweiterte Datenbank-Migrationsverwaltung mit reversiblen und testbaren Änderungen benötigen. Lokalisierte Zusammenfassung: Create and manage database migrations safely. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Funktionen

Database Migrations
Create safe, reversible database migrations.
Detect Migration Tool
ls prisma/schema.prisma migrations/ db/migrate/ alembic.ini flyway.conf
Universal Migration Rules

# Kernthemen

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

Skill Overview

Start with fit, limitations, and setup before diving into the repository.

Perfekt für autonome Codierungsagenten, die eine erweiterte Datenbank-Migrationsverwaltung mit reversiblen und testbaren Änderungen benötigen. Lokalisierte Zusammenfassung: Create and manage database migrations safely. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Warum diese Fähigkeit verwenden

Ermöglicht es den Agenten, sichere und reversible Datenbank-Migrationen mit Tools wie Prisma, Alembic und Flyway zu erstellen, um die Datenintegrität und die Schemakonsistenz mit universellen Migrationsregeln wie immer rückgängig und niemals Daten löschen zu gewährleisten.

Am besten geeignet für

Perfekt für autonome Codierungsagenten, die eine erweiterte Datenbank-Migrationsverwaltung mit reversiblen und testbaren Änderungen benötigen.

Handlungsfähige Anwendungsfälle for database-migrations

Automatisieren von Datenbank-Schema-Updates mit reversiblen Migrationen
Erstellen von Migrations-Skripten für verschiedene Datenbank-Management-Systeme
Testen von Datenbank-Migrationen auf einer Kopie, bevor sie in der Produktion angewendet werden

! Sicherheit & Einschränkungen

  • Benötigt spezifische Migrations-Tools wie Prisma, Alembic oder Flyway
  • Benötigt Zugriff auf das Datenbank-Schema und die Migrations-Historie
  • Muss universelle Migrations-Regeln für die Datensicherheit und -konsistenz befolgen

About The Source

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

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 und Installationsschritte

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

? Häufige Fragen

Was ist database-migrations?

Perfekt für autonome Codierungsagenten, die eine erweiterte Datenbank-Migrationsverwaltung mit reversiblen und testbaren Änderungen benötigen. Lokalisierte Zusammenfassung: Create and manage database migrations safely. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Wie installiere ich database-migrations?

Führen Sie den Befehl aus: npx killer-skills add corbat-tech/coco/database-migrations. Er funktioniert mit Cursor, Windsurf, VS Code, Claude Code und mehr als 19 weiteren IDEs.

Wofür kann ich database-migrations verwenden?

Wichtige Einsatzbereiche sind: Automatisieren von Datenbank-Schema-Updates mit reversiblen Migrationen, Erstellen von Migrations-Skripten für verschiedene Datenbank-Management-Systeme, Testen von Datenbank-Migrationen auf einer Kopie, bevor sie in der Produktion angewendet werden.

Welche IDEs sind mit database-migrations kompatibel?

Dieser Skill ist mit 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 kompatibel. Nutzen Sie die Killer-Skills CLI für eine einheitliche Installation.

Gibt es Einschränkungen bei database-migrations?

Benötigt spezifische Migrations-Tools wie Prisma, Alembic oder Flyway. Benötigt Zugriff auf das Datenbank-Schema und die Migrations-Historie. Muss universelle Migrations-Regeln für die Datensicherheit und -konsistenz befolgen.

So installieren Sie den Skill

  1. 1. Terminal öffnen

    Öffnen Sie Ihr Terminal oder die Kommandozeile im Projektverzeichnis.

  2. 2. Installationsbefehl ausführen

    Führen Sie aus: npx killer-skills add corbat-tech/coco/database-migrations. Die CLI erkennt Ihre IDE oder Ihren Agenten automatisch und richtet den Skill ein.

  3. 3. Skill verwenden

    Der Skill ist jetzt aktiv. Ihr KI-Agent kann database-migrations sofort im aktuellen Projekt verwenden.

! Source Notes

This page is still useful for installation and source reference. Before using it, compare the fit, limitations, and upstream repository notes above.

Upstream Repository Material

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Upstream Source

database-migrations

Lokalisierte Zusammenfassung: Create and manage database migrations safely. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

SKILL.md
Readonly
Upstream Repository Material
The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.
Upstream Source

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

Verwandte Fähigkeiten

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

Alle anzeigen

openclaw-release-maintainer

Logo of openclaw
openclaw

Lokalisierte Zusammenfassung: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

333.8k
0
Künstliche Intelligenz

widget-generator

Logo of f
f

Lokalisierte Zusammenfassung: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code

149.6k
0
Künstliche Intelligenz

flags

Logo of vercel
vercel

Lokalisierte Zusammenfassung: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Lokalisierte Zusammenfassung: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
Entwickler