スキル一覧に戻る
FlorianRiquelme

backend-models

by FlorianRiquelme

0🍴 0📅 2025年10月31日
GitHubで見るManusで実行

SKILL.md


name: Backend Models description: Design and implement database models following best practices with clear singular naming, proper timestamps, appropriate data types, database constraints, relationship definitions, and validation at multiple layers. Use this skill when creating new Eloquent models, defining model relationships (hasMany, belongsTo, etc.), adding fillable or guarded properties, implementing model casts for attributes, defining database constraints and foreign keys, or working with model factories and seeders. This skill applies when working on files in app/Models/ directory, creating model classes, defining table structures, or implementing model accessors and mutators.

Backend Models

When to use this skill

  • When creating new Eloquent models for database tables
  • When defining model relationships (hasMany, belongsTo, belongsToMany, hasOne, etc.)
  • When adding fillable or guarded properties to control mass assignment
  • When implementing model casts for attributes (dates, JSON, enums, etc.)
  • When defining database constraints (NOT NULL, UNIQUE, foreign keys)
  • When working with model factories for testing or seeding
  • When working on files in app/Models/ directory
  • When creating model classes or updating existing models
  • When implementing model accessors and mutators
  • When defining custom model methods or scopes
  • When choosing appropriate data types for model properties
  • When implementing model validation logic

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

レビュー

💬

レビュー機能は近日公開予定です