skillfed

laravel-specialist

Laravel Specialist guides you through designing and maintaining Laravel applications at production scale. It covers the full ecosystem—Eloquent relationships and query optimization, Blade and Livewire components, queue systems, middleware pipelines, and Pest testing—with a structured five-phase process from context discovery through optimization.

Laravel Specialist helps you build and maintain production-grade Laravel applications following framework conventions and best practices.

AI-generated summary based on this skill's SKILL.md

1 0 MIT updated by Pixel-Process-UG

Install

Pixel-Process-UG/superkit-agents/laravel-specialist · repository language: TypeScript

git clone https://github.com/Pixel-Process-UG/superkit-agents
cp -r superkit-agents/templates/skills/laravel-specialist ~/.claude/skills/laravel-specialist
npx skillfed install Pixel-Process-UG/superkit-agents/laravel-specialist

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I build a Laravel app from scratch?

Laravel Specialist walks you through building a Laravel application from scratch by starting with context discovery—understanding your domain, data model, and user workflows. The skill guides you through scaffolding the project structure following framework conventions, setting up migrations and schema design, creating Eloquent models with relationships, and configuring service providers. You'll learn to establish middleware pipelines, authentication flows, and authorization policies before moving into feature implementation and testing with Pest.

What are Eloquent ORM relationships and how do I use them?

Laravel Specialist explains that Eloquent ORM relationships—hasOne, hasMany, belongsTo, belongsToMany, and polymorphic variants—let you define how your models connect. The skill teaches you to declare relationships on model classes, use eager loading to avoid N+1 query problems, apply query scopes for reusable filters, and leverage relationship methods for clean data access. You'll learn when to use each relationship type and how to optimize queries through select(), with(), and other performance techniques.

How do I implement asynchronous workflows with Laravel queues and jobs?

Laravel Specialist covers implementing asynchronous workflows by creating dispatchable job classes that handle long-running tasks outside the request cycle. The skill shows you how to configure queue drivers, dispatch jobs with delay or batching, listen for job events, and chain jobs together. You'll learn to use event listeners for async workflows, monitor queues with Horizon, handle job failures and retries, and structure your application so that email sending, image processing, and other heavy operations don't block user requests.

What testing approach does Laravel Specialist recommend with Pest?

Laravel Specialist guides you through writing comprehensive tests with Pest at both unit and feature layers. The skill teaches you to structure test files, use Pest's fluent syntax for assertions, mock dependencies, test HTTP endpoints and database interactions, and validate authorization policies. You'll learn to organize tests by intent, use factories and seeders for test data, and integrate Pest into your development workflow to catch regressions early and document expected behavior.

How do I configure authentication, middleware, and authorization?

Laravel Specialist explains authentication setup using Laravel Sanctum or Passport, middleware configuration for request pipelines, and policy-based authorization. The skill shows you how to register middleware in HTTP kernels, create custom middleware for cross-cutting concerns, define authorization policies tied to models, and use gates for simple checks. You'll learn to protect routes, validate requests with form requests, and structure your security layer following Laravel conventions.

What Laravel anti-patterns should I avoid?

Laravel Specialist identifies anti-patterns to avoid: N+1 queries without eager loading, fat controllers mixing business logic with HTTP concerns, missing scopes on Eloquent queries, hardcoded configuration values, inadequate test coverage, and ignoring service provider organization. The skill teaches you to move logic into models and services, use repository patterns when appropriate, leverage middleware for cross-cutting concerns, and maintain clean separation of concerns. Following these guidelines keeps your application maintainable at production scale.

SKILL.md

rendered from the published skill — quoted content, verbatim

Laravel Specialist

Overview

Design, build, and maintain production-grade Laravel applications following the framework's conventions and best practices. This skill covers the full Laravel ecosystem: Eloquent ORM with advanced relationship patterns, Blade templating and Livewire interactivity, queue and event systems, middleware pipelines, service providers, Pest testing at every layer, and Artisan tooling for migrations, seeders, and factories.

Apply this skill whenever Laravel is the application framework, whether greenfield or brownfield.

Multi-Phase Process

Phase 1: Context Discovery
  1. Identify Laravel version (composer.json ->

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 1 file
templates/skills/laravel-specialist/SKILL.md

Related skills

Tags

full-stack-framework orm-patterns server-side-rendering job-queuing authorization-layer database-migrations real-time-components testing-framework