laravel-specialist

Guide Laravel 10+ application architecture with Eloquent, API resources, queues, and Livewire.

9|2|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/stephanj/claude-code-collections --skill laravel-specialist-stephanj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel-specialist
Source: https://github.com/stephanj/claude-code-collections/tree/main/skills/laravel-specialist
Command: npx skills add https://github.com/stephanj/claude-code-collections --skill laravel-specialist-stephanj

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill addresses the complexity of maintaining high-quality standards in Laravel 10+ development, preventing common pitfalls like N+1 query issues and insecure data handling.

Core Features & Use Cases

  • Eloquent Optimization: Provides patterns for efficient database interactions, eager loading, and custom casts.
  • Modern Architecture: Guides the implementation of service layers, API resources, and robust queue systems.
  • Use Case: When building a complex API, use this skill to ensure your Eloquent models, API resources, and background jobs follow PSR-12 standards and maintain high test coverage.

Quick Start

Use the laravel-specialist skill to generate a new Eloquent model with relationships and a corresponding API resource for the User entity.

Frequently Asked Questions about laravel-specialist

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

FAQPage Schema
How do I fix N+1 query issues in Laravel Eloquent?

To fix N+1 query issues in Laravel Eloquent, use eager loading patterns to optimize database interactions. This skill provides architectural guidance for efficient query execution and custom casts to prevent performance bottlenecks.

What is the best way to structure a scalable Laravel 10 API?

The best way to structure a scalable Laravel 10 API is by implementing service layers and API resource transformations. This skill guides you in building robust API resources, managing queue systems, and ensuring high-coverage testing.

Can I use Livewire components with PHP 8.2 in Laravel 10+?

Yes, you can use Livewire components with PHP 8.2 in Laravel 10+. This skill provides implementation patterns for Livewire component development while ensuring adherence to PSR-12 standards and security best practices.

How do I ensure my Laravel application follows PSR-12 standards?

To ensure your Laravel application follows PSR-12 standards, apply architectural guidance for PHP 8.2+ development. This skill enforces PSR-12 adherence alongside security best practices and high-coverage testing strategies for robust code.

Does this Laravel skill help with queue system management and testing?

Yes, this Laravel skill helps with queue system management and testing by providing patterns for robust background jobs. It ensures your queue systems maintain high test coverage and follow secure data handling practices.