Guidelines and workflow for working on Laravel 11 or Laravel 12 applications across common stacks (API-only or full-stack), including optional Docker Compose/Sail, Inertia + React, Livewire, Vue, Blade, Tailwind v4, Fortify, Wayfinder, PHPUnit, Pint, and Laravel Boost MCP tools. Use when implementin
npx playbooks add skill thienanblog/awesome-ai-agent-skills --skill laravel-11-12-app-guidelines
Work from what the repository actually installs. Laravel 11 and 12 applications vary widely in skeleton, frontend, auth, and command runner, and most mistakes come from assuming a fresh-application default the project does not use.
Run in the main conversation by default. Delegation can increase usage: obtain explicit approval for the proposed agent count and scope before using subagents. Reuse that approval within its bounds; ask again before expanding the approved count or scope.
Read repository instructions and the relevant documentation owners, then confirm from composer.json, composer.lock, package.json, frontend lockfiles, bootstrap/app.php, Compose files, and config/:
For version-sensitive behavior, use Laravel Boost search-docs when Boost is available, since it filters by installed versions; otherwise use the official documentation for the installed major. [boost-tools.md](references/boost-tools.md) covers Boost usage and its data-safety limits.
Follow the repository's architecture, naming, UI language, and component patterns, and keep its dependencies unless the user asks for a change.
bootstrap/app.php, registers providers in bootstrap/providers.php, and defines closure commands and schedules in routes/console.php. An application upgraded from Laravel 10 may still use app/Http/Kernel.php and app/Console/Kernel.php; that structure remains supported, so keep it unless the task is to migrate it.routes/api.php. install:api creates it and installs Sanctum, so run it only when both are intended. API-only work should not pull in Vite, Tailwind, or Node.change() drops every modifier that is not restated. Inspect the current column and repeat the modifiers that must survive.migrate:fresh, migrate:reset, rollbacks, and db:wipe need authorization that covers the target and its data loss; reuse permission already given.@import "tailwindcss", @theme) and removes utilities that v3 deprecated; leave a working v3 setup on v3 unless a migration is requested.Keep the repository's test runner and confirm generator flags with php artisan help make:test. Run the smallest relevant target (php artisan test <file> or --filter=) plus the checks the repository requires, and add regression coverage where it protects meaningful behavior. Broaden for an affected contract or unresolved risk, within any stated suite budget.
Run the configured formatter on changed code; vendor/bin/pint --dirty fits when Pint is installed.
Report the changed behavior, the checks run and their results, and any material assumption left unresolved.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.