fix-alembic-async-sqlalchemy

Community

Resolve Alembic migration issues with async SQLAlchemy drivers.

Authorruskibeats
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill addresses issues that arise when using Alembic with async SQLAlchemy drivers like asyncpg or aiosqlite, where Alembic runs DDL synchronously and requires a sync engine.

Core Features & Use Cases

  • Fix Alembic Migrations: Corrects Alembic migration configuration errors caused by using async SQLAlchemy drivers.
  • Connection String Sanitization: Strips the async driver suffix from the connection string and uses create_engine.
  • Online and Offline Migrations: Provides guidance for rewriting run_migrations_online to use sync equivalents.
  • Safety and Verification: Ensures that the Alembic migration process runs smoothly without conflicts or errors.

Quick Start

Run the 'fix-alembic-async-sqlalchemy' skill to correct Alembic migration issues with async SQLAlchemy drivers.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: fix-alembic-async-sqlalchemy
Download link: https://github.com/ruskibeats/t1d/archive/main.zip#fix-alembic-async-sqlalchemy

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.