sqlmodel-database
CommunityDesign and implement SQLModel DB schemas.
Authormjunaidca
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you design and implement database schemas using SQLModel, covering sync and async patterns, Neon PostgreSQL connections, relationships (one-to-many, many-to-many), and FastAPI dependency injection.
Core Features & Use Cases
- Model Hierarchy: Define base models, table models (with id and timestamps), and read/create/update variants.
- Sync & Async DB Connections: Demonstrate both
Session(sync) andAsyncSession(async) usage and setup. - API Integration: Generate API schemas from models and wire FastAPI dependencies for sessions.
Quick Start
Create a sample Task model with TaskCreate/TaskRead and perform a basic CRUD using SQLModel with a Neon PostgreSQL database.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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-database Download link: https://github.com/mjunaidca/mjs-agent-skills/archive/main.zip#sqlmodel-database Please download this .zip file, extract it, and install it in the .claude/skills/ directory.