Skip to content
Back to skills

Db Migrations

ASecurity

Use when adding or changing a database schema: writes forward and backward migrations, keeps each one small and reversible, avoids locking large tables, and splits a column rename or type change into expand, backfill and contract steps across releases.

  • 1,567 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 26, 2026
ai-agentsdatabase

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add autonomous-ai/openharness --skill db-migrations --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Db Migrations?

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

Security grade badge for Db Migrations
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/autonomous-ai-db-migrations/badge)](https://www.skillsdirectory.com/skills/autonomous-ai-db-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: db-migrations
description: "Use when adding or changing a database schema: writes forward and backward migrations, keeps each one small and reversible, avoids locking large tables, and splits a column rename or type change into expand, backfill and contract steps across releases."
---

One migration per change, named by date and intent. Add columns as nullable or with a default, backfill in batches, and only then add constraints. Never rename in place on a large table; add the new column, write to both, move the reads, then drop the old one. Run the down migration locally before committing.

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.