scaffold-model

Installation
SKILL.md

Laravel Model Scaffold Skill

Use this skill to create or modify Eloquent Models.

Rules

1. Structure

  • Strict Types: Always declare(strict_types=1);.
  • Final: Models should be final unless they are explicitly designed for inheritance.
  • Fillable: Prefer $fillable over $guarded for explicit security.

2. Modern Casting (Laravel 12)

  • Use the casts(): array method (Laravel 11+), NOT the $casts property.
  • Use Enums for status columns and native types.
Installs
3
GitHub Stars
31
First Seen
Jan 24, 2026
scaffold-model — iurygdeoliveira/labsis-kit