← スキル一覧に戻る

backend-models
by pdovhomilja
My portfolio - NextJS + TailwindCSS
⭐ 0🍴 0📅 2025年12月25日
SKILL.md
name: Backend Models description: Define and structure database models with proper naming conventions, data integrity constraints, and relationship definitions. Use this skill when creating or modifying database model files, defining table schemas, setting up model relationships (one-to-many, many-to-many, one-to-one), working with ORM model files (schema.prisma, models/, app/models/, entities/*), implementing data validation at the model level, adding timestamps and audit fields, defining foreign keys and indexes, choosing appropriate data types, configuring cascade behaviors, or balancing database normalization with query performance. Apply this skill when designing database schemas, creating new models, refactoring existing model structures, or reviewing data integrity and relationship configurations.
Backend Models
When to use this skill
- When creating or modifying database model files (e.g.,
schema.prisma,models/*,app/models/*,entities/*) - When defining table schemas and column data types
- When setting up model relationships (one-to-many, many-to-many, one-to-one)
- When adding database constraints (NOT NULL, UNIQUE, foreign keys, check constraints)
- When implementing timestamps (createdAt, updatedAt) and audit fields
- When choosing appropriate data types for columns based on data requirements
- When adding indexes on foreign keys and frequently queried fields
- When defining validation rules at the model or database level
- When configuring cascade behaviors for relationships (CASCADE, SET NULL, RESTRICT)
- When balancing database normalization with practical query performance needs
- When naming models following singular/plural conventions
- When reviewing data integrity and relationship definitions
This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle backend models.
Instructions
For details, refer to the information provided in this file: backend models
スコア
総合スコア
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
レビュー
💬
レビュー機能は近日公開予定です