ef-migration-safety

Coordinate EF Core migrations across development, staging, and production environments.

Updated Nov 2, 2025
One-click install
npx skills add https://github.com/YuriGarciaRibeiro/API-notifications --skill ef-migration-safety-yurigarciaribeiro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ef-migration-safety
Source: https://github.com/YuriGarciaRibeiro/API-notifications/tree/main/.codex/skills/ef-migration-safety
Command: npx skills add https://github.com/YuriGarciaRibeiro/API-notifications --skill ef-migration-safety-yurigarciaribeiro

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill provides a safe, auditable workflow for EF Core migrations, reducing risk during schema changes across environments.

Core Features & Use Cases

  • Deterministic local migration creation and review before applying to any environment.
  • Preflight checks and rollback planning to minimize production impact.
  • Uses the provided scripts and references to coordinate changes across development, staging, and production.

Quick Start

Run the migration preflight and apply workflow using the included scripts to create, review, and apply migrations.

Frequently Asked Questions about ef-migration-safety

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely apply EF Core migrations across multiple environments?

Apply EF Core migrations safely by running deterministic preflight checks, creating and reviewing migrations locally, and then using controlled scripts to apply changes across development, staging, and production environments.

What is the best way to roll back a database migration if a production deployment fails?

Plan rollback scenarios for database migrations as part of the preflight workflow before applying changes, ensuring you can revert schema updates safely if the production deployment encounters issues.

How do I review EF Core schema changes before applying them to production?

Review EF Core schema changes by creating deterministic local migrations first, allowing you to inspect and verify the generated schema updates before applying them to staging or production environments.

Can I automate preflight checks for EF Core database migrations?

Automate preflight checks for EF Core database migrations using the included scripts to coordinate safe, auditable schema changes and minimize production impact across your deployment environments.

Do I need manual scripts to manage EF Core migrations for staging and production?

Use the provided scripts to manage EF Core migrations for staging and production, which coordinate controlled application, review, and rollback planning to ensure schema changes are auditable and safe.