data-contract-migrations
Installation
SKILL.md
Data Contract Migrations
Purpose
Use this skill when data shape changes can break reads, writes, reports, tenants, or integrations. The goal is an explicit compatibility and migration plan, not just a SQL diff.
Preflight
Gather these facts before proposing changes:
- Current schema, models, serializers, API contracts, and persisted samples.
- Writers and readers of each field.
- Migration tool and rollback support.
- Data volume, tenant boundaries, and backfill cost.
- Required zero-downtime or maintenance-window constraints.
- Existing tests or fixtures that prove compatibility.
If the current data does not contain a field, treat it as absent. Do not invent fallback fields.