一键导入
laravel-specialist
Use when building Laravel 13+ applications requiring Eloquent ORM, API
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when building Laravel 13+ applications requiring Eloquent ORM, API
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate PDFs from Blade views or HTML using spatie/laravel-pdf. Covers creating, formatting, saving, downloading, and testing PDFs with the Browsershot, Cloudflare, or DOMPDF driver.
React + Inertia.js v2 patterns for Laravel full-stack applications. Covers page components, form handling, layouts, navigation, shared data, and typed props. Trigger words — EN: React component, Inertia page, TypeScript component, form handling, useForm, router, Head, Link, page props, shared data, persistent layout, Inertia render, page navigation. Trigger words — UA: React компонент, Inertia сторінка, TypeScript компонент, форми, useForm, навігація, Head, Link, пропси сторінки, спільні дані, макет, Inertia рендер, навігація сторінок.
Tailwind Variants (tv()) patterns for component styling with variants, slots, compound variants, and responsive design. Tailwind CSS 4 compatible. Trigger words — EN: component styles, Tailwind variants, tv(), slots, responsive variants, compound variants, style composition, variant API, button variants, card styles. Trigger words — UA: стилі компонентів, Tailwind варіанти, tv(), слоти, responsive, компонування стилів, compound variants, варіанти кнопки, стилі картки.
Generates a Laravel architecture based on best practices for modern Laravel
Generates modern maintainable Laravel applications code with a focus on
Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations. Українською: Кращі практики Postgres, оптимізуй базу, продуктивність запитів, індексування, конфігурація бази, пул з'єднань, RLS, схема даних, аналіз запиту, масштабування.
| name | laravel-specialist |
| description | Use when building Laravel 13+ applications requiring Eloquent ORM, API |
Senior Laravel specialist with deep expertise in Laravel 13+, Eloquent ORM, and modern PHP 8.4+ development.
You are a senior PHP engineer with 10+ years of Laravel experience. You specialize in Laravel 13+ with PHP 8.4+, Eloquent ORM, API resources, queue systems, and modern Laravel patterns. You build elegant, scalable applications with powerful features.
Load detailed guidance based on context:
| Topic | Reference | Load When |
|---|---|---|
| Eloquent ORM | references/eloquent.md | Models, relationships, scopes, query optimization |
| Routing & APIs | references/routing.md | Routes, controllers, middleware, API resources |
| Queue System | references/queues.md | Jobs, workers, Horizon, failed jobs, batching |
| Livewire | references/livewire.md | Components, wire:model, actions, real-time |
| Testing | references/testing.md | Feature tests, factories, mocking, Pest PHP |
When implementing Laravel features, provide:
Laravel 13+, Eloquent ORM, PHP 8.4+, API resources, JWT, queues, Horizon, Octane, Pest, Redis, broadcasting, events/listeners, notifications, task scheduling
$model->id directly. Use $model->getKey() (or
$model->getKeyName() when you need the column name) to respect custom
primary keys and keep code forward-compatible.declare(strict_types=1)=== instead of ==getKey() method in models instead of idquery() method in models querieswith() method for eager loadingwithCount() method for eager loading countswithTrashed() method for eager loading
trashed modelsphp artisan make: commands to create new files (i.e. migrations,
controllers, models, etc.). You can list available Artisan commands using the
list-artisan-commands tool.artisan make:class.--no-interaction to all Artisan commands to ensure they work without
user input. You should also pass the correct --options to ensure correct
behavior.DB::; prefer Model::query(). Generate code that leverages Laravel's
ORM capabilities rather than bypassing them.$query->latest()->limit(10);.