sqlmodel-expert

Community

Master SQLModel patterns & Alembic migrations.

Authormuhammadwaheedairi
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables building robust SQLModel data models and managing production-grade migrations with Alembic, smoothing the path from prototype to stable schemas.

Core Features & Use Cases

  • Advanced modeling patterns: one-to-many, many-to-many, and self-referential relationships with validations and mixins.
  • Comprehensive migrations and data migrations: using Alembic, zero-downtime strategies, and data backfills.
  • Practical templates and references: sample models, migration scripts, and best practices to accelerate real-world projects.

Quick Start

Install required tooling and scaffold your project:

  1. Create a Python virtual environment and install: pip install sqlmodel alembic
  2. Initialize Alembic: alembic init alembic
  3. Create and apply migrations as you evolve your SQLModel models:
    • Modify your models, then run ./scripts/migrate.sh create "description"
    • Upgrade to head: alembic upgrade head
  4. Initialize the database with the included script: python scripts/init_db.py --url postgresql://user:pass@localhost/db

Dependency Matrix

Required Modules

sqlmodel

Components

scriptsreferencesassets

💻 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: sqlmodel-expert
Download link: https://github.com/muhammadwaheedairi/the-evolution-of-todo/archive/main.zip#sqlmodel-expert

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.