
Laravel Best Practices
This is a comprehensive ruleset covering 31 Laravel 13 conventions across architecture, Eloquent, controllers, validation, and security. It's built for when you're scaffolding new features or refactoring existing code and want Claude to follow modern Laravel patterns like service classes, form requests, resource controllers, and proper eager loading. The guide includes Laravel 13 specifics like queue routing and vector search support. Best used as a reference during active development rather than a learning resource. The rules are categorized by priority, so you know which patterns are critical (architecture, database) versus nice to have (performance, API design). Solid for teams wanting consistent Laravel conventions without writing their own style guide.
- skills.sh installs
- 2.4K
- GitHub stars
- 102
- last updated
- Aug 21, 2026
Install
$ npx -y skills add asyrafhussin/agent-skills --skill laravel-best-practices --agent claude-codeInstalls into .claude/skills of the current project.
Files
Laravel 13 Best Practices
Comprehensive best practices guide for Laravel 13 applications. Contains 31 rules across 7 categories for building scalable, maintainable Laravel applications.
When to Apply
Reference these guidelines when:
- Creating controllers, models, and services
- Writing migrations and database queries
- Implementing validation and form requests
- Building APIs with Laravel
- Structuring Laravel applications
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Architecture & Structure | CRITICAL | arch- |
| 2 | Eloquent & Database | CRITICAL | eloquent- |
| 3 | Controllers & Routing | HIGH | controller-, ctrl- |
| 4 | Validation & Requests | HIGH | validation-, valid- |
| 5 | Security | HIGH | sec- |
| 6 | Performance | MEDIUM | perf- |
| 7 | API Design | MEDIUM | api- |
Quick Reference
1. Architecture & Structure (CRITICAL)
Sponsors
Details
- Repository
- github.com/asyrafhussin/agent-skills
- Categories
- Backend & APIs, Code Review & Quality, AI & Agent Building, PHP & Laravel, Databases
- First seen
- Apr 16, 2026
More from asyrafhussin/agent-skills
All 14- Laravel Inertia React2K
- Clean Code Principles1.9K
- Typescript React Patterns1.1K
- Laravel Database Optimization1.1K
- Laravel Owasp Security1.1K
- Tailwind Best Practices1K
- Api Design Patterns984
- Testing Best Practices957
- Web Design Guidelines948
- Git Workflow890
- State Management834
- Php Best Practices3.8K
- React Vite Best Practices3K