laravel-specialist

Implement Laravel backend features with Eloquent, queues, Livewire, and tests.

Updated Mar 17, 2026
One-click install
npx skills add https://github.com/Estom/aiflex --skill laravel-specialist-estom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel-specialist
Source: https://github.com/Estom/aiflex/tree/main/skills-repo/Jeffallan-skills/laravel-specialist
Command: npx skills add https://github.com/Estom/aiflex --skill laravel-specialist-estom

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Many teams struggle to implement maintainable, secure, and production-ready Laravel backends that follow modern PHP 8.2 patterns, correct Eloquent usage, efficient queueing, and comprehensive tests; this Skill provides prescriptive guidance, templates, and constraints to close that gap and reduce architecture mistakes.

Core Features & Use Cases

  • Eloquent & Data Modeling: Patterns for models, relationships, casts, scopes, custom casts, and query optimization to avoid N+1 problems.
  • APIs, Routing & Resources: Best practices for API resources, controllers, route patterns, form requests, and response shaping for consistent endpoints.
  • Queues & Background Processing: Job patterns, batching, rate limiting, Horizon configuration, and failure handling for reliable async work.
  • Livewire & UX Integration: Component patterns, file uploads, pagination, and real-time validation for reactive interfaces.
  • Testing & CI-readiness: Feature and unit test examples using Pest/PHPUnit, factories, mocking, and guidance to target >85% coverage.
  • Real-world Example: Use this Skill to design a blog feature that includes typed Eloquent models, migrations, API endpoints, queued image processing, Livewire admin UI, and full test coverage.

Quick Start

Create a Laravel 10 Post feature with an Eloquent model, migration, controller and API resource, a queued ProcessPost job with Horizon configuration, Livewire admin components, and Pest/PHPUnit tests ensuring eager loading and type-hinted PHP 8.2 code.

Frequently Asked Questions about laravel-specialist

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent N+1 query problems in Laravel Eloquent models?

To prevent N+1 query problems in Laravel Eloquent, use eager loading with the `with()` method when retrieving models. This Skill provides patterns and constraints for optimizing Eloquent relationships and queries to ensure efficient data retrieval in production-grade applications.

Does this Skill support setting up Laravel Horizon for queued jobs?

Yes, this Skill supports Laravel Horizon setup for queued jobs. It provides prescriptive guidance for job patterns, batching, rate limiting, and failure handling to ensure reliable asynchronous background processing in Laravel applications.

How do I build a Laravel API resource with type-hinted PHP 8.2 controllers?

You build a Laravel API resource by defining type-hinted PHP 8.2 controllers and using API resource classes for consistent response shaping. This Skill offers templates for routing, form requests, and endpoint creation.

What's the best way to structure Livewire components for a Laravel admin panel?

The best way to structure Livewire components for a Laravel admin panel is using component patterns that handle file uploads, pagination, and real-time validation. This Skill provides reactive interface templates for building production-ready Livewire integrations.

Can I use Pest for Laravel testing to achieve over 85% code coverage?

Yes, you can use Pest for Laravel testing to achieve over 85% code coverage. This Skill includes feature and unit test examples using Pest/PHPUnit alongside factories and mocking to ensure comprehensive CI-ready test coverage.

What are the requirements for building Laravel 10+ backend features with this Skill?

Building Laravel 10+ backend features with this Skill requires a PHP 8.2+ environment. It targets scalable applications needing type-hinted code, Eloquent relationships, queue configuration, and comprehensive tests for production readiness.