found 81 skills in registry
Write focused controller tests using HTTP assertions; keep heavy logic in Actions/Services and unit test them
Use interfaces and dependency injection to decouple code; bind implementations in the container
Build production-grade Laravel REST APIs using opinionated architecture patterns with Laravel best practices. Use when building, scaffoling, or reviewing Laravel APIs with specifications for stateless design, versioned endpoints, invokable controllers, Form Request DTOs, Action classes, JWT authentication, and PSR-12 code quality standards. Triggers on "build a Laravel API", "create Laravel endpoints", "add API authentication", "review Laravel API code", "refactor Laravel API", or "improve Larav
Use the Strategy pattern to select behavior at runtime; bind multiple implementations to a shared interface
Apply per-user and per-route limits with RateLimiter and throttle middleware; use backoffs and headers for clients
Wrap multi-write operations in transactions; use dispatchAfterCommit and idempotency patterns to ensure consistency
Prevent N+1 queries by eager loading; enable lazy-loading protection in non-production; choose selective fields
Use API Resources with pagination and conditional fields; keep response shapes stable and cache-friendly
Build with i18n in mind from day one using Laravel translation helpers, JSON files, Blade integration, and locale management
Remove unneeded Composer packages and assets to improve boot time, memory, and security surface
Replace hardcoded values with constants, enums, and configuration for maintainability; use PHP 8.1+ enums and config files
Use Laravel-specific vocabulary—Eloquent patterns, Form Requests, API resources, jobs/queues—to get idiomatic framework code
Keep routes clean and focused on mapping requests to controllers; avoid business logic, validation, or database operations in route files
Create effective debugging prompts—include error messages, stack traces, expected vs actual behavior, logs, and attempted solutions
Use framework caches and value/query caching to reduce work; add tags, locks, and explicit invalidation strategies for correctness
Safe database change patterns; when to modify vs add migrations; always pair models with migrations and factories; seeding guidance
Portable storage configuration across S3/R2/MinIO with optional CDN—env toggles, path-style endpoints, and URL generation
Stabilize workflows with Template Method or Strategy; extend by adding new classes instead of editing core logic
Process large datasets efficiently using chunk(), chunkById(), lazy(), and cursor() to reduce memory consumption and improve performance
Full method API, decision guides, pitfalls, and patterns for Laravel's Collection and LazyCollection. Use when choosing the right collection method, writing or reviewing collection pipelines, or working with large datasets via cursor/lazy. Triggers on collect(), Collection, LazyCollection, map, filter, reduce, pluck, groupBy, each, cursor, or fluent array transformations in Laravel.