python-database-guidelines
Installation
SKILL.md
Python Database Guidelines
Overview
This skill provides patterns for SQLAlchemy ORM usage, async database operations, and Alembic migrations. Use this when working with databases in Python projects.
Quick Reference
| Pattern | When to Use | Example |
|---|---|---|
| Model | Define database tables | class User(Base) |
| Repository | Data access layer | UserRepository.get_by_id() |
| Session | Database transactions | async with session.begin() |
| Migration | Schema changes | alembic revision --autogenerate |