What problem does it solve?
This Skill helps you write, review, and refactor Laravel code with consistent best practices, reducing bugs, performance issues, and security mistakes across backend development.
Core Features & Use Cases
- Database performance: Prevent N+1 queries, add efficient eager loading, and choose better query patterns for large datasets.
- Security and validation: Enforce mass assignment protection, authorization, form requests, CSRF, and safe file upload handling.
- Architecture and maintainability: Keep controllers thin, extract actions and services, and follow Laravel conventions for models, routing, caching, queues, and testing.
- Use case: A developer preparing a feature for production can use this Skill to review controllers, models, migrations, Blade views, and jobs for correctness and long-term maintainability.
Quick Start
Ask the skill to review or refactor a Laravel file and apply the most relevant best-practice guidance from this skill.