Skill / SKILL.md

Laravel Eloquent

Foysal50x/skills

Eloquent and query-layer engineering rules for Laravel — eliminating N+1, choosing a pagination strategy, short atomic transactions, casts and scopes on the model, where raw SQL is allowed, and how migrations declare the schema those queries depend on. Use when writing or reviewing Eloquent models, migrations, query classes, repositories, exports or reporting queries, or when a Laravel endpoint is slow, leaking memory, or returning wrongly-typed columns.
1 views 12 repository starsUpdated Nov 27, 2026
Overview

Eloquent and query-layer engineering rules for Laravel — eliminating N+1, choosing a pagination strategy, short atomic transactions, casts and scopes on the model, where raw SQL is allowed, and how migrations declare the schema those queries depend on. Use when writing or reviewing Eloquent models, migrations, query classes, repositories, exports or reporting queries, or when a Laravel endpoint is slow, leaking memory, or returning wrongly-typed columns.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/Foysal50x/skills' skill-source

Use the complete skill-source/skills/laravel-eloquent directory with your client’s skill installer.

  • skills/laravel-eloquent

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/laravel-eloquent

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
50 included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
c7b2fc7161d52ab118341953990461bca5b10cac542d6505f2015686e407c6f6
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills