Laravel Specialist
Modern Laravel 12 patterns — Form Requests, ViewModels, actions, no god controllers
Curated by Skill Harbor — a Laravel specialist skill built on strict architectural rules: fat models with thin controllers, zero static methods, typed everything, no `env()` outside config, no `DB::raw` without reason, no direct model creation in controllers, always `$request->validated()`. Covers the modern Laravel 12 stack: Form Requests with inline `Gate::authorize`, ViewModels for Blade presentation, invokable Action classes over service classes, custom attribute casts, API resources, policies, observers, and queues — then the deeper toolkit: collections, pipeline pattern, conditional query builders, upserts, Eloquent performance (chunking, cursors, index hints, `withoutLazyLoading` prevention), model pruning, and API rate limiting. Includes a refactoring guide (code smells → fixes) and an explicit anti-patterns list. Honest notes: the install prompt above says to install this as an agent skill folder; the SKILL.md is a patterns document, not an executable — everything applies to your own Laravel project, nothing runs on its own. By @jeffallan, listed here with credit to its creator. Skill Harbor never reviews the code, review it yourself before use.
Version:
Quick answer
Laravel Specialist is a patterns skill for modern Laravel 12 work, built on strict architectural rules: fat models with thin controllers, no static methods, everything typed, validated input only. It covers Form Requests, ViewModels, invokable Action classes, Eloquent performance and more — as a guidance document, not an executable: everything applies to your own Laravel project and nothing runs on its own.
At a glance
| What it is | A SKILL.md patterns document for Laravel 12: Form Requests with inline Gate::authorize, ViewModels for Blade presentation, invokable Action classes over service classes, custom attribute casts, API resources, policies, observers and queues — plus collections, the pipeline pattern, conditional query builders, upserts, Eloquent performance techniques, model pruning and API rate limiting. It includes a refactoring guide (code smells to fixes) and an explicit anti-patterns list. |
|---|---|
| Who it's for | Laravel developers who want their agent's code to follow one strict, consistent architecture instead of drifting between styles. |
| What you give it | Your own Laravel project and the coding task at hand. The rules the agent works under are the skill's: always $request->validated(), no env() outside config, no DB::raw without reason, no direct model creation in controllers. |
| What you get | Laravel code and guidance shaped by those patterns — structured controllers, Form Requests, ViewModels and Actions — and refactoring suggestions that map known code smells to fixes. |
| Works with | Installed from this listing with the copy-paste install prompt, as an agent skill folder. The listing is clear that the SKILL.md is a patterns document, not an executable — it guides work on your project and runs nothing by itself. |
| Cost | Free |
| Time | A few minutes to install; the patterns then apply to every Laravel task in the project, with no separate step per use. |
Example — building a feature the skill's way
An example of a typical use, following the patterns the skill documents — not a reported result.
- You ask for a new endpoint in your Laravel app; the agent reaches for a Form Request for validation instead of validating inside the controller.
- The controller stays thin: it delegates to an invokable Action class, and a ViewModel shapes what the Blade view receives.
- Reviewing older code, the agent flags a fat controller from the anti-patterns list and suggests the refactoring the guide pairs with that smell.
Install
Copy the install package below, then paste it into Muse🧪 Install ran in our test sandbox · Nov 11, 2026📌 Pinned version: commit 1be15d8Step 0 — before installing anything: read this install prompt, summarize in a few lines what this build does and what installing it involves, then ask me to confirm before you proceed. Prerequisites: a Laravel project (patterns target Laravel 12) Install "Laravel Specialist" for me. Modern Laravel 12 patterns — Form Requests, ViewModels, actions, no god controllers Repository: https://raw.githubusercontent.com/jeffallan/claude-skills/1be15d8064f88fc25216442406d40add8fd23b53/skills/laravel-specialist/SKILL.md Pinned version: install the code at commit 1be15d8064f88fc25216442406d40add8fd23b53 exactly (Skill Harbor tested this version). Do not substitute a newer version. If this commit is unreachable, stop and tell me. 1. Fetch the SKILL.md file for the jeffallan-claude-skills-laravel-specialist skill from the repository into a temporary folder 2. Safety check: review the SKILL.md and scripts for anything suspicious (unexpected network calls, shell commands, credential harvesting). This repo should contain zero secrets in code, credentials only via the secure vault, allowed hosts declared in the SKILL.md. Verify that holds here; STOP on any red flag and tell me. 3. Install it as a skill: copy SKILL.md and its helper files into the agent's skills directory, in a folder named "jeffallan-claude-skills-laravel-specialist". 4. Verify with no network calls: frontmatter valid, files in place. 5. Report what was installed, where, and what I still need to do myself (e.g. any accounts, API keys, or CLI tools mentioned in the prerequisites above). GitHub is optional: if I have a GitHub account or the gh CLI, you may use it; otherwise public access is fine. Never require it unless it's in the prerequisites above. Rules: don't touch anything outside the temp folder and the install target. Never ask me to paste secrets in chat — credentials go through the secure vault or environment variables. If anything looks off, stop and ask me.
Saved to your recent installs. Find it anytime on /connect.
🔒 Security, provenance and what this touches
The install prompt below already includes the vetting steps: your agent follows the community checklist before installing anything with executable code. Want more?
Verification certificate
Dated facts about what was checked for this listing, and how. This is not a safety certification.
- Pinned version
- 1be15d8 · 2026-10-13
- Sandbox install test
- Install ran in our test sandbox · Nov 11, 2026 · Observed during the install test: registry.npmjs.org
- Creator identity
- Not verified
- Fingerprint watch
- Last checked · Nov 19, 2026 : no change detected in the files linked by this install prompt
- Install prompt analysis
- 2026-10-13 : No commands, network calls, packages, file writes or API keys detected.
Skill Harbor never reviews the code of a listed skill. These are dated facts about the install prompt and our install test, not a safety certification. Review a skill yourself before you install it. How we verify
Questions
How do I install a skill?
Every product page includes a copy-paste install prompt. Paste it into your Muse and it sets the skill up for you — no manual configuration.
Where does my money go?
Straight to the seller. Skill Harbor never processes payments: checkout happens on the seller’s own page, usually Stripe.
What does the ✓ next to a creator’s name mean?
It means we confirmed the identity of the person behind the listing. It says nothing about the code itself — always check a skill before installing it.