CtrlK
BlogDocsLog inGet started
Tessl Logo

laravel-best-practices

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.

87

1.04x
Quality

89%

Does it follow best practices?

Impact

76%

1.04x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Evaluation results

92%

2%

Performant Blog Post Listing

Laravel N+1 query optimization for blog listing page

Criteria
Without this skill
With this skill

preventLazyLoading configured

85%

100%

withCount for comments

100%

100%

Eager load author

100%

100%

Eager load category

100%

100%

Constrained author eager load

100%

100%

Constrained eager load retains id

100%

100%

Posts query omits body column

100%

100%

Foreign keys retained in posts select

100%

100%

No queries in Blade template

100%

100%

Deterministic sort order

100%

100%

Unique sort tie-breaker

0%

0%

Failed

Queue job reliability patterns for external CRM sync

60%

3%

User Profile Update API

Secure user profile update endpoint

Criteria
Without this skill
With this skill

Form request class

100%

100%

Array validation syntax

100%

100%

Ownership authorization

100%

40%

Validated data passed to model

100%

100%

Fillable protection

100%

100%

Implicit route model binding

0%

0%

Resource route declaration

0%

0%

Combined-key rate limiter

0%

0%

Typed request accessors

0%

0%

Encrypted cast for phone

100%

100%

Phone hidden from serialization

100%

100%

Text column for encrypted phone

0%

100%

Repository
laravel/boost
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

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.