migration-risk-analyzer
CommunityAssess database migration risk pre-deploy.
AuthorMathews-Tom
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides a systematic, pre-deployment risk assessment for database migrations by parsing migration scripts and identifying lock contention, downtime estimates, irreversible changes, and rollback needs so teams can avoid outages and data loss.
Core Features & Use Cases
- Operation parsing & classification: Extracts DDL and DML operations from raw SQL or common ORM migration formats and classifies each by lock type and expected impact.
- Duration & downtime estimation: Estimates operation durations using table size heuristics and engine-specific behaviors (PostgreSQL, MySQL).
- Rollback & validation generation: Produces rollback templates for reversible changes, highlights irreversible operations with backup recommendations, and emits pre/post migration validation queries.
- Use Case: Review an Alembic or Flyway migration before production deploy to produce a per-operation risk table, deployment recommendation, and tested validation checklist.
Quick Start
Analyze the attached migration SQL and produce a per-operation risk assessment, lock analysis, estimated downtime, rollback scripts, and pre/post validation queries.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: migration-risk-analyzer Download link: https://github.com/Mathews-Tom/praxis-skills/archive/main.zip#migration-risk-analyzer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.