laravel-specialist

Implement Laravel 10+ backends with Eloquent models, RESTful APIs, queued jobs, and tests.

1|Updated May 16, 2026
One-click install
npx skills add https://github.com/enigmaicon-eng/AI-Enterprise-OS --skill laravel-specialist-enigmaicon-eng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel-specialist
Source: https://github.com/enigmaicon-eng/AI-Enterprise-OS/tree/main/examples/claude-skills/skills/laravel-specialist
Command: npx skills add https://github.com/enigmaicon-eng/AI-Enterprise-OS --skill laravel-specialist-enigmaicon-eng

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you implement Laravel 10+ backend features correctly and efficiently, reducing bugs and rework by enforcing best practices for models, queues, APIs, and testing.

Core Features & Use Cases

  • Eloquent modeling & performance: Create models, relationships, scopes, casts, and avoid N+1 problems through proper eager loading.
  • Queue-based execution: Implement deterministic queued jobs for long-running tasks with clear failure handling.
  • API and UI feature delivery: Build RESTful endpoints with API resources and reactive interfaces using Livewire, backed by thorough automated tests.
  • Use case: When you need to ship a Laravel feature that creates domain models, exposes them via a JSON API, queues expensive work, and ensures correctness with high-coverage tests.

Quick Start

Use the laravel-specialist skill to implement a Laravel 10+ feature by defining your Eloquent models and relationships, exposing them through API resources, dispatching any long-running work to queues, and finishing with a test suite that targets over 85% coverage.

Frequently Asked Questions about laravel-specialist

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

FAQPage Schema
How do I implement a Laravel API with Eloquent models and API resources?

To implement a Laravel API, you define Eloquent models with relationships and optimized queries, then expose them through RESTful endpoints using controllers and API resources. This approach ensures strict PHP 8.2+ typing, PSR-12 compliance, and validation-first request handling for robust JSON responses.

What's the best way to handle long-running tasks in Laravel without blocking requests?

The best way to handle long-running Laravel tasks is dispatching them as queued jobs. This Skill implements deterministic queued jobs backed by Horizon workers, ensuring clear failure handling and keeping your application responsive while processing expensive work asynchronously.

How do I avoid N+1 query problems when building Eloquent relationships in Laravel?

To avoid N+1 query problems in Laravel, you must apply proper eager loading when defining Eloquent relationships. This Skill enforces safe query practices by structuring models, scopes, and casts with optimized queries to prevent performance bottlenecks during data retrieval.

Does this approach support building reactive UI components with Livewire?

Yes, this approach supports building reactive UI components with Livewire. It delivers reactive interfaces by wiring them to your Laravel backend, ensuring features are backed by thorough automated tests using Pest or PHPUnit to validate UI and domain logic integration.

How does Sanctum-based authentication flow integrate with Laravel API routing?

Sanctum-based authentication integrates with Laravel API routing by configuring authentication flows alongside API versioning. This Skill applies service-layer and dependency injection structures to secure RESTful endpoints, ensuring strict PHP 8.2+ typing and comprehensive automated test coverage for the auth flow.

What testing coverage should I target when implementing Laravel features?

You should target over 85% testing coverage when implementing Laravel features. This Skill ensures correctness by delivering feature and unit tests using Pest or PHPUnit, validating Eloquent models, API resources, queued jobs, and Livewire components comprehensively to reduce bugs and rework.