What problem does it solve?
This Skill helps teams write, review, and refactor Laravel code with consistent, production-ready practices, reducing bugs, N+1 queries, security gaps, and architectural drift.
Core Features & Use Cases
- Database and Eloquent guidance: Improves query performance, relationship loading, indexing, and reusable model patterns.
- Security and validation guardrails: Reinforces authorization, mass assignment safety, input validation, file upload checks, and secret handling.
- Architecture and workflow support: Guides routing, controllers, jobs, caching, scheduling, testing, error handling, and Blade conventions.
- Use case: Refactor a Laravel controller, migration, or query-heavy feature to match the codebase’s existing style while applying best-practice defaults where patterns are missing.
Quick Start
Review the Laravel code I provide and refactor it to follow the most relevant best practices for performance, security, validation, and maintainability.