eloquent-audit

Community

Speed up Laravel Eloquent audits for performance.

Authorjonaaix
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Auditors and teams often miss Eloquent inefficiencies and misconfigurations, leading to N+1 queries and unnecessary data loading. This Skill provides a structured approach to analyze Eloquent usage across a Laravel project and deliver actionable recommendations.

Core Features & Use Cases

  • Scans controllers, services, Livewire components, tests, and API resources for eager loading opportunities and relationship misuse.
  • Flags missing casts, unsafe query patterns, and mass-assignment risks in models, improving data integrity and runtime performance.
  • Produces a consolidated findings report with concrete refactoring steps and best-practice guidance for common Eloquent scenarios.

Quick Start

Run the audit across your Laravel project to generate a findings report immediately.

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: eloquent-audit
Download link: https://github.com/jonaaix/laravel-livewire-base/archive/main.zip#eloquent-audit

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.