pkg-migrate

Community

Master database migrations with zero-downtime strategies and embedded scripts.

Authorep0ll
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies managing database schema changes by providing comprehensive migration conventions, embedded migration scripts, and best practices for zero-downtime deployment.

Core Features & Use Cases

  • Migration Management: Establishes and enforces naming conventions and version control for migration files.
  • Embedded Migrations: Supports embedding migration SQL files directly into Go binaries for portability and reliability.
  • Application Integration: Guides integration of migration procedures into application startup routines to ensure schema consistency before serving traffic.
  • Zero-Downtime Patterns: Demonstrates safe schema modifications such as adding indexes concurrently and phased column removal strategies.
  • CI/CD Support: Integrates migration commands into automated build and deployment pipelines for consistent environments.

Quick Start

Invoke the embedded migration functions in your Go application, run migrations during startup before handling requests.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pkg-migrate
Download link: https://github.com/ep0ll/bons-ci/archive/main.zip#pkg-migrate

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.