
Db change management
Plan zero-downtime database schema changes with expand-and-contract migrations
Db change management is an open-source agent skill for databases. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 19
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Db change management
This skill guides an agent through changing a schema on a live production database without causing an outage. It focuses on the failure modes that tests miss, such as locks held on large tables and replication lag, and on the ordering problems that arise when schema and application deploy separately.
The workflow starts with gathering real production numbers such as row counts, table size, write rate and replication status, rather than relying on staging. The agent then classifies each operation by what it locks, applies an expand-and-contract sequence across separate deploys, backfills data in resumable batches, and records an explicit deploy order and reversibility for every step. Irreversible steps are flagged as one-way doors, and rehearsal timing is treated as unverified unless measured against production-shaped data.
The skill expects access to a database engine and its documentation, and it reads engine-specific notes from a bundled reference file. It writes its output as a deploy runbook section and a change log summary in a shared workspace. It runs no scripts of its own.
When your agent uses it
Change a schema against a live production database without taking an outage - expand and contract patterns, zero-downtime DDL, lock and replication-lag behavior on large tables, reversibility, and coordinating the migration with the application deploy that depends on it. Use before any schema change on a system that stays up, when adding or dropping a column on a large table, when a migration must be reversible, or when the deploy order between schema and application matters. Distinct from ordinary application change because the failure mode is a locked table, not a failed test.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (12 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the fde-data plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add rpraharaj/forward-deployed-engineer
/plugin install fde-data@fde-skillsOr copy only this skill to ~/.claude/skills/db-change-management:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/db-change-management &&
cp -R "$tmp/fde-data/skills/db-change-management" ~/.claude/skills/db-change-management &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/db-change-management inside it instead.
Copy the skill folder to ~/.agents/skills/db-change-management to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/db-change-management &&
cp -R "$tmp/fde-data/skills/db-change-management" ~/.agents/skills/db-change-management &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/db-change-management inside it instead.
Copy the skill folder to ~/.cursor/skills/db-change-management to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/db-change-management &&
cp -R "$tmp/fde-data/skills/db-change-management" ~/.cursor/skills/db-change-management &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/db-change-management inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/rpraharaj/forward-deployed-engineer.git --path fde-data/skills/db-change-managementOr copy the folder to ~/.gemini/skills/db-change-management yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/db-change-management:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/db-change-management &&
cp -R "$tmp/fde-data/skills/db-change-management" ~/.copilot/skills/db-change-management &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/db-change-management inside it instead.
Get the folder:
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.gitThen copy forward-deployed-engineer/fde-data/skills/db-change-management into your agent's skills folder as db-change-management. Agents that support SKILL.md read one folder per skill.
What it does
- Real-world numbers first
- Gathers production row counts, table size, write rate and replication status before choosing an approach.
- Lock-aware operation classification
- Sorts schema operations by lock behavior and rewrite cost, with a reminder to check the specific engine version.
- Expand and contract sequence
- Breaks a rename or type change into separate deploys where old and new code both keep working.
- Batched backfill guidance
- Plans resumable, paced data backfills that watch replication lag and can be stopped safely.
- Deploy order and reversibility
- Records the order of schema and application deploys and marks irreversible steps as one-way doors.
- Runbook output template
- Produces a deploy runbook section with a steps table, rehearsal notes, monitoring thresholds and rollback plan.
Good for
- Plan how to add a non-null column to a large production orders table without downtime
- Rename a column in a live system using a multi-step expand and contract migration
- Write a batched backfill that can be paused and resumed while watching replica lag
- Decide whether a schema change must deploy before or after the application code that uses it
- Document rollback steps and mark which migration steps cannot be reversed
Db change management FAQ
When should Db change management be used?
Before any schema change on a system that stays up, when adding or dropping a column on a large table, when a migration must be reversible, or when deploy order between schema and application matters.
When does Db change management not apply?
It does not apply to greenfield projects with no data and no users, when an agreed maintenance window is available, or for a small low-traffic table whose row count has been confirmed.
What does the skill need before Db change management starts?
It needs production row counts and table sizes gathered from the actual production database, not staging. If those cannot be obtained, the skill says to stop and record that gap.
Does Db change management run any scripts?
No. The skill contains no scripts. It works through instructions and reads an engine notes reference file.
How do I install Db change management in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/db-change-management to use it in all your projects, or to .claude/skills/db-change-management in one project. Or install the fde-data plugin, which includes it: /plugin marketplace add rpraharaj/forward-deployed-engineer, then /plugin install fde-data@fde-skills.
Does Db change management run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Db change management?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Db change management?
The closest alternatives to Db change management are Database migrations, Data archaeology, Planning oracle to postgres migration integration testing, Bigquery migration validator and Alembic knowledge patch.
Where this comes from
- Description: from the skill's own SKILL.md.
More from rpraharaj/forward-deployed-engineer

Defines and tests the boundaries on what an AI agent's tool calls can do
- Open source
- 19 GitHub stars
- Security

Gives agents a procedure to test AI workflows against cases, thresholds and regression
- Open source
- 19 GitHub stars
- Developer tools

Turns access requests into a tracked, parallel critical path with workarounds
- Open source
- 19 GitHub stars
- Productivity

Plans how end users move to a new workflow, with barriers, pilot, support and measures
- Open source
- 19 GitHub stars
- Productivity

Maps what a proposed code change could break before you make it
- Open source
- 19 GitHub stars
- Developer tools

Maps an organization's change approval process so releases can be planned backwards from
- Open source
- 19 GitHub stars
- Productivity



