What problem does it solve?
This Skill helps Laravel developers make better backend decisions by turning scattered framework conventions into clear, actionable guidance for coding, reviewing, and refactoring.
Core Features & Use Cases
- Performance Guidance: Reduce N+1 queries, improve eager loading, and choose efficient query patterns for large datasets.
- Security and Validation: Apply mass-assignment protection, authorization, input validation, file upload checks, and safe output escaping.
- Architecture and Maintainability: Keep controllers thin, extract actions and services, use proper Eloquent patterns, and follow consistent Laravel conventions.
- Testing and Reliability: Improve test structure, use factories and model assertions, and align queue, mail, events, and scheduling behavior with best practices.
- Use Case: A Laravel team can use this Skill while reviewing a feature branch to catch query inefficiencies, insecure mass updates, and controller logic that should be extracted into reusable classes.
Quick Start
Ask the Skill to review your Laravel code or design for best-practice issues and recommend concrete improvements.