migrate

Manage database migrations with Alembic for the keto meal plan project.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/BaselHussain/ai-keto-meal-plan-generator --skill migrate-baselhussain
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate
Source: https://github.com/BaselHussain/ai-keto-meal-plan-generator/tree/main/.claude/skills/migrate
Command: npx skills add https://github.com/BaselHussain/ai-keto-meal-plan-generator --skill migrate-baselhussain

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines database schema management by automating the creation, application, and rollback of database migrations using Alembic.

Core Features & Use Cases

  • Automated Migrations: Apply pending database schema changes or roll them back.
  • Migration Creation: Generate new migration scripts based on model changes.
  • Status & History: View current migration status and historical migration logs.
  • Use Case: When you update your project's data models, use this Skill to automatically generate and apply the corresponding database changes, ensuring your database schema stays in sync with your application.

Quick Start

Use the migrate skill to apply all pending database migrations.

Frequently Asked Questions about migrate

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

FAQPage Schema
How do I manage database schema migrations with Alembic?

Database schema management with Alembic is handled by applying pending migrations, rolling back existing ones, and creating new migration scripts from model changes. This ensures your database schema stays in sync with application models through deterministic command execution.

How do I generate new Alembic migration scripts from model changes?

Generating new Alembic migration scripts from model changes is supported by the Skill. It automatically creates the corresponding migration scripts based on your updated data models to ensure database schema consistency.

Can I check database migration status and history using Alembic?

Checking database migration status and history with Alembic is fully supported. You can view the current migration status and historical migration logs to track which schema changes have been applied to the database.

How do I roll back an existing database migration?

Rolling back existing database migrations is a core feature of the Alembic management process. You can execute rollback commands within the backend directory to revert the database schema to a previous state.

Do I need to run Alembic commands from a specific directory?

Running Alembic commands requires executing within the backend directory. The Skill ensures database schema consistency with application models through deterministic command execution from this specific project location.