kconfesor

Migration — Development skill for Claude Code

Development community

Add a schema migration without destroying anyone's history.

How to install Migration

Installs to ~/.claude/commands/kconfesor-zerg-migration.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/kconfesor/zerg/HEAD/.claude/commands/migration.md -o ~/.claude/commands/kconfesor-zerg-migration.md

Restart Claude Code, or start a new session, for it to be picked up.

What Migration does


description: Add a schema migration without destroying anyone's history argument-hint: [what the migration changes] allowed-tools: Bash(ls:*), Bash(sqlite3:*), Bash(go:*), Read, Write, Edit, Grep

Add a migration for: $ARGUMENTS

Read `internal/store/schema_014.sql` first. It is the worked example for the trap below.

  1. Write internal/store/schema_0NN.sql, one higher than the highest that exists.
  2. Add the //go:embed line and the entry in the migrations slice in `internal/store/s

Alternatives in Development

  • JS To TS — JavaScript to TypeScript Migration Command 74.5k ★
  • Nuwa Skill — 你想蒸馏的下一个员工,何必是同事 31.4k ★
  • Resolve Drizzle Migrations — Resolve Drizzle migration conflicts by accepting upstream and regenerating local migrations 2.5k ★

Full documentation available on GitHub

View Source Repository