ensi-models

Create and maintain Eloquent models with factories and migrations in Laravel.

1|2|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/ensi-platform/skills --skill ensi-models
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ensi-models
Source: https://github.com/ensi-platform/skills/tree/main/skills/ensi-models
Command: npx skills add https://github.com/ensi-platform/skills --skill ensi-models

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating, modifying, and working with Eloquent models in Ensi projects, ensuring adherence to project standards and best practices.

Core Features & Use Cases

  • Model Creation: Automates the generation of models, factories, and migrations.
  • Relationship Management: Facilitates the addition of typed relationships and scopes.
  • Data Validation: Enforces code style and type safety.
  • Use Case: When you need to create a new Eloquent model that interacts with a database in an Ensi project, this skill provides the necessary tools and guidelines to do so efficiently.

Quick Start

Generate a new model with a factory and migration for the 'User' entity.

Frequently Asked Questions about ensi-models

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create Eloquent models with factories and migrations in Laravel?

To create Eloquent models efficiently, this Skill automates the generation of models, factories, and migrations while enforcing project standards and type safety for Laravel applications.

What is the best way to manage Eloquent model relationships in Ensi projects?

Managing Eloquent model relationships involves facilitating the addition of typed relationships and scopes. This Skill ensures adherence to best practices for relationship definitions within the Ensi ecosystem.

Can I use this for database design and code generation in standard Laravel applications?

Yes, this Skill handles database design and code generation by managing model definitions and migrations, ensuring code style and type safety are enforced during model creation and maintenance.

How do I enforce code style and type safety when modifying Eloquent models?

Enforcing code style and type safety during Eloquent model modification is handled natively by the Skill. It validates data and maintains project standards across all generated model definitions.

What are the limitations of automated model management for Laravel?

Automated model management limitations center on its specialized scope: it is tailored specifically for the Ensi ecosystem and Laravel Eloquent usage, meaning standard non-Ensi workflows may not fully apply.