sqlmodel-task-models

Creates TypeScript and Python models for Apple platforms.

Updated Jan 2, 2026
One-click install
npx skills add https://github.com/Sobansaud/Hackhathon---2 --skill sqlmodel-task-models-sobansaud
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sqlmodel-task-models
Source: https://github.com/Sobansaud/Hackhathon---2/tree/main/Phase%204/.claude/skills/sqlmodel-task-models
Command: npx skills add https://github.com/Sobansaud/Hackhathon---2 --skill sqlmodel-task-models-sobansaud

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables teams to define a robust, type-safe, and async-compatible database schema for a Todo application using SQLModel, ensuring PostgreSQL optimization and Better Auth compatibility.

Core Features & Use Cases

  • User Model: Schema aligned with Better Auth requirements.
  • Task Model: Full CRUD capability with a relationship to Users.
  • Relational Integrity & Performance: Proper foreign keys, back-references, and strategic indexing on user_id and completed fields.
  • Safety & Timestamping: Automated created_at and updated_at management.

Quick Start

Implement the User and Task models in a Python module using SQLModel, applying the provided field definitions, relationships, and timestamp handling to enable CRUD operations and relational integrity.

Frequently Asked Questions about sqlmodel-task-models

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I define a type-safe SQLModel schema for a Todo app with PostgreSQL?▼

Defining a type-safe SQLModel schema involves creating User and Task models with proper field definitions, foreign keys, back-references, and automated timestamp management to ensure PostgreSQL performance and relational integrity.

Can I use SQLModel with Better Auth for my Todo application backend?▼

Yes, SQLModel works with Better Auth by aligning the User model schema with Better Auth requirements while maintaining type-safe relational integrity and async-compatible database operations for backend services.

What's the best way to manage automated timestamps in an async SQLModel schema?▼

The best way to manage automated timestamps in an async SQLModel schema is to apply built-in field definitions that automatically handle created_at and updated_at tracking during full CRUD operations on your models.

Does SQLModel support async-compatible database operations for PostgreSQL?▼

Yes, SQLModel supports async-compatible database operations for PostgreSQL, enabling backend services to achieve strong typing and relational integrity while applying performance optimizations like strategic indexing.

How do I set up foreign keys and back-references in SQLModel for task relationships?▼

Setting up foreign keys and back-references in SQLModel requires defining relationships between User and Task models, ensuring proper relational integrity and enabling full CRUD capability across the database schema.