Skip to content
Back to skills

Schema Migration

ASecurity

Design and execute a database schema migration with compatibility, locking, data backfill, validation, rollback or forward recovery, and deployment sequencing.

  • 16 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 11, 2026
ai-agentsdatabaseperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add Dadmin88/hermes-profile-packs --skill schema-migration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Schema Migration?

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

Security grade badge for Schema Migration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dadmin88-schema-migration/badge)](https://www.skillsdirectory.com/skills/dadmin88-schema-migration)

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: schema-migration
description: Design and execute a database schema migration with compatibility, locking, data backfill, validation, rollback or forward recovery, and deployment sequencing.
---
# Schema Migration

Use when changing persistent database structure or data representation.

## Procedure
1. Inspect current schema, indexes, constraints, data volume/distribution, query patterns, and application compatibility.
2. Decide whether the change can be additive or requires a staged expand/migrate/contract sequence.
3. Evaluate lock duration, table rewrite, replication, storage, and performance impact for the database in use.
4. Separate schema change from data backfill when doing so reduces risk.
5. Make application versions compatible across the deployment window where rolling deploys are possible.
6. Validate counts, constraints, sampled data, and query behavior after migration.
7. Define rollback when safe, or forward-recovery steps when reversal would lose data.

## Quality gate
Never rely on a migration being 'quick' without considering real data size and engine behavior. The deployment sequence and recovery path must be explicit.

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.

Comments

Loading comments…