alembic

Manage Bookkeep database schema migrations with Alembic and SQLAlchemy models.

80|8|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/boludo00/bookkeep --skill alembic-boludo00
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: alembic
Source: https://github.com/boludo00/bookkeep/tree/main/.claude/skills/alembic
Command: npx skills add https://github.com/boludo00/bookkeep --skill alembic-boludo00

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of managing database schema changes for the Bookkeep backend, ensuring data integrity and smooth application updates.

Core Features & Use Cases

  • Database Migrations: Generate, apply, and roll back database schema changes using Alembic.
  • Model Management: Facilitates modifications to database models, including adding/removing columns and tables.
  • Use Case: When a new feature requires adding a new table to the database, use this Skill to generate a migration script, apply it to the database, and ensure the application can correctly interact with the new schema.

Quick Start

Use the alembic skill to generate a new database migration with the message "add user settings table".

Frequently Asked Questions about alembic

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

FAQPage Schema
How do I generate and apply database schema migrations using SQLAlchemy and Alembic?

To generate and apply database schema migrations, you use the Alembic skill to create migration scripts from SQLAlchemy models and apply them to update the database structure safely.

Can I roll back a database migration if a schema change breaks my backend?

Yes, you can roll back database schema changes. The Alembic skill supports reversing migrations to restore previous database structures, ensuring data integrity during backend updates.

How do I add a new table to my database schema without breaking existing data?

To add a new table without breaking existing data, generate a migration script using Alembic. The skill ensures safe execution with existence checks for idempotent operations.

Does this database migration skill support modifying existing tables and columns?

Yes, the database migration skill supports modifying existing structures. You can add or remove columns and tables by generating and applying Alembic migration scripts.

What is the best way to manage database schema changes for a Python backend?

The best way to manage database schema changes is using Alembic with SQLAlchemy models. It streamlines generating, applying, and rolling back schema modifications to ensure smooth application updates.

Do I need SQLAlchemy models to create Alembic database migrations?

Yes, you need SQLAlchemy models. The Alembic skill utilizes SQLAlchemy models to detect schema changes and generate the corresponding migration scripts for the database.