migration-writer
CommunityExpert guidance for reliable Golang migrations.
Authorkasuboski
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Writing and maintaining database migrations for the Mediaz SQLite store can be error-prone without a repeatable, reversible workflow. This skill provides expert guidance on using golang-migrate, safe table recreation, data-preserving updates, and robust rollback patterns.
Core Features & Use Cases
- Guided migration patterns: step-by-step templates for up/down migrations, including table recreation and data migrations.
- Safety-first rules: ensure reversibility, idempotency, and preserved user data across upgrades/downgrades.
- Testing and validation: instructions for fresh and upgrade tests, including CI-ready examples.
- Jet model integration: guidance on regenerating code after schema changes and keeping generated models in sync.
Quick Start
Generate the next migration pair following the project's SQLite guidelines.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: migration-writer Download link: https://github.com/kasuboski/mediaz/archive/main.zip#migration-writer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.