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.

84

1.04x
Quality

85%

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

Quality

Content

82%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

An exemplary index-style skill body: concise, non-padded, with a well-sequenced workflow and a clean concern-to-rule-file map that keeps the SKILL.md as a genuine overview. The residual gaps are the absence of concrete tool commands for the verification steps and the fact that the referenced rule files could not be verified in the bundle as provided.

Suggestions

Name the concrete verification commands in 'How to Apply' (e.g. 'php artisan test', 'vendor/bin/pint --dirty', the project's static-analysis binary) so step 5 is copy-paste executable rather than descriptive.

Add a brief failure-recovery loop to the workflow (e.g. 'If tests or static analysis fail, fix and re-run before finishing') to close the validation checkpoint gap.

Ensure the rules/*.md files referenced in the Rule Index ship alongside SKILL.md in the bundle so every link resolves at runtime.

DimensionReasoningScore

Conciseness

The body is a lean ~60-line index: no re-teaching of concepts Claude already knows (no 'what is Laravel' or library explanations), and every section (consistency principle, 6-step process, rule index table, 3 decision rules) earns its place, matching the 'lean and efficient; every token earns its place' anchor.

5 / 5

Actionability

Guidance is concrete and executable for an index-style skill ('Read each mapped rule file before editing. Skip unrelated rule files.', 'Verify version-sensitive Laravel APIs... with search-docs', 'Run the narrowest relevant tests first'), but specific commands are absent — 'the project's formatting and static-analysis checks' names no tool invocation — so it falls at 'mostly executable guidance... with minor gaps' rather than fully copy-paste ready.

4 / 5

Workflow Clarity

The 'How to Apply' section gives a clearly sequenced 6-step process with verification checkpoints (verify APIs against the installed version, run tests, 'Re-read the diff against every mapped rule before finishing'), but there is no error-recovery loop (what to do when tests or checks fail), fitting 'clear sequence with most checkpoints present; minor validation gaps'.

4 / 5

Progressive Disclosure

The design is the ideal progressive-disclosure pattern — a concern-to-file table with clearly signaled one-level-deep links like '[rules/db-performance.md](rules/db-performance.md)' and an explicit pointer to the testing-best-practices skill — but the referenced rules/*.md files are not present in the provided bundle directory, so navigation cannot be fully verified; this lands at 'good structure; references mostly clear; minor organization gaps' rather than a clean 5.

4 / 5

Total

17

/

20

Passed

Description

88%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: it names a clear domain, enumerates concrete capabilities and trigger concerns, and states explicit 'use when' guidance in multiple forms. The only weaknesses are a few missing natural trigger terms (Blade, artisan) and a broad closing sentence that slightly raises conflict risk with adjacent skills.

DimensionReasoningScore

Specificity

The description lists many concrete capabilities and artifacts — 'creating or modifying controllers, models, migrations, form requests, policies, jobs, scheduled commands, service classes, and Eloquent queries' plus trigger concerns like 'N+1 and query performance issues, caching strategies, authorization and security patterns, validation, error handling, queue and job configuration' — comprehensive concrete coverage of the domain with no meaningful gaps, matching the top anchor rather than the score-4 anchor ('minor gaps in coverage').

5 / 5

Completeness

It explicitly answers both questions: what it does ('writing, reviewing, or refactoring Laravel PHP code... to follow best practices' across enumerated areas) and when to use it via multiple explicit trigger clauses ('Apply this skill whenever...', 'Triggers for...', 'Also use for Laravel code reviews'), matching the score-5 anchor with concrete trigger phrases.

5 / 5

Trigger Term Quality

Natural terms users would actually say are well covered — 'Laravel', 'controllers', 'models', 'migrations', 'N+1', 'caching', 'validation', 'queue', 'routes', 'code reviews', 'refactoring' — but a few common variations are missing (e.g. 'Blade', 'artisan', '.php'), so it fits 'good keyword coverage; a few natural terms missing' rather than the fully comprehensive score-5 anchor.

4 / 5

Distinctiveness Conflict Risk

The Laravel/PHP backend niche is clear and distinct from generic skills, but the closing catch-all 'Covers any task involving Laravel backend PHP code patterns' plus 'architectural decisions' creates minor overlap risk with more targeted skills (e.g. a Laravel testing or frontend skill), fitting 'mostly distinct; minor overlap risk' rather than the score-5 'clear niche... minimal conflict risk'.

4 / 5

Total

18

/

20

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

relative_links

Relative link issues: 19 missing

Warning

Total

14

/

16

Passed

Repository
laravel/boost
Reviewed

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.