One-click install
npx skills add https://github.com/az9713/atlas-agent-tutorial --skill database-migration-az9713
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-migration
Source: https://github.com/az9713/atlas-agent-tutorial/tree/main/ch09_agent_skills/skills/database-migration
Command: npx skills add https://github.com/az9713/atlas-agent-tutorial --skill database-migration-az9713

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Safely run database migrations by enforcing checks, guardrails, and a repeatable review process before applying changes.

Core Features & Use Cases

  • Tool detection: Identify and select the correct migration tool (Alembic, Django, Prisma) automatically.
  • Guardrails: Require environment confirmation, backups, and migration scope clarity before execution.
  • Dry-run & rollback: Generate and preview changes, and provide rollback options when safe.

Quick Start

Confirm environment readiness and backup, then invoke the migration workflow with the appropriate tool.

Frequently Asked Questions about database-migration

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

FAQPage Schema
How do I safely run database migrations in production?

Safely run database migrations by enforcing tool detection, generating dry-runs, checking rollback options, and requiring explicit user confirmation before applying changes. This guardrail process prevents destructive schema alterations.

How do I preview database migration changes before applying them?

Preview database migration changes by generating a dry-run output of the proposed schema modifications. This workflow requires migration scope clarity and validates rollback options before executing any actual changes.

Does this migration guardrail workflow support Prisma, Alembic, and Django?

This migration guardrail workflow supports Prisma, Alembic, and Django. It automatically detects the correct migration tool from your project and applies the appropriate validation checks across development, staging, and production environments.

What is the best way to ensure rollback safety during a database migration?

Ensure rollback safety during a database migration by enforcing guardrails that require environment confirmation, validate backups, and generate rollback options before executing any schema changes.

How do I prevent accidental database schema changes in staging environments?

Prevent accidental database schema changes in staging by requiring explicit environment confirmation and migration scope clarity. The workflow enforces these guardrails and demands user confirmation before applying any modifications.