$npx skillfedfor your agent

Sqlalchemy

SQLAlchemy ORM Expert covers modern ORM patterns, session handling, and query performance tuning tailored for customer support systems. Learn to design robust data models with relationships, leverage async operations in FastAPI, and integrate PostgreSQL effectively. The skill walks through real support scenarios including ticket management, user authentication, and bulk data operations.

SQLAlchemy ORM Expert teaches you to build data models, manage sessions, and optimize queries for customer support systems.

AI-generated summary based on this skill's SKILL.md

61 15 unlicensed, metadata onlyupdated by manutej

Decision gist · record as of 2026-06-13

SQLAlchemy ORM Expert teaches you to build data models, manage sessions, and optimize queries for customer support systems. SQLAlchemy ORM Expert covers modern ORM patterns, session handling, and query performance tuning tailored for customer support systems. Learn to design robust data models with relationships, leverage async operations in FastAPI, and integrate PostgreSQL effectively. The skill walks through real support scenarios including ticket management, user authentication, and bulk data operations.

manual: git clone https://github.com/manutej/luxor-claude-marketplace → cp -r luxor-claude-marketplace ~/.claude/skills/sqlalchemy

Use it when

  • SQLAlchemy database connection starts with creating an engine using `create_engine()` with your database URL (e.g.
  • SQLAlchemy ORM Expert shows you to define models as classes inheriting from a declarative base.
Same gist for agents: .md · .json

Install

manutej/luxor-claude-marketplace/sqlalchemy · repository language: Shell

generated, unverified - the skill's exact subdirectory could not be determined; check the repository on GitHub

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What is SQLAlchemy ORM and how do I use it with Python?

SQLAlchemy is a Python SQL toolkit and Object-Relational Mapping (ORM) library that lets you interact with databases using Python objects instead of raw SQL. SQLAlchemy ORM Expert teaches you to define database models as Python classes, map them to tables, and perform CRUD operations through an intuitive API. This approach simplifies database interactions, especially in customer support systems where you need to manage tickets, users, and authentication data efficiently.

How do I establish a database connection in SQLAlchemy?

SQLAlchemy database connection starts with creating an engine using `create_engine()` with your database URL (e.g., PostgreSQL connection string). You then create a session factory via `sessionmaker()` to manage database transactions. SQLAlchemy ORM Expert covers the full session lifecycle—opening connections, executing queries, committing changes, and properly closing sessions—ensuring your application maintains reliable connections without resource leaks or transaction conflicts.

How do I build and manage database models with relationships?

SQLAlchemy ORM Expert shows you to define models as classes inheriting from a declarative base, using Column definitions for fields and relationship() for associations between tables. You'll learn one-to-many, many-to-one, and many-to-many patterns essential for support systems—linking users to tickets, tickets to comments, and managing foreign keys automatically. The skill covers cascade options, lazy loading strategies, and backref configurations for bidirectional access.

What are some sqlalchemy query examples for filtering data?

SQLAlchemy ORM Expert provides practical query examples using filter() and where() clauses to retrieve records matching specific conditions. You'll learn to chain filters, use operators like ==, !=, >, <, and in_(), and combine conditions with and_() and or_(). Real support scenarios show filtering tickets by status, finding users by email, and applying date-range queries—all without writing raw SQL, making queries more readable and maintainable.

How do I optimize SQLAlchemy performance and manage transactions?

SQLAlchemy ORM Expert addresses performance through connection pooling, eager loading strategies, and batch operations. You'll learn to use join() to avoid N+1 query problems, implement bulk_insert_mappings() for efficient data loading, and manage transactions explicitly with commit() and rollback(). The skill covers lazy loading implications, query caching patterns, and async operations in FastAPI—critical for high-throughput customer support systems handling thousands of concurrent requests.

What is the difference between SQLAlchemy and raw SQL?

SQLAlchemy ORM Expert contrasts SQLAlchemy's object-oriented approach with raw SQL's direct database commands. SQLAlchemy provides database abstraction (switch databases with minimal code changes), automatic SQL generation, relationship management, and built-in protection against SQL injection. Raw SQL offers more control and can be faster for complex queries, but requires manual query writing and relationship handling. SQLAlchemy balances productivity and flexibility for most support system use cases.

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Learn SQLAlchemy ORM fundamentals and basic usage”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

Sqlalchemy Patterns
by majesticlabs-dev · majesticlabs-dev/majestic-marketplace

This skill teaches SQLAlchemy 2.0 design patterns for building database applications in Python. It covers engine configuration, typed model definitions, relationship patterns, query optimization techniques, and the repository pattern for clean data access layers.

no license declared → metadata onlyupdated May 2026
★ 44repo stars
sqlalchemy
by bobmatnyc · bobmatnyc/claude-mpm-skills

SQLAlchemy equips Python developers with a robust SQL toolkit and ORM for building type-safe database applications. Master declarative models, relationship mapping, efficient query patterns, and async support using SQLAlchemy 2.0's modern API.

MITupdated Jul 2026
★ 62repo stars
Fastapi
by manutej · manutej/luxor-claude-marketplace

Master FastAPI for building scalable customer support APIs with async request handling, dependency injection, and Pydantic validation. Learn database integration with PostgreSQL, WebSocket real-time capabilities, authentication patterns, and background task management. This intermediate-to-advanced skill covers the complete lifecycle from endpoint design to production deployment.

no license declared → metadata onlyupdated Jun 2026
★ 61repo stars
sqlalchemy-postgres
by cfircoo · cfircoo/claude-code-toolkit

This skill provides expert guidance for building production-ready database layers using SQLAlchemy 2.0 with async support, Pydantic v2 validation, and PostgreSQL. It covers initialization, model definition with type-safe annotations, Alembic migrations, async CRUD patterns, and repository architecture for clean separation of concerns.

MITupdated Mar 2026
★ 17repo stars
Sqlmodel Expert
by bilalmk · bilalmk/todo_correct

Build robust database layers with SQLModel patterns for one-to-many, many-to-many, and self-referential relationships. Manage schema evolution safely using Alembic migrations, from autogenerated changes to complex data transformations. Includes query optimization techniques, inheritance patterns, and production-ready helper scripts.

no license declared → metadata onlyfor claude-codeupdated Jan 2026
★ 1repo stars
Python Backend Expert
by hieutrtr · hieutrtr/ai1-skills

Python Backend Expert guides implementation of FastAPI endpoints, SQLAlchemy models, Pydantic schemas, and layered architecture with repositories and services. It covers async session management, dependency injection, error handling, and database migrations for Python 3.12+ projects.

no license declared → metadata onlyupdated Feb 2026
★ 8repo stars

More skills Alembic (unlicensed) · System Architecture (unlicensed) · Alembic Patterns (NOASSERTION) · database-migration-patterns (Apache-2.0) · Data Engineering (unlicensed) · Database Migration Patterns (unlicensed) · Fastapi Expert (Unlicense) · crm-cli (MIT)

Tags
object-relational-mappingdatabase-abstractionsql-toolkitpython-persistenceschema-migrationquery-builderconnection-managementdata-modeling