Write Laravel best practices: Eloquent ORM patterns, route organization, middleware, task scheduling, queue workers, and Laravel Livewire for reactive UIs.
When to use this skill
- Creating an Eloquent relationship
- Setting up a queue worker
- Using Laravel Livewire
Core concepts
This skill provides guidance on laravel patterns best practices, patterns, and common pitfalls. It is designed to be loaded on demand when a relevant task is detected.
Installation
curl -LO https://opencode-skills.example/downloads/framework/laravel-patterns.zip
unzip laravel-patterns.zip -d ~/.config/opencode/skills/
Restart OpenCode — the skill loads automatically.
When it triggers
- creating an Eloquent relationship
- setting up a queue worker
- using Laravel Livewire