Enforce Laravel Best Practices when generating code, reviewing code, and writing tests (SRP, skinny controllers, FormRequests, service/action classes, DRY, Eloquent/Collections, Blade query avoidance, eager loading, chunking).
Install with Tessl CLI
npx tessl i github:masterfermin02/laravel-agent-skill --skill laravel-best-practices73
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillValidation for skill structure
Laravel code review output format
JSON output file
100%
100%
Top-level summary field
40%
100%
Top-level findings array
40%
100%
Top-level tests field
0%
100%
rule_id in each finding
0%
100%
Evidence in each finding
70%
100%
Refactor steps in finding
80%
100%
VAL-001 flagged
0%
100%
CONF-001 flagged
100%
100%
MVC-001 or SRP-001 flagged
100%
100%
N+1 / eager loading flagged
100%
100%
AUTH-001 flagged
100%
100%
Without context: $0.2512 · 1m 49s · 6 turns · 7 in / 5,616 out tokens
With context: $0.5333 · 2m 22s · 14 turns · 13 in / 8,140 out tokens
Laravel feature generation conventions
File plan first
100%
100%
FormRequest created
100%
100%
FormRequest has authorize()
100%
100%
Service or Action class
100%
100%
Single public method
100%
100%
Policy for authorization
0%
80%
config() not env()
100%
100%
Controller naming
100%
100%
Eloquent firstOrCreate / updateOrCreate
28%
42%
Pest test syntax
100%
100%
Feature test included
100%
100%
Skinny controller
100%
100%
Without context: $0.5892 · 2m 31s · 20 turns · 20 in / 10,512 out tokens
With context: $1.3998 · 4m 10s · 40 turns · 41 in / 17,503 out tokens
Inertia React component conventions
Page in pages/
71%
100%
Page suffix convention
0%
100%
Default export for page
100%
100%
TypeScript props interface
100%
100%
useForm for invite
100%
100%
processing state used
100%
100%
usePage for auth user
100%
100%
Link for profile navigation
100%
100%
Function declaration components
100%
100%
One component per file
100%
100%
shadcn wrapper in common/
0%
100%
No barrel imports
100%
100%
Without context: $0.3114 · 1m 9s · 14 turns · 543 in / 4,637 out tokens
With context: $0.5684 · 1m 40s · 27 turns · 556 in / 5,992 out tokens
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.