
laravel-best-practices
Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code
by laravelFree
Description
laravel-best-practices is an agent skill for writing, reviewing and refactoring Laravel PHP code, including controllers, models, migrations and forms. It is an index of rule files, and each rule explains what to do and why. Its first principle is consistency. Before applying any rule, the agent checks what the application already does, and it follows the established pattern in sibling files, related controllers, models and tests, rather than introducing a second way of doing the same job. The rules are defaults for when no pattern exists yet. The agent maps each affected concern to the rule index, reads each mapped rule before editing, and makes the smallest coherent change. Version-sensitive Laravel APIs are checked against the installed version with a search-docs tool, or by inspecting the installed framework. The skill recommends running the narrowest relevant tests first, then formatting and static analysis, and re-reading the diff against every mapped rule. It is from the laravel/boost project and is listed on skills.sh.…
Highlights
- Laravel rules for controllers, models and migrations
- Follows the application's existing patterns
- Checks version-sensitive APIs against the installed version
- Runs narrow tests before wider checks
Ratings & Reviews
No ratings yet
Be the first to rate laravel-best-practices.
People also visit

laravel-verification
Verification loop for Laravel projects: env checks, linting, static analysis
laravel-best-practices FAQ
What does laravel-best-practices cover?
Writing, reviewing and refactoring Laravel code, with rules for controllers, models, migrations and forms.
Does it override my project's patterns?
No. The skill says to follow the codebase's established patterns, and its rules are only defaults where no pattern exists.
How do I install it?
Run: npx skills add https://github.com/laravel/boost --skill laravel-best-practices
Which security audits did it pass?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best laravel-best-practices alternatives?
Popular alternatives to laravel-best-practices include laravel-patterns, laravel-verification and laravel-specialist. See all laravel-best-practices alternatives













