← スキル一覧に戻る

alembic-migration-manager
by MUmerRazzaq
⭐ 0🍴 0📅 2025年12月25日
SKILL.md
name: alembic-migration-manager description: A skill for managing database migrations with Alembic. Use this for tasks involving Alembic initialization, configuration, creating new migration scripts (both autogenerated and manual), defining upgrade and downgrade logic, handling data migrations, testing migrations, performing rollbacks, and following production deployment best practices for database changes.
Alembic Migration Management
This skill provides a comprehensive guide to managing database schema and data migrations using Alembic.
Core Workflow
-
Initialization & Configuration: Set up Alembic for a new project.
- See
references/01_initialization_and_configuration.mdfor detailed setup instructions and configuration templates.
- See
-
Generating Migrations: Create new migration files.
- See
references/02_generating_migrations.mdfor guidance onautogeneratevs. manual creation.
- See
-
Writing Migration Scripts: Implement the upgrade and downgrade logic.
- See
references/03_migration_script_patterns.mdfor common patterns and examples (creating tables, adding columns).
- See
-
Handling Data Migrations: Perform data backfilling or transformations.
- See
references/04_data_migrations.mdfor patterns and safety checks.
- See
-
Testing & CI/CD: Ensure migrations are safe and automated.
- See
references/05_testing_and_ci_cd.mdfor testing strategies and CI/CD integration examples.
- See
-
Deployment & Rollbacks: Manage migrations in production.
- See
references/06_rollbacks_and_production.mdfor a production checklist and a rollback playbook.
- See
Bundled Resources
- Configuration Templates:
assets/alembic.ini.template: A ready-to-use template foralembic.ini.assets/env.py.template: A template forenv.pyto connect to your database and models.
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です