migration-safety
/migration-safety
Plan or implement a backward-compatible schema or data migration with rollout, validation, and recovery gates. Use for persistent-state changes; never run against production without explicit authorization.
- Author
- itsofficialadi ↗
- Repository
- boundiff ↗
- Licence
- MIT
- Last repository change
- 22.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 22.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Plan or implement a backward-compatible schema or data migration with rollout, validation, and recovery gates. Use for persistent-state changes; never run against production without explicit authorization.
Original author description
Plan or implement a backward-compatible schema or data migration with rollout, validation, and recovery gates. Use for persistent-state changes; never run against production without explicit authorization.
How it works
- Output
SKILL.md preview
--- name: migration-safety description: Plan or implement a backward-compatible schema or data migration with rollout, validation, and recovery gates. Use for persistent-state changes; never run against production without explicit authorization. --- # Migration safety A migration is a compatibility transition, not only a SQL file. 1. Identify source and destination schemas, data owners, writers/readers, deploy topology, retention obligations, and expected data volumes when known. 2. State invariants: no lost records, compatibility with old and new application versions, stable identifiers, constraints, and permitted downtime or dual-write periods. 3. Design a staged sequence where appropriate: **expand**, deploy compatible readers/writers, **backfill**, verify, then **contract** in a later authorized window. Do not force this pattern when a simpler transaction is genuinely safe. 4. Specify replayability, batch size, lock exposure, idempotency, validation queries, monitoring, and failure/rollback semantics. A reversible schema change does not automatically reverse changed data. 5. For authorized local implementation, edit only scoped migration code and tests. Test on disposable or sanitized representative data, including old/new version combinations if practical. 6. Stop before production execution, irreversible backfill, table drop, or deletion unless scope, environment, backup/recovery posture, and authority are explicit. Do not silently perform production operations. ## Output **Invariants**, **ordered rollout**, **compatibility window**, **verification queries/checks**, **stop/rollback plan**, **unverified assumptions**, and exactly **what was executed where**.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · itsofficialadi/boundiff | 90 | MIT |
| Kuan-AI-com/agent-skills | 100 | MIT |
| jakeselby/model-citizen | 100 | MIT |
| evolplus/talos | 90 | Apache-2.0 |
Database snapshot: 13.11.2026 · package version 9d8105a1000e (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90migration-planning
Plan a database, API, framework, runtime, or infrastructure migration before changing production-facing behavior. Use when compatibility, data transformation, or rollout order matters. - 85backend-deployment-safety-review
Use when reviewing code for deployment safety — feature flags on risky changes, backwards-compatible API/schema evolution, rollback paths, blast-radius scoping, multi-instance safety, expand/contract migration patterns. Triggers when migration files, config beans, or… - 100sqlty-breaking
Check that a schema change or migration doesn't break the queries running during a rolling deploy, with sqlty breaking, and plan an expand and contract migration. Use when adding, dropping, renaming or changing a table or column, writing a migration, making a column nullable or… - 100safe-migration
Write or review a database migration so it deploys without locking tables, breaking running code or losing data. Works with any SQL database (Postgres, MySQL, SQLite) and any migration tool (Prisma, Drizzle, Rails, Django, Alembic, Knex, Flyway, goose and others). Use when asked… - 90migration-strategies
Migration strategies: zero-downtime deployments, expand-contract schema changes, database migrations, framework migrations. Use when planning system migrations. - 100db-migration
Apply schema migrations safely: detect the tool, classify the change by risk, gate destructive ones behind approval, back up in prod, preview-apply-verify, roll back on failure. Use when a schema change is about to be applied to any environment.