Grow AI Skills Saved
↗ Agent skillCommunity skill

Database Migrations Skill

Plan reversible schema changes and data migrations around an explicit release sequence.

By Affaan Mustapha·Development

What this skill does

  • Schema planning

    Separate schema changes from data backfills and make the release sequence explicit.

  • Operational risk

    Consider locks, large tables, index creation and expand/contract patterns for live systems.

  • Recovery and validation

    Document forward fixes or rollback considerations and the checks needed to preserve data correctness.

What to provide & what you get

Input
The current schema, intended changes and database environment
Expected output
A migration plan or scripts with rollback and data-validation considerations

Community source

Upstream source

Open the upstream instructions at the fixed revision used for this resource. Review the source and its supporting files before installing.

Read upstream SKILL.md
Repository
affaan-m/ECC
File
skills/database-migrations/SKILL.md
Revision
76aaa77df6adc5b889e689007bf99b9a4f74af34

The downloaded SKILL.md text matches this upstream entrypoint. Review the ZIP’s source and license records for the complete packaging details.

Installation

  1. Download and extract the ZIP. Keep each complete skill folder, including its supporting files. Do not copy only SKILL.md.
  2. Copy the skill folder into your agent's skills directory. Use the project path below for this project, or the personal path for all your projects.

Codex

This project
.agents/skills/database-migrations/SKILL.md
All your projects
~/.agents/skills/database-migrations/SKILL.md

Claude Code

This project
.claude/skills/database-migrations/SKILL.md
All your projects
~/.claude/skills/database-migrations/SKILL.md
  1. Check the final path. It must match one of the paths above, with one database-migrations/ folder directly under skills/. Avoid an extra ZIP-name folder around it.
  2. Start a new task in your project. Use the matching example below to invoke the installed skill. If it is missing, recheck the folder name and reopen your agent.

Before the first run

  • A database schema, proposed change and deployment constraints
  • A test database only when running migration checks.

The ZIP installs the skill instructions and bundled files. Any listed software, accounts or external tools need their own setup.

What's in the download

3 files across 1 skill folder. Includes database-migrations/SKILL.md.

File integrity (SHA256):

ef70f3739904647df29c25f604e0364fb2720f3648eec31ec68147fd3e71a276

How to use

  1. Provide the current schema, intended change, database/tooling and realistic table sizes.
  2. Ask for a staged migration plan and validation queries before execution.
  3. Test the plan in a suitable environment and review operational impact before production use.

Try it in your agent

Install first, then attach or provide the inputs described above. Replace any bracketed placeholders before running.

Codex

Use $database-migrations.

 Plan this schema migration, including compatibility, validation, rollback and the release sequence.

Claude Code

/database-migrations

 Plan this schema migration, including compatibility, validation, rollback and the release sequence.

Check the result: A migration passing on a tiny fixture does not establish its locking behavior on a large live database.

Keep exploring

Related skills & prompts

Browse this category ↗