Skip to main content

Sqlalchemy Orm

Skill Warning Active

SQLAlchemy Python SQL toolkit and ORM with powerful query builder, relationship mapping, and database migrations via Alembic

Purpose

To serve as a detailed reference and guide for developers using SQLAlchemy in Python applications, covering its ORM capabilities, query building, relationship mapping, and database migration strategies.

Features

  • SQLAlchemy 2.0 modern API with type hints
  • Declarative model definition and relationships
  • Database engine and session configuration
  • Advanced query patterns with joins and eager loading
  • CRUD operations with examples
  • Async SQLAlchemy setup and operations
  • Alembic migration setup and usage
  • FastAPI integration patterns
  • Testing strategies with Pytest
  • Performance optimization techniques

Use Cases

  • Learning and implementing SQLAlchemy ORM in new Python projects.
  • Refactoring existing applications to use modern SQLAlchemy 2.0 patterns.
  • Setting up database migrations with Alembic for schema management.
  • Integrating SQLAlchemy with web frameworks like FastAPI, Flask, or Django.
  • Writing complex SQL queries and managing relationships effectively.

Non-Goals

  • Providing a full-fledged ORM itself, but rather documenting how to use SQLAlchemy.
  • Handling database administration tasks beyond schema migrations.
  • Replacing specific database drivers (e.g., psycopg2), but documenting how to use them with SQLAlchemy.

Maintenance

  • critical:Commit recencyThe last commit was on 2026-04-15, over 30 days ago, indicating potential unmaintenance given the current date of 2026-05-13.

Trust

  • warning:Issues AttentionIn the last 90 days, 4 issues were opened and 0 were closed, indicating slow or no maintainer response to open issues.

Installation

npx skills add bobmatnyc/claude-mpm-skills

Runs the Vercel skills CLI (skills.sh) via npx — needs Node.js locally and at least one installed skills-compatible agent (Claude Code, Cursor, Codex, …). Assumes the repo follows the agentskills.io format.

Quality Score

Warning
75 /100
Analyzed about 18 hours ago

Trust Signals

Last commit29 days ago
Stars44
LicenseMIT
Status
View Source

Similar Extensions

Migrate Validate

100

Validate pending migrations for foreign key consistency, rollback safety, and best practices

Skill
ruvnet

Django Expert

99

Use when building Django web applications or REST APIs with Django REST Framework. Invoke when working with settings.py, models.py, manage.py, or any Django project file. Creates Django models with proper indexes, optimizes ORM queries using select_related/prefetch_related, builds DRF serializers and viewsets, and configures JWT authentication. Trigger terms: Django, DRF, Django REST Framework, Django ORM, Django model, serializer, viewset, Python web.

Skill
jeffallan

Pydantic Validation

99

Python data validation using type hints and runtime type checking with Pydantic v2's Rust-powered core for high-performance validation in FastAPI, Django, and configuration management.

Skill
bobmatnyc

Senior Fullstack

99

Fullstack development toolkit with project scaffolding for Next.js, FastAPI, MERN, and Django stacks, code quality analysis with security and complexity scoring, and stack selection guidance. Use when the user asks to "scaffold a new project", "create a Next.js app", "set up FastAPI with React", "analyze code quality", "audit my codebase", "what stack should I use", "generate project boilerplate", or mentions fullstack development, project setup, or tech stack comparison.

Skill
alirezarezvani

Python Best Practices

99

Python/FastAPI coding standards including async patterns, Pydantic v2, SQLAlchemy 2.0, and project structure. Use when writing Python code, reviewing FastAPI projects, or learning FastAPI conventions.

Skill
spartan-stratos

Celery

98

Distributed task queue system for Python enabling asynchronous execution of background jobs, scheduled tasks, and workflows across multiple workers with Django, Flask, and FastAPI integration.

Skill
bobmatnyc

© 2025 SkillRepo · Find the right skill, skip the noise.