sqlmodel-task-models — SQLModel sqlmodel-task-models, Hackathon2_phase2, abdulahad139, community, SQLModel, ai agent skill, ide skills, agent automation, Task Models, Database Schema, Better Auth, PostgreSQL

v1.0.0
GitHub

About this Skill

Perfect for Python Analysis Agents needing advanced database schema definition and management using SQLModel SQLModel Task Models is a technique for defining Todo application database schema, providing type safety and async compatibility

Features

User Model aligned with Better Auth requirements
Task Model with full CRUD capability and relational mapping to Users
Relational Integrity constraints
PostgreSQL optimization

# Core Topics

abdulahad139 abdulahad139
[0]
[0]
Updated: 2/7/2026

Quality Score

Top 5%
33
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
> npx killer-skills add abdulahad139/Hackathon2_phase2/sqlmodel-task-models
Supports 19+ Platforms
Cursor
Windsurf
VS Code
Trae
Claude
OpenClaw
+12 more

Agent Capability Analysis

The sqlmodel-task-models skill by abdulahad139 is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for SQLModel, Task Models, Database Schema.

Ideal Agent Persona

Perfect for Python Analysis Agents needing advanced database schema definition and management using SQLModel

Core Value

Empowers agents to define robust, type-safe, and async-compatible database schemas for Todo applications using SQLModel, ensuring compatibility with Better Auth and optimized for PostgreSQL, with full CRUD capability and relational mapping to Users

Capabilities Granted for sqlmodel-task-models

Defining database schemas for Todo applications with SQLModel
Ensuring compatibility with Better Auth for user authentication
Optimizing database performance for PostgreSQL

! Prerequisites & Limits

  • Requires SQLModel library
  • PostgreSQL database required
  • Compatibility limited to Better Auth authentication system
Project
SKILL.md
1.9 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

SQLModel Task Models

This skill providing guidance on defining a robust database schema using SQLModel for the Todo application.

Purpose

Defining a robust, type-safe, and async-compatible database schema for the Todo application using SQLModel, ensuring compatibility with Better Auth and optimized for PostgreSQL.

Capabilities

  • User Model: Schema aligned with Better Auth requirements.
  • Task Model: Full CRUD capability with relational mapping to Users.
  • Relational Integrity: Proper foreign key constraints and back-references.
  • Performance: Strategic indexing on user_id and completed fields.
  • Safety: Automated timestamp management (created_at, updated_at).

Implementation Details

Models Definition

python
1from sqlmodel import SQLModel, Field, Relationship 2from typing import List, Optional 3from datetime import datetime 4 5class User(SQLModel, table=True): 6 id: str = Field(primary_key=True) 7 email: str = Field(unique=True, index=True) 8 name: Optional[str] = None 9 created_at: datetime = Field(default_factory=datetime.utcnow) 10 tasks: List["Task"] = Relationship(back_populates="user") 11 12class Task(SQLModel, table=True): 13 id: Optional[int] = Field(default=None, primary_key=True) 14 user_id: str = Field(foreign_key="user.id", index=True) 15 title: str 16 description: Optional[str] = None 17 completed: bool = Field(default=False, index=True) 18 created_at: datetime = Field(default_factory=datetime.utcnow) 19 updated_at: datetime = Field(default_factory=datetime.utcnow) 20 user: Optional[User] = Relationship(back_populates="tasks")

Best Practices

  • Using table=True for models that map to database tables.
  • Explicitly defining indexes for fields used in WHERE clauses (e.g., user_id, completed).
  • Using datetime.utcnow for consistent cross-region timestamping.
  • Keeping user_id as a string to match Better Auth's UUID/ID format.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is sqlmodel-task-models?

Perfect for Python Analysis Agents needing advanced database schema definition and management using SQLModel SQLModel Task Models is a technique for defining Todo application database schema, providing type safety and async compatibility

How do I install sqlmodel-task-models?

Run the command: npx killer-skills add abdulahad139/Hackathon2_phase2/sqlmodel-task-models. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for sqlmodel-task-models?

Key use cases include: Defining database schemas for Todo applications with SQLModel, Ensuring compatibility with Better Auth for user authentication, Optimizing database performance for PostgreSQL.

Which IDEs are compatible with sqlmodel-task-models?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for sqlmodel-task-models?

Requires SQLModel library. PostgreSQL database required. Compatibility limited to Better Auth authentication system.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add abdulahad139/Hackathon2_phase2/sqlmodel-task-models. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use sqlmodel-task-models immediately in the current project.

Related Skills

Looking for an alternative to sqlmodel-task-models or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
Design

linear

Logo of lobehub
lobehub

Linear issue management. MUST USE when: (1) user mentions LOBE-xxx issue IDs (e.g. LOBE-4540), (2) user says linear, linear issue, link linear, (3) creating PRs that reference Linear issues. Provides

73.4k
0
Communication

testing

Logo of lobehub
lobehub

Testing guide using Vitest. Use when writing tests (.test.ts, .test.tsx), fixing failing tests, improving test coverage, or debugging test issues. Triggers on test creation, test debugging, mock setup

73.3k
0
Communication

zustand

Logo of lobehub
lobehub

Zustand state management guide. Use when working with store code (src/store/**), implementing actions, managing state, or creating slices. Triggers on Zustand store development, state management questions, or action implementation.

72.8k
0
Communication