Schema Migrations
Ship database schema changes with zero downtime — expand/contract, lock-aware PostgreSQL DDL, batched backfills, concurrent index builds, rollout ordering with application deploys, rollback and roll-forward plans, and migration tooling.
What it does
Ship database schema changes with zero downtime — expand/contract, lock-aware PostgreSQL DDL, batched backfills, concurrent index builds, rollout ordering with application deploys, rollback and roll-forward plans, and migration tooling.
- Category
- databasemigrationsreliability
- Platforms
- backend
- Frameworks and tools
- postgresqlmysqlflywayliquibasealembicprismaatlasgoose
- Capabilities
- architecturecode-generationreview
Example tasks
- “Rename a heavily used column on a 200M-row table without downtime.”
- “Add a NOT NULL column with a backfill and a foreign key on a busy Postgres table.”
- “Review a migration PR for locking risk and a rollback plan.”
Works with
Permissions summary
Files
Reads files only
Shell
No shell commands
Network
No network
Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.
Supported environments
| Client | Support | Installed as |
|---|---|---|
| Claude Code | Native | .claude/skills/<id>/SKILL.md |
| OpenAI Codex | Adapter | .codex/skills/<id>/SKILL.md |
| Cursor | Adapter | .cursor/rules/<id>.mdc |
| VS Code (Copilot) | Adapter | .github/instructions/<id>.instructions.md |
| Generic markdown | Adapter | docs/forgekit/skills/<id>.md |
Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.
Included in packs
What is inside
This is a premium component, so its prompt is delivered only through signed downloads to licensed accounts. Here is the outline of its sections (85 lines in total).
- 01Schema Migrations
- 021. Principles
- 032. Expand / contract recipe
- 043. Lock-aware PostgreSQL DDL
- 054. Backfills
- 065. Tooling
- 076. Rollback and recovery
- 087. PR review checklist
- 09Common mistakes
Version and changelog
Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.
Changelog — Schema Migrations
1.0.0
- Initial release.