Skill / SKILL.md

Laravel Best Practices

laravel/boost

Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code. This includes creating or modifying controllers, models, migrations, form requests, policies, jobs, scheduled commands, service classes, and Eloquent queries. Triggers for N+1 and query performance issues, caching strategies, authorization and security patterns, validation, error handling, queue and job configuration, route definitions, and architectural decisions. Also use for Laravel code reviews and refactoring existing Laravel code to follow best practices. Covers any task involving Laravel backend PHP code patterns.
2 views 3,698 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code. This includes creating or modifying controllers, models, migrations, form requests, policies, jobs, scheduled commands, service classes, and Eloquent queries. Triggers for N+1 and query performance issues, caching strategies, authorization and security patterns, validation, error handling, queue and job configuration, route definitions, and architectural decisions. Also use for Laravel code reviews and refactoring existing Laravel code to follow best practices. Covers any task involving Laravel backend PHP code patterns.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/laravel/boost' skill-source

Use the complete skill-source/.ai/laravel/skill/laravel-best-practices directory with your client’s skill installer.

  • .ai/laravel/skill/laravel-best-practices

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory .ai/laravel/skill/laravel-best-practices

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
fe04185c0b3578a2f9bec20eb734719db1051a58f0efe2d66278f68a3e48a636
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills