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
Decision gist · record as of 2026-03-16
Laravel Specialist helps you build and maintain production-grade Laravel applications following framework conventions and best practices. 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.
Use it when
- Laravel Specialist explains that Eloquent ORM relationships—hasOne, hasMany, belongsTo, belongsToMany.
- Laravel Specialist covers implementing asynchronous workflows by creating dispatchable job classes that handle long-running tasks outside.
Verify before relying
Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.
Install
Pixel-Process-UG/superkit-agents/laravel-specialist · repository language: TypeScript
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
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
- Identify Laravel version (
composer.json->
(truncated - see the full file via the links below)
File tree — 1 file
templates/skills/laravel-specialist/SKILL.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Build or refactor a Laravel application following framework conventions”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Laravel Specialist guides you through building production-ready Laravel 10+ applications with type-safe Eloquent models, queue workers, API resources, and Livewire components. It enforces modern PHP 8.2+ patterns, eager loading, dependency injection, and >85% test coverage across feature and unit tests. Use it for architecting database schemas, implementing authentication flows, optimizing queries, and validating code against PSR-12 standards.
This skill guides you through hardening Laravel applications against common vulnerabilities. Learn to configure Sanctum and Passport for secure authentication, implement role-based access control with gates and policies, enforce HTTPS, manage sessions safely, and validate passwords against compromised databases.
Get expert guidance on Laravel 12.x application development, from foundational concepts like routing and database migrations to advanced patterns including Eloquent relationships, API design, and authentication with Sanctum. This skill covers the full development lifecycle—models, validation, queues, dependency injection, and best practices for building scalable web applications.
Standardized workflow for Laravel 11/12 development across API-only or full-stack setups, with guidance on stack detection, framework conventions, and integrated tooling. Covers Docker/Sail, frontend frameworks (Inertia+React, Livewire, Vue, Blade), testing with PHPUnit, code formatting with Pint, and Laravel Boost MCP utilities for documentation and debugging.
This skill guides you through a four-phase debugging methodology designed to eliminate guesswork when troubleshooting Laravel issues. By enforcing root cause investigation before any fix attempt, it helps you avoid symptom-masking patches that create new problems. The process covers log analysis, Laravel Telescope inspection, data flow tracing, pattern comparison, hypothesis testing, and test-driven implementation.
This skill teaches proven patterns for writing efficient Eloquent queries, from eager loading relationships to selecting only needed columns and using query scopes. Learn how to prevent common performance pitfalls like N+1 queries, implement mass assignment protection, and leverage database-level operations for faster data manipulation.
More skills laravel-patterns (MIT) · Testing (unlicensed) · laravel-best-practices (MIT) · Laravel Idioms (MIT) · php-rules (Apache-2.0) · laravel-dusk-skill (MIT) · livewire-development (MIT) · Laravel Dusk (unlicensed)