Skip to content
Back to skills

Database Migrations

ASecurity

Plan and implement requested schema migrations and backfills across supported application versions, with bounded operations, recovery and data-integrity verification.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentssqldatabase

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add najuaircrack/agent-scopeway --skill database-migrations --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Database Migrations?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Database Migrations
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/najuaircrack-database-migrations/badge)](https://www.skillsdirectory.com/skills/najuaircrack-database-migrations)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: database-migrations
description: "Plan and implement requested schema migrations and backfills across supported application versions, with bounded operations, recovery and data-integrity verification."
license: MIT
---

# Migration boundaries

Inspect the owning database, migration runner, current schema, affected queries and supported application versions. Treat a generated migration as a proposal until its SQL and operational effects are reviewed. Keep schema assumptions distinct from observed database state.

When old and new application versions coexist, use an appropriate expand, migrate and contract sequence. Make backfills bounded, resumable and idempotent where required. Consider locks, indexes, transaction duration, uniqueness, nullability and partial failure on the actual database engine.

Validate existing data before enforcing a constraint. Define how conflicting or incomplete rows are accounted for; do not silently discard them. A rollback that restores a column definition may not recover transformed or deleted data. State the real recovery boundary and backup dependency.

Exercise forward application, relevant retry or interruption and supported recovery on isolated data. Verify through the application's actual reads and writes. Local migration files or a test database do not authorize a production change or establish production rollout safety.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.