laravel:performance-eager-loading
CommunityOptimize Laravel queries, prevent N+1.
Authormeistro57
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the performance issue of N+1 database queries in Laravel applications, which can significantly slow down your application by making excessive database calls.
Core Features & Use Cases
- N+1 Query Prevention: Ensures relationships are loaded efficiently using eager loading.
- Lazy Loading Protection: Guards against accidental lazy loading in non-production environments.
- Selective Field Loading: Allows specifying only the necessary columns to reduce data transfer.
- Use Case: When displaying a list of posts and their authors, this skill ensures that all authors are fetched in a single query instead of one query per post.
Quick Start
Use the laravel:performance-eager-loading skill to optimize the loading of post authors in your Laravel application.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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:performance-eager-loading Download link: https://github.com/meistro57/chat_bridge/archive/main.zip#laravel-performance-eager-loading Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.