sqlalchemy-models

Community

Auto-generate SQLAlchemy models and DB infra.

Authorjota-batuta
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Generates a complete SQLAlchemy-based data layer from a structured data model: core database setup, ORM models with relationships, and optional migration scaffolding, enabling rapid, consistent backend development.

Core Features & Use Cases

  • Core database infrastructure: engine, SessionLocal, and Declarative Base to support both production (PostgreSQL) and testing (SQLite) environments.
  • Model generation: auto-create models with one-to-many, many-to-many relationships using explicit back_populates and cascade rules.
  • Init and migration support: provide an initialization workflow to create tables and prepare Alembic-style migrations.
  • Testing scaffolding: guidance for SQLite-based tests with isolated schemas.

Quick Start

Provide a data model description and relationships; the system will generate the database layer, models, and optional migrations.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sqlalchemy-models
Download link: https://github.com/jota-batuta/batuta-dots/archive/main.zip#sqlalchemy-models

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.