schema-evolution
CommunitySafely change databases without downtime
Software Engineering#schema evolution#backwards compatibility#dual write#expand contract#zero-downtime migration#database deploy ordering
Authorjacob-balslev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents production incidents by guiding you to evolve a database schema over time while keeping deployed application code working through the full expand → migrate → contract sequence.
Core Features & Use Cases
- Expand/Contract (Parallel Change): Add new structures compatibly, migrate safely across deploys, then remove old structures only when the system is fully switched.
- Compatibility Envelope & Deploy Ordering: Define which code versions can run against which intermediate schema states, including migration-first vs code-first vs coordinated multi-step changes.
- Change-Type Safety Guidance: Use an explicit safety matrix for common operations like renames, type changes, constraint tightening, and index/foreign key additions.
- Dual-write / Dual-read Transitions: Apply non-trivial transitions using staged reads/writes and defined criteria for advancing phases.
- Verification & Rollback Discipline: Provide concrete verification checks to decide when it’s safe to contract and when rollback is still possible.
Quick Start
Use schema-evolution to plan an expand → migrate → contract sequence for renaming a column from name to full_name without breaking deployed services.
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: schema-evolution Download link: https://github.com/jacob-balslev/skill-graph/archive/main.zip#schema-evolution 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 471,000+ vetted skills library on demand.