Skip to content
Back to skills

Review Migrations

ASecurity

Review Alembic migrations for production safety. Checks zero-downtime, CONCURRENTLY for indexes, expand-contract for renames, downgrade presence. Conditional — only when migrations exist.

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 17, 2026
databasesbackend

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add CarlosNavarron1990/kuraka --skill review-migrations --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Review Migrations?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Review Migrations
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/carlosnavarron1990-review-migrations/badge)](https://www.skillsdirectory.com/skills/carlosnavarron1990-review-migrations)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: review-migrations
description: "Review Alembic migrations for production safety. Checks zero-downtime, CONCURRENTLY for indexes, expand-contract for renames, downgrade presence. Conditional — only when migrations exist."
agent: "[[migration-reviewer]]"
phase: "5 (conditional) — see `kuraka`"
disable-model-invocation: true
user-invocable: false
---

# Review Migrations

## When to run

Only when the REQ includes changes to `backend/alembic/versions/`.
Otherwise, skip this step entirely.

## Input

- Migration files in `backend/alembic/versions/`
- Frozen schema from Phase 3

## Process

1. List all migration files changed/created in this cycle
2. For each migration, apply the safety checklist in `migration-reviewer.md`
3. Produce findings with severity
4. Verify downgrade() is implemented
5. Estimate execution time on production data size

## Output

Produce a review report with verdict APPROVED / APPROVED_WITH_NOTES / CHANGES_REQUIRED.

See `.claude/agents/migration-reviewer.md` for the full output format.

## Rules

1. **BLOCKER on one-shot destructive change**
2. **HIGH on NOT NULL without default**
3. **MEDIUM on CREATE INDEX without CONCURRENTLY for large tables**
4. **Downgrade is mandatory**
5. **Run [[verify-output]] before returning**

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in databases →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.