laravel
Use when implementing or debugging this Laravel v12 app; leverage Laravel Boost MCP (search-docs, artisan, schema, logs, tinker) and follow project conventions.
Best use case
laravel is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Use when implementing or debugging this Laravel v12 app; leverage Laravel Boost MCP (search-docs, artisan, schema, logs, tinker) and follow project conventions.
Teams using laravel should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/laravel/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How laravel Compares
| Feature / Agent | laravel | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Use when implementing or debugging this Laravel v12 app; leverage Laravel Boost MCP (search-docs, artisan, schema, logs, tinker) and follow project conventions.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Laravel開発スキル(Laravel 12 + Boost) このスキルは、本リポジトリ(Laravel 12 / PHP 8.5.2)での実装・調査・デバッグを、Laravel Boost MCPを中心に進めるためのガイドです。 ## 前提(このリポジトリ) - **Laravel**: v12 - **PHP**: 8.5.2 - **MCPサーバー**: `project-0-booking2-laravel-boost`(Boost) ## Boostツール(よく使う) - **アプリ情報**: `application-info` - **ドキュメント検索**: `search-docs`(クエリは英語) - **DBスキーマ確認**: `database-schema` - **DBデータ確認(読み取り専用)**: `database-query` - **ルート確認**: `list-routes` - **Artisanコマンド一覧**: `list-artisan-commands` - **Configキー一覧**: `list-available-config-keys` - **Config取得**: `get-config` - **直近エラー**: `last-error` - **ログ確認**: `read-log-entries` - **ブラウザログ**: `browser-logs` - **URLの確定**: `get-absolute-url` - **Tinker**: `tinker` --- ## 実装前の必須チェック Laravel関連の実装・修正を始める前に、必要に応じて次を実行します。 1. **アプリ情報の確認**: `application-info` 2. **ドキュメント検索**: `search-docs`(英語クエリで短く複数回) 3. **DBが絡む場合**: `database-schema`(テーブル/カラム/インデックス/外部キー) 4. **ルートが絡む場合**: `list-routes`(既存の命名・責務・ミドルウェアを把握) --- ## 実装の基本方針(Laravel way) - **ルーティング**: named route と `route()` を優先する - **バリデーション**: Controller直書きではなく Form Request を作成して集約する - **DBアクセス**: Eloquent と Relationship を優先し、N+1は eager load で防ぐ - **設定値**: `config()` を使用し、`env()` は config ファイル以外で使わない - **Laravel 12の構造**: ミドルウェア登録は `bootstrap/app.php` 側で行う(`app/Http/Kernel.php` 前提にしない) --- ## デバッグ時の標準フロー 1. **エラーを取る**: `last-error` 2. **ログを追う**: `read-log-entries` 3. **フロント絡み**: `browser-logs` 4. **状態を確認**: `database-query`(読み取り専用) / `tinker` 5. **必要ならDocs再確認**: `search-docs`(英語クエリ) --- ## 禁止事項 - **日本語でのDocs検索**: `search-docs` は日本語クエリだと結果が弱い/出ないため、英語で検索する - **DBへの書き込み**: `database-query` は読み取り用途に限定し、破壊的操作をしない - **秘密情報の露出**: `.env` やトークン、鍵などの機密を表示・貼り付けしない --- ## 仕上げ(推奨) - **整形**: `vendor/bin/pint --dirty` - **テスト**: 関連テストを最小セットで実行(例: `php artisan test --compact --filter=...`)
Related Skills
laravel-vite
Complete Vite bundling for Laravel - assets, HMR, SSR, frameworks, optimization. Use when configuring frontend build pipeline.
laravel-type-bridge-development
Generate TypeScript/JavaScript type artifacts from Laravel PHP definitions — enums, i18n translations, and enum translator composables.
laravel-inertia-isolated-plugin-architect
Create a Laravel plugin with an isolated UI which is provided by Inertia.js and Vue.js which can live on any Laravel host app no matter of the used technology in the frontend.
laravel-expert
Senior Laravel Engineer role for production-grade, maintainable, and idiomatic Laravel solutions. Focuses on clean architecture, security, performance, and modern standards (Laravel 10/11+).
laravel-12-best-practices
Software engineering best practices for Laravel 12.x, covering architecture, Eloquent, testing, security, and the new starter kits.
awesome-copilot-root-laravel-expert-agent
Expert Laravel development assistant specializing in modern Laravel 12+ applications with Eloquent, Artisan, testing, and best practices Use when: the task directly matches laravel expert agent responsibilities within plugin awesome-copilot-root. Do not use when: a more specific framework or task-focused skill is clearly a better match.
laravel-tall-stack-best-practices-cursorrules-prom-cursorrules
Apply for laravel-tall-stack-best-practices-cursorrules-prom. --- description: Laravel specific best practices for different modules and features. globs: /**/*.php
Laravel API
REST and JSON API standards for modern Laravel backends.
agent-laravel-specialist
Expert Laravel specialist mastering Laravel 10+ with modern PHP practices. Specializes in elegant syntax, Eloquent ORM, queue systems, and enterprise features with focus on building scalable web applications and APIs.
bgo
Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.
moai-lang-{{LANGUAGE_SLUG}}
{{LANGUAGE_NAME}} best practices with modern frameworks, {{PRIMARY_DOMAIN}}, and performance optimization for 2025
moai-lang-elixir
Elixir 1.17+ development specialist covering Phoenix 1.7, LiveView, Ecto, and OTP patterns. Use when developing real-time applications, distributed systems, or Phoenix projects.