Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Forge Database Migrations?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ansh44233-forge-database-migrations)
---
name: forge-database-migrations
description: Write safe, reversible schema migrations and backfills
---
<!-- Generated from catalog/skills/database-migrations/SKILL.md by scripts/build-plugin.ts. Edit the catalog, not this file. -->
# Database Migrations
- Expand → migrate → contract: add new columns/tables first, backfill in batches, switch reads, then remove old.
- Every migration has a tested down path or a documented forward-fix.
- Avoid long locks on large tables (create indexes concurrently where supported).
- Deploy schema changes compatible with both the old and new application version.
## Verify
Apply the migration on a copy of production-like data, run it down (or the forward-fix), apply it again, and run the test suite against the old and new application code.