cloudflare-migrations

Automate creation and application of database migrations for Cloudflare Workers projects.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/eykd/vance-ts --skill cloudflare-migrations
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-migrations
Source: https://github.com/eykd/vance-ts/tree/main/.claude/skills/cloudflare-migrations
Command: npx skills add https://github.com/eykd/vance-ts --skill cloudflare-migrations

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires wrangler, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating, managing, and applying database migrations for Cloudflare Workers projects, ensuring seamless schema changes and data integrity.

Core Features & Use Cases

  • Migration Creation: Build migration files with schema changes and reversible scripts.
  • Schema Safety: Handle safe addition, alteration, and removal of tables, columns, and indexes.
  • Data Seeding: Seed development and testing data efficiently.
  • Version Control: Establish a structured version control strategy for migrations.
  • Testing Configuration: Configure migrations for testing with vitest-pool-workers.
  • Use Case: If you're developing a Cloudflare Workers project and need to make changes to your database schema, this Skill can help you create and apply migrations safely and efficiently.

Quick Start

Run the db:migrate script to apply migrations to your Cloudflare Workers project.

Frequently Asked Questions about cloudflare-migrations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage D1 database migrations for Cloudflare Workers?

You can manage D1 database migrations for Cloudflare Workers by automating the creation and application of schema changes. This involves using scripts to generate reversible migration files and applying them via the db:migrate command.

How do I create reversible schema changes for Cloudflare D1?

Creating reversible schema changes for Cloudflare D1 involves building migration files that safely handle the addition, alteration, and removal of tables, columns, and indexes. This ensures data integrity during schema evolution.

Do I need wrangler to apply database migrations for Cloudflare Workers?

Yes, you need wrangler to apply database migrations for Cloudflare Workers. The process also requires appropriate database access configured for D1, KV, and R2 services to execute the schema changes successfully.

Can I seed testing data for Cloudflare Workers database migrations?

Yes, you can seed testing data for Cloudflare Workers database migrations. The workflow supports efficient data seeding for development environments and allows configuration for testing with vitest-pool-workers.

What is the best way to version control D1 schema changes?

The best way to version control D1 schema changes is to establish a structured version control strategy for migrations. This automates tracking and applying schema updates consistently across your Cloudflare Workers project.