sqlmodel-task-models — community sqlmodel-task-models, Hackathon2_phase4, abdulahad139, community, ai agent skill, ide skills, agent automation, AI agent skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Python Backend Agents needing robust database schema definition for Todo applications using SQLModel and PostgreSQL. This skill should be used when defining a robust, type-safe, and async-compatible database schema for the Todo application using SQLModel, ensuring compatibility with Better Auth and optimized for Pos

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_phase4/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.

Ideal Agent Persona

Perfect for Python Backend Agents needing robust database schema definition for Todo applications using SQLModel and PostgreSQL.

Core Value

Empowers agents to define type-safe and async-compatible database schemas with full CRUD capability, relational mapping, and compatibility with Better Auth, leveraging SQLModel and optimized for PostgreSQL.

Capabilities Granted for sqlmodel-task-models

Defining robust database schemas for Todo applications
Implementing User and Task models with relational integrity
Ensuring compatibility with Better Auth and PostgreSQL optimization

! Prerequisites & Limits

  • Requires SQLModel and PostgreSQL setup
  • Specifically designed for Todo applications
  • PostgreSQL optimization may require additional configuration
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 Backend Agents needing robust database schema definition for Todo applications using SQLModel and PostgreSQL. This skill should be used when defining a robust, type-safe, and async-compatible database schema for the Todo application using SQLModel, ensuring compatibility with Better Auth and optimized for Pos

How do I install sqlmodel-task-models?

Run the command: npx killer-skills add abdulahad139/Hackathon2_phase4/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 robust database schemas for Todo applications, Implementing User and Task models with relational integrity, Ensuring compatibility with Better Auth and PostgreSQL optimization.

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 and PostgreSQL setup. Specifically designed for Todo applications. PostgreSQL optimization may require additional configuration.

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_phase4/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