laravel-eloquent

Community

Speed up Eloquent queries with relationships.

Authorbmadigan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers design and optimize Laravel Eloquent relationships, ensuring efficient data access and maintainable models.

Core Features & Use Cases

  • Explicit relationship return types: Enforces consistent API surfaces for models.
  • Eager loading strategies: Prevents N+1 queries with thoughtful loading patterns.
  • Scopes and query patterns: Promotes reusable, testable query logic across the app.
  • Use Case: Build a Post-Author-Comments system with clear relationships and efficient queries.

Quick Start

Use this Skill to implement an example User -> Post -> Comment relationship with eager loading and scopes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: laravel-eloquent
Download link: https://github.com/bmadigan/ask-my-doc/archive/main.zip#laravel-eloquent

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.