laravel-specialist

Build and configure Laravel 10+ applications with Eloquent models, Sanctum authentication, Horizon queues, and Livewire interfaces.

Updated Jan 19, 2026
One-click install
npx skills add https://github.com/Reshzy/AgricultureRMS --skill laravel-specialist-reshzy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: laravel-specialist
Source: https://github.com/Reshzy/AgricultureRMS/tree/main/.cursor/skills/laravel-specialist
Command: npx skills add https://github.com/Reshzy/AgricultureRMS --skill laravel-specialist-reshzy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provides a structured, production-ready workflow and templates to build and configure Laravel 10+ applications quickly and reliably, reducing time spent on boilerplate, incorrect patterns, and fragile implementations across models, APIs, queues, auth, and UI components.

Core Features & Use Cases

  • Eloquent modelling: Opinionated model, migration, cast and relationship patterns with guidance to avoid N+1 issues and apply scopes and custom casts.
  • APIs & routing: Design API resources, route patterns, controllers and validated form requests for consistent, versioned REST endpoints.
  • Auth, queues & background work: Implement Sanctum authentication flows, configure Horizon and queue workers, and design idempotent queued jobs with retry/backoff strategies.
  • Reactive interfaces & testing: Build Livewire components and Blade templates, and accompany every feature with Pest/PHPUnit tests and factories to target >85% coverage.
  • Validation & standards: Enforces PHP 8.2+ features, PSR-12 coding style, dependency injection, and checkpoint commands for migrations, routing, jobs and tests.

Quick Start

Create a posts feature by scaffolding Eloquent models and relationships, protect API routes with Sanctum, dispatch a publish job to Horizon, build a Livewire interface, and add Pest feature tests to validate behavior.

Frequently Asked Questions about laravel-specialist

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

FAQPage Schema
What is the best way to build Laravel APIs with Sanctum authentication?▼

Design RESTful APIs with Sanctum authentication by scaffolding API resources, route patterns, and validated form requests to ensure consistent, secure endpoints.

How do I avoid N+1 query problems when configuring Eloquent models?▼

Avoid N+1 queries by applying eager loading patterns within Eloquent model relationships, utilizing custom casts and scopes to optimize database access.

How do I configure Horizon queues for long-running tasks in Laravel?▼

Configure Horizon queues by designing idempotent queued jobs with retry and backoff strategies, dispatching long-running tasks to background workers for reliable processing.

Can I use Livewire components while maintaining PSR-12 coding standards in PHP 8.2+?▼

Yes, you can build Livewire components and Blade templates while enforcing PHP 8.2+ features, PSR-12 coding style, and dependency injection to maintain strict standards.

How do I write Pest tests to achieve high coverage for Laravel features?▼

Write Pest or PHPUnit tests using factories to validate Livewire and API behavior, targeting test coverage above 85% for all Laravel application features.

Does this Laravel workflow require specific dependencies for routing and validation?▼

No external dependencies are required; the workflow uses native Laravel routing, dependency injection, and validated form requests to enforce migration and routing checkpoints.