Skip to main content
Manus에서 모든 스킬 실행
원클릭으로

sqlalchemy-patterns

스타8
포크0
업데이트2026년 6월 16일 15:19

SQLAlchemy 2.0 ORM patterns for FastAPI: declarative mapped classes with Mapped/mapped_column, async session with AsyncSession, relationships with explicit lazy loading, Alembic migration workflow integration. Used by fastapi-architect (model definitions) and alembic-specialist (column type finalization and migration generation). Activated automatically by fastapi-plugin/stack.md. Use this skill to: - Write SQLAlchemy 2.0 declarative models with Mapped[T] annotations and mapped_column(). - Manage async database sessions with AsyncSession and async_sessionmaker. - Define relationships with explicit lazy loading strategy (lazy="selectin" or "raise"). - Integrate with Alembic for migration autogeneration. Do NOT use this skill for: - FastAPI routing and Pydantic schemas — see fastapi-plugin:fastapi-conventions. - Alembic migration execution (that's alembic-specialist's job) — this skill covers definitions. - Python idioms — see python-foundation:python-conventions.

설치

Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.

SKILL.md
readonly