DB Migration Review — Data skill for Claude Code
Review database migration scripts for risky patterns — locking DDL, long transactions, irreversible down-migrations, destructive column changes, and missing concurrent/batched strategies.
How to install DB Migration Review
Installs to ~/.claude/commands/23seriy-devops-ai-workflows-db-migration-review.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/23seriy/devops-ai-workflows/HEAD/.claude/commands/db-migration-review.md -o ~/.claude/commands/23seriy-devops-ai-workflows-db-migration-review.md Restart Claude Code, or start a new session, for it to be picked up.
What DB Migration Review does
description: Review database migration scripts for risky patterns — locking DDL, long transactions, irreversible down-migrations, destructive column changes, and missing concurrent/batched strategies. Read-only static analysis. argument-hint: "MIGRATION_PATH= [DIALECT=auto|postgres|mysql|sqlite] [DEEP=yes|no] [REPORT_DIR=...]" category: database
/db-migration-review — Database Migration Risk Review
Static review of database migration files (SQL, and the generated SQL from O
Alternatives in Data
- Skill Content Pipeline — Extract patterns and anatomy from URLs — use to reverse-engineer content strategies from live pages 2.8k ★
- Dbt Migration — Migrate SQL projects to dbt 276 ★
- Sxgen — Generate Protheus SX data dictionary configuration scripts - SX3 fields, SIX indexes, SX1 questions, SX5 gener 136 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Rollback Migration
Roll back one applied migration of one context in the Bonus Ledger scaffold with the procedure that actually w
00 Interrogate And Onboard
Load when the owner starts /setup, /daily-run, /apply-url, or "Check my folder"; inspects context/ files direc
Styles To Token Migration
Pipeline for migrating Figma components from hardcoded Paint Styles to semantic Variables — via Component→YAML
Realtime Agent Backend
Production-style backend for real-time AI chat agents: FastAPI, WebSocket token streaming, Redis + PostgreSQL
AI Agents Irreversible Guard
Two-tier guardrail for AI coding agents: hard-stop irreversible actions (rm -rf, DROP DATABASE, deleting a clo
Attestyx
Monitor for AI coding agents (Claude Code, Codex, Gemini CLI): records what agents do on developer laptops and
Related Agents
Lykos Reviewer
Read-only Sonnet reviewer for large, risky, concurrent or security-relevant changes, before they are reported
Rollback Planner
Drafts the rollback and recovery plan for a database migration without touching the database. It classifies ea
Daily Assistant
General daily assistant for summarizing long content, planning and breaking down tasks, drafting emails/messag