home/categories/backend/hoangnguyen0403-agent-skills-standard-skills-laravel-laravel-eloquent-skill-md
backenddevelopment

laravel-eloquent

Write performant Eloquent queries with eager loading, reusable scopes, and strict lazy-loading prevention in Laravel. Use when defining model relationships, creating query scopes, or processing large datasets with chunk/cursor. (triggers: app/Models/**/*.php, scope, with, eager, chunk, model)

HoangNguyen0403
maintainer
HoangNguyen0403
Updated 3/25/2026
Stars
389
Forks
108
quick start

Installation and usage

Write performant Eloquent queries with eager loading, reusable scopes, and strict lazy-loading prevention in Laravel. Use when defining model relationships, creating query scopes, or processing large datasets with chunk/cursor. (triggers: app/Models/**/*.php, scope, with, eager, chunk, model)

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use laravel-eloquent