found 81 skills in registry
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
Stabilize workflows with Template Method or Strategy; extend by adding new classes instead of editing core logic
Select only required columns to reduce memory and transfer costs; apply to base queries and relations
Use the Strategy pattern to select behavior at runtime; bind multiple implementations to a shared interface
Refine AI-generated code through specific feedback—point out errors, identify gaps, show desired changes, reference style guides
Remove unneeded Composer packages and assets to improve boot time, memory, and security surface
Write focused controller tests using HTTP assertions; keep heavy logic in Actions/Services and unit test them
Keep routes clean and focused on mapping requests to controllers; avoid business logic, validation, or database operations in route files
Create and register small, pure helper functions when they improve clarity; keep them organized and tested
Process large datasets efficiently using chunk(), chunkById(), lazy(), and cursor() to reduce memory consumption and improve performance
Safe database change patterns; when to modify vs add migrations; always pair models with migrations and factories; seeding guidance
Use API Resources with pagination and conditional fields; keep response shapes stable and cache-friendly
Prevent N+1 queries by eager loading; enable lazy-loading protection in non-production; choose selective fields
Portable storage configuration across S3/R2/MinIO with optional CDN—env toggles, path-style endpoints, and URL generation
Replace hardcoded values with constants, enums, and configuration for maintainability; use PHP 8.1+ enums and config files
Use interfaces and dependency injection to decouple code; bind implementations in the container
Build with i18n in mind from day one using Laravel translation helpers, JSON files, Blade integration, and locale management
Reduce controller bloat using Form Requests for auth/validation, small Actions/Services with DTOs, and resource/single-action controllers
Unified quality gates for Laravel projects; Pint, static analysis (PHPStan/Psalm), Insights (optional), and JS linters; Sail and non-Sail pairs provided
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.