db-change-management

db-change-management is a skill for Claude Code from rpraharaj/forward-deployed-engineer. It costs 116 tokens per session (2,186 once invoked), scanned A, original, MIT.

A guide for changing the structure of a live production database while the system stays available. It covers expand-and-contract migrations, zero-downtime database changes, locks, replication lag, reversibility, and coordinating schema changes with application deployments.

In plain words
What is it for?
It is for adding, removing, or altering columns, indexes, constraints, and foreign keys on existing data when deployment order and rollback matter.
Why use it?
It helps avoid outages caused by migrations that lock large tables, run much longer in production, or happen in the wrong order relative to application code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the fde-data plugin — 3 skills shipped together

Good fit It is for adding, removing, or altering columns, indexes, constraints, and foreign keys on existing data when deployment order and rollback matter.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rpraharaj/forward-deployed-engineer/db-change-management
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rpraharaj/forward-deployed-engineer --skill db-change-management
Clone the repo
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer

Made for: Claude Code.

Or install fde-data, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for db-change-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/rpraharaj/forward-deployed-engineer/db-change-management/github.svg)](https://agentmods.dev/skills/rpraharaj/forward-deployed-engineer/db-change-management)
Your own site
<a href="https://agentmods.dev/skills/rpraharaj/forward-deployed-engineer/db-change-management"><img src="https://agentmods.dev/badge/skills/rpraharaj/forward-deployed-engineer/db-change-management/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for db-change-management

Your own site · 80×15
<a href="https://agentmods.dev/skills/rpraharaj/forward-deployed-engineer/db-change-management"><img src="https://agentmods.dev/badge/skills/rpraharaj/forward-deployed-engineer/db-change-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,186 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00116 $0.02186
Opus 5 $0.00058 $0.01093
Sonnet 5 $0.00023 $0.00437
Haiku 4.5 $0.00012 $0.00219

Measured 10d ago against content hash 64e0283e3d5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

db-change-management scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

fde-data/skills/db-change-management/SKILL.md · 175 lines

How it starts

The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Database change management

Schema change against something that has to stay up.

Why this exists

Schema change is treated as ordinary application change and behaves nothing like it. The failure modes are different, and none of them show up in a test suite.

The characteristic incident: a migration that took forty milliseconds on a developer's laptop and eleven minutes on a forty-million-row production table, holding a lock the whole time, while every request queued behind it. The migration was correct. The test passed. The site was down.

The second characteristic incident is ordering. The application deploys before the column exists, or the old code is still running when the column is dropped. Both are avoidable by construction, and both are common because the deploy pipeline treats schema and application as one step when they are two.

When this applies

  • Any schema change on a system that stays up
  • Adding, dropping, or altering a column on a large table
  • Adding an index, a constraint, or a foreign key to existing data
  • A migration that must be reversible
  • The order between schema and application deploy matters

When it doesn't

  • Greenfield with no data and no users
  • A maintenance window is genuinely available and agreed — the constraint disappears, though reversibility still matters
  • The change is to a small, low-traffic table and you've confirmed the row count

Prerequisites

  • Locate the workspace: FDE_WORKSPACE, else the charter Location, else .fde/, else ../<repo>-fde/
  • .fde/traces/data-model.md or data-archaeology — you need to know the eras and the real shape
  • .fde/06-blast-radius-*.md — ring 5 especially, who else reads this table
  • Row counts and table sizes from the actual production database, not from staging. If you cannot get prod numbers, stop and put that in 00b-access.md. Do not classify the lock from staging.

Procedure

1. Get the real numbers first

Staging is not production, and the difference is the whole risk.

Read the full file on GitHub · 175 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 175 lines · 116 tokens per session scan A 64e0283e3d5e

Subscribe to this mod's changes

db-change-management is a skill published in the GitHub repository rpraharaj/forward-deployed-engineer (6 stars, last pushed 23d ago), licensed MIT. It adds 116 tokens to every session and 2,186 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

gonavi-cli

Operate databases through the GoNavi headless CLI — the gonavi executable shipped in verified GitHub Release archives. Covers listing/adding/importing saved connections, running SQL queries against saved connections or ad-hoc connection files, exporting result sets to csv/json/md/html/xlsx, batch-executing SQL files…

Syngnat/GoNavi · 144 tokens

memstack-security-rls-guardian

Use this skill when creating or altering database tables in Supabase or PostgreSQL projects. Triggers include: CREATE TABLE, ALTER TABLE, migration files, 'RLS', 'row level security', 'new table', 'database schema'. Enforces Row Level Security policies on every table to prevent unauthorized data access. Do NOT use for…

cwinvestments/memstack · 84 tokens

codex-log-guard

Diagnose excessive Codex local SQLite diagnostic log writes with read-only evidence by default. Use when a user mentions logs2.sqlite, logs2.sqlite-wal, blockloginserts, SSD/TBW wear, or explicitly asks to protect, clean up, verify, or restore Codex diagnostic logging.

majiayu000/spellbook · 68 tokens

solr-semantic-search

To build Solr phrase-tagging semantic search: concept tagging, taxonomy, graph paths.

griddynamics/rosetta · 24 tokens

transactional-patterns

Use when working with @Transactional, multi-step database operations, distributed transactions, or any code that needs atomicity guarantees. Covers propagation rules, isolation levels, read-only optimization, and common pitfalls.

rrezartprebreza/spring-boot-skills · 44 tokens

ring:using-lib-systemplane

Using lib-systemplane, the hot-reload runtime-config plane (Postgres LISTEN/NOTIFY or MongoDB change streams), in two modes. Sweep Mode detects DIY config reload (SIGHUP, fsnotify, viper, pgx LISTEN), manual tenant-scoping, hand-built admin CRUD, and v4 residue. Reference Mode catalogs client lifecycle and…

LerianStudio/ring · 106 tokens