Laravel Best Practices
Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code.
Use Edge to load the skill laravel-best-practices from laravel/boost for my task. If Edge is not set up, read getedge.cc/SKILL.md and ask me first.
2 static scans, 0 counted findings.
Edge checks it again each time your agent loads it.
From the laravel public repository. Edge did not write or edit this skill.
What it does
- 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.
How it works
- 1Copy
Try for free gives you one prompt.
- 2Paste
Paste it into Claude Code, Codex or Cursor.
- 3Ask
Ask for the outcome. Your agent loads Laravel Best Practices.
Related skills
Laravel security best practices — authentication, authorization, Eloquent safety, CSRF, XSS prevention, API security, and secure deployment configurations. Use when reviewing Laravel auth, Eloquent safety, CSRF, XSS, API
Use when building PHP applications with modern PHP 8.3+ features, Laravel, or Symfony frameworks. Invokes strict typing, PHPStan level 9, async patterns with Swoole, and PSR standards. Creates controllers, configures mid
Add or modify WooCommerce backend PHP code following project conventions. Use when creating new classes, methods, hooks, or modifying existing backend code in WooCommerce projects.
Laravel testing strategies with PHPUnit, Pest, model factories, HTTP tests, Sanctum authentication testing, mocking, and coverage. Use when writing Laravel tests with PHPUnit or Pest, or driving a Laravel feature test-fi
No evidence record yet
No measured run with and without this skill yet, so this page makes no performance claim. 2 static scans, 0 counted findings. Security state at 2026-11-18: reviewed. Static scans check the code, not how well the skill works.
State definitionsSkill details
Security scansReviewed
2 static scans, 0 counted findings. Security state at 2026-11-18: reviewed. Edge checks it again each time your agent loads it.
Edge static checks (Edge-run): edge-static/1.0.2. Scope: Static patterns for remote execution, credentials with network sends, obfuscation, prompt overrides, hidden Unicode, binaries and persistence. Raw findings: not supplied.
Edge committed-secret checks (Edge-run): edge-secrets/1.0.0. Scope: Credentials committed in the skill's files (values never shown). Raw findings: not supplied.
Socket (skills.sh mirror): Version unavailable. Scope: Not supplied by the mirrored record. Raw findings: not supplied.
Snyk (skills.sh mirror): Version unavailable. Scope: Not supplied by the mirrored record. Raw findings: not supplied.
- Edge static checks
- Pass · 0 counted findings · 2026-11-18
- Edge committed-secret checks
- Pass · 0 counted findings · 2026-11-18
Creator, source & licencelaravel
From the laravel public repository. Edge did not write or edit this skill.
- Repository
- laravel/boost
- Skill file
- View source at revision
- Revision
- c0b668cd2d5e565507b5bd05ee71f8e322c660e7
- Package hash
- sha256:300bc6c44bb4da1fdbb1504cba29bbf40c6412d6bea4372ce0cebde4736d770a
- Licence
- MIT
- Description
- 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.
Quoted from the skill’s own description
Read skill files20 files
20 files, 72.6 KB at revision c0b668cd2d5e.
Questions about Laravel Best Practices
What does Laravel Best Practices do?
Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code. Published by laravel (laravel/boost).
Is Laravel Best Practices safe to use?
Edge security state: Reviewed (2 Edge-run static scans, scanned Nov 18, 2026). The Evidence tab shows the scan.
How do I use Laravel Best Practices in Claude Code, Codex or Cursor?
Click Try for free, pick your agent and follow its one step. Edge is free, with no Edge account.