ensi-models

Installation
SKILL.md

Ensi Models Skill

This skill helps you work with Eloquent models in Ensi projects following the project's established patterns and conventions.

Project Structure Understanding

Ensi uses Domain-Driven Design (DDD) with the following structure:

  • Models: app/Domain/{DomainName}/Models/
  • Factories: app/Domain/{DomainName}/Models/Tests/Factories/
  • All models extend Illuminate\Database\Eloquent\Model
  • All factories extend Ensi\LaravelTestFactories\BaseModelFactory

Key Patterns and Conventions

Model Patterns

  1. PHPDoc Annotations: Use PHPDoc for all properties with Russian descriptions
  2. Date Types: Use CarbonInterface for date fields
Related skills

More from ensi-platform/skills

Installs
8
GitHub Stars
1
First Seen
Mar 26, 2026