← スキル一覧に戻る

sqlmodel-data-modeling
by MUmerRazzaq
⭐ 0🍴 0📅 2025年12月25日
SKILL.md
name: sqlmodel-data-modeling description: Guide for ORM-based data modeling with SQLModel. Use for defining database models, fields, constraints, relationships (1:N, N:M), inheritance, validators, and handling JSON fields and timestamps. Provides templates for User, Task, and Category models.
SQLModel Data Modeling
This skill provides guidance and code patterns for creating robust and efficient data models using SQLModel.
Workflow
- Define Basic Models: Start by defining the basic structure of your models. Refer to
references/model_definition.mdfor defining tables, fields, and constraints. It includes templates forUser,Task, andCategorymodels. - Establish Relationships: Define relationships between your models. See
references/relationships.mdfor patterns on creating one-to-many (1:N) and many-to-many (N:M) relationships. - Implement Advanced Patterns: For more complex scenarios, consult
references/advanced_patterns.md. This guide covers model inheritance, a base model with audit timestamp fields, computed properties, and handling of JSON data. - Add Validation: Implement data validation to ensure integrity. Examples of model validation using SQLModel's features are in
references/validation.md.
Always consult the relevant reference document for detailed code examples and best practices for each step.
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です