fix-alembic-async-env-py

Community

Resolve Alembic async issues with SQLAlchemy async drivers

Authorruskibeats
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill resolves issues related to Alembic migrations failing with async SQLAlchemy drivers, specifically dealing with greenlet errors and crashes.

Core Features & Use Cases

  • Alembic Migration Fix: Provides steps to modify alembic/env.py for async SQLAlchemy projects to ensure compatibility with Alembic migrations.
  • Async Driver Suffix Strip: Removes async driver suffixes like +asyncpg and +aiosqlite from database URLs to prevent common Alembic failures.
  • Sync Engine Usage: Recommends using sync engines for DDL operations during migrations to avoid errors related to async environments.

Quick Start

Apply the 'fix-alembic-async-env-py' Skill to update your Alembic configuration for proper async support.

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-env-py
Download link: https://github.com/ruskibeats/t1d/archive/main.zip#fix-alembic-async-env-py

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.