From asyncpg-to-sqlalchemy-converter
Convert asyncpg FastAPI project to SQLAlchemy async patterns
How this command is triggered — by the user, by Claude, or both
Slash command
/asyncpg-to-sqlalchemy-converter:convert-projectThe summary Claude sees in its command listing — used to decide when to auto-load this command
Convert asyncpg FastAPI project to SQLAlchemy async patterns This command analyzes a FastAPI project, detects all asyncpg usage patterns, and systematically converts them to SQLAlchemy 2.0+ with async support while maintaining full functionality. ## Usage ## Options - `--path <directory>`: Project directory to analyze (default: current directory) - `--backup <directory>`: Backup location before conversion (default: ./backup_asyncpg) - `--supabase`: Enable Supabase-specific optimizations and integrations - `--models-only`: Only convert models, skip utility functions - `--dry-run`: Prev...
Convert asyncpg FastAPI project to SQLAlchemy async patterns
This command analyzes a FastAPI project, detects all asyncpg usage patterns, and systematically converts them to SQLAlchemy 2.0+ with async support while maintaining full functionality.
/convert-asyncpg-to-sqlalchemy [options]
--path <directory>: Project directory to analyze (default: current directory)--backup <directory>: Backup location before conversion (default: ./backup_asyncpg)--supabase: Enable Supabase-specific optimizations and integrations--models-only: Only convert models, skip utility functions--dry-run: Preview changes without modifying files--interactive: Prompt for confirmation on major changesConvert current directory with Supabase support:
/convert-asyncpg-to-sqlalchemy --supabase
Dry run to preview changes:
/convert-asyncpg-to-sqlalchemy --dry-run --path ./my-fastapi-app
Interactive conversion with custom backup:
/convert-asyncpg-to-sqlalchemy --path ./src --backup ./original_code --interactive
npx claudepluginhub kivo360/claude-toolbelt --plugin asyncpg-to-sqlalchemy-converter/fire-migrate-databaseGuides database migration between PostgreSQL, MySQL, SQLite, and SQL Server through a structured 6-step pipeline: assess, plan, execute, verify.
/fastapiBuilds, configures, and optimizes production-ready FastAPI apps with Pydantic models, async SQLAlchemy/Tortoise ORM, JWT/OAuth auth, WebSockets, background tasks, and pytest/HTTPX tests. Supports feature flags like --schemas, --db, --auth.