Use this skill when working with Eloquent models that include the \AnourValar\EloquentValidation\ModelTrait trait.
php artisan boost:add-skill anourvalar/eloquent-validation
Save this content to: .claude/skills/eloquent-model-update/SKILL.md
# Eloquent Validation: ModelTrait
## When to use this skill
Use this skill when working with Eloquent models that include the \AnourValar\EloquentValidation\ModelTrait trait.
## Features
- protected $trim -> trims attribute values on set.
- protected $nullable -> converts empty values to NULL on set.
- protected $computed -> attributes calculated inside the model or observer.
- protected $unchangeable -> attributes that cannot be changed for existing records.
- protected $unique -> list of sets of attributes that must be unique across records.
## REQUIRED when adding/changing model attributes
- Update localization attribute names in lang/*/models/<model>.php.
- Update OpenAPI schemas (light, heavy scopes) in resources/swagger/schemas/<model>_*.yaml [if exists].
Use this skill when working with Eloquent models that include the \AnourValar\EloquentValidation\ModelTrait trait.
protected $trim -> trims attribute values on set.
protected $nullable -> converts empty values to NULL on set.
protected $computed -> attributes calculated inside the model or observer.
protected $unchangeable -> attributes that cannot be changed for existing records.
protected $unique -> list of sets of attributes that must be unique across records.
Update localization attribute names in lang/*/models/.php.
Update OpenAPI schemas (light, heavy scopes) in resources/swagger/schemas/_*.yaml [if exists].
How can I help you explore Laravel packages today?