database-review

Review database migrations for safety, rollback, and data integrity risks.

15|5|Updated May 17, 2026
One-click install
npx skills add https://github.com/cropsgg/skills --skill database-review-cropsgg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-review
Source: https://github.com/cropsgg/skills/tree/main/skills/engineering/database-review
Command: npx skills add https://github.com/cropsgg/skills --skill database-review-cropsgg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Migrations and schema changes often introduce downtime, data integrity risks, and performance regressions; this skill provides a structured review to catch issues before release.

Core Features & Use Cases

  • Review DDL safety: detect dangerous ops, locking implications, and backfill requirements.
  • Validate transactional boundaries and idempotency across multi-step updates.
  • Inspect index usage and query health to avoid regressions in production workloads.
  • Define rollback, backfill, and cutover plans to ensure recoverability.

Quick Start

Analyze a proposed migration plan and generate a structured review with actionable artifacts for implementation and rollback.

Frequently Asked Questions about database-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review database migrations for locking and downtime risks?

Database migration review analyzes DDL safety to detect dangerous operations, locking implications, and backfill requirements before deployment. It validates transactional boundaries and idempotency across multi-step updates to prevent downtime and data integrity issues.

Does this database schema review work with both Postgres and MySQL deployments?

Yes, schema safety review applies to schema changes, index tuning, and backfill plans across both Postgres and MySQL deployments. It handles online or offline migrations to ensure safety, rollback, auditability, and data integrity.

What is the best way to define a rollback plan for a database schema change?

The best way to define a rollback plan is through a structured review that generates actionable artifacts for implementation and rollback. This ensures recoverability by defining explicit rollback, backfill, and cutover plans before release.

How do I inspect index usage to avoid query performance regressions in production?

Inspect index usage and query health by applying a structured review to index tuning operations. This process identifies missing or unused indexes and validates transactional boundaries to avoid regressions in production workloads.

When do I need a backfill plan for database migrations?

You need a backfill plan when schema changes require updating existing rows without causing downtime or locking issues. A migration review detects these backfill requirements and validates idempotency across multi-step updates to maintain data integrity.

What are the limitations of deploying database migrations without a structured review?

Deploying migrations without a structured review risks introducing downtime, data integrity issues, and performance regressions. You bypass critical validations for DDL safety, transactional boundaries, and rollback recoverability that prevent production failures.