Skip to main content
skill CX Codex

SQLAlchemy ORM Expert — Claude Code skill: models and queries

A SQLAlchemy 2.0+ skill for customer support backends: ticket models, sessions, async queries and PostgreSQL. Useful when you build on FastAPI.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add manutej/luxor-claude-marketplace --skill sqlalchemy-orm-expert -a claude-code
npx skills add manutej/luxor-claude-marketplace --skill sqlalchemy -a claude-code
Open on GitHub

What SQLAlchemy ORM Expert does

The skill walks through data models for a support system: users, tickets, comments, attachments, tags. Declarative mapping with type hints, enums for status and priority, soft delete via deleted_at, one-to-many and many-to-many relationships through an association table. Every piece comes with code the agent can drop into your project.

Sessions, query optimisation, async operations and PostgreSQL integration follow. FastAPI, Flask and Django are listed as supported frameworks. Async needs asyncpg; synchronous PostgreSQL access uses psycopg2-binary, migrations run on alembic, tests on pytest and pytest-asyncio. SQLAlchemy itself must be 2.0 or newer — the Mapped and mapped_column examples break on 1.x.

The examples target support workflows: ticket handling, authentication, bulk data operations, reporting, audit trails. On an unrelated project you can still reuse the patterns, but the model layout will need rework.

What it helps with

  • model tickets, users and comments in one place
  • wire up relationships without hand-written joins
  • move sync queries to async under FastAPI
  • speed up heavy PostgreSQL selects
  • add soft delete and an audit trail

Example prompts for the agent

  • Write User, Ticket and Comment models with SQLAlchemy 2.0 type annotations
  • Rewrite this query as an async session with asyncpg
  • Check my model relationships and tell me where selectinload belongs

How to install SQLAlchemy ORM Expert

1Skills CLI (Vercel)

npx skills add manutej/luxor-claude-marketplace --skill sqlalchemy-orm-expert -a claude-code
npx skills add manutej/luxor-claude-marketplace --skill sqlalchemy -a claude-code

2Manually: put the files in place

~/.claude/skills/sqlalchemy/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/sqlalchemy/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about SQLAlchemy ORM Expert

How do I install SQLAlchemy ORM Expert in Claude?

Run npx skills add manutej/luxor-claude-marketplace --skill sqlalchemy-orm-expert -a claude-code, then npx skills add manutej/luxor-claude-marketplace --skill sqlalchemy -a claude-code. The skill file lands at ~/.claude/skills/sqlalchemy/SKILL.md.

What does SQLAlchemy ORM Expert do?

It gives the agent ready patterns for models, sessions and queries in SQLAlchemy 2.0+ support systems. Async operations and PostgreSQL integration get their own sections.

What dependencies does the skill need?

sqlalchemy>=2.0, asyncpg, psycopg2-binary, alembic, pytest and pytest-asyncio. FastAPI, Flask and Django are listed as supported frameworks.

Similar skills

All skills for Data and databases →

From the same set31

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor