
Laravel 11 12 App Guidelines
- 887 installs
- 62 repo stars
- Updated August 5, 2026
- thienanblog/awesome-ai-agent-skills
laravel-11-12-app-guidelines is a Laravel skill that gives developers consistent, stack-aware guidance for building and modifying Laravel 11 or Laravel 12 applications across API-only and full-stack configurations.
About
laravel-11-12-app-guidelines is a fork-context skill for Laravel 11 and Laravel 12 applications covering API-only and full-stack workflows. It integrates optional Docker Compose/Sail commands, frontend stacks including Inertia with React, Livewire, Vue, and Blade with Tailwind v4, plus Fortify, Wayfinder, PHPUnit, Pint, and Laravel Boost MCP tools. Developers reach for it when implementing features, fixing bugs, or refactoring while honoring project-specific AGENTS.md and docs/ instructions. The skill standardizes how agents read repositories and apply Laravel conventions across heterogeneous stacks.
- Detects API-only vs full-stack, Inertia+React, Livewire, Vue, Blade, Tailwind v4, Fortify and Docker/Sail setup automati
- Prioritizes AGENTS.md, docs/, Laravel Boost search-docs, and project-specific conventions before any code change
- Covers middleware, exceptions, routes, Pint, PHPUnit, Wayfinder and Laravel Boost MCP tooling
- Prevents guesswork by reading composer.json, package.json and config files first
Laravel 11 12 App Guidelines by the numbers
- 887 all-time installs (skills.sh)
- +16 installs in the week ending Aug 4, 2026 (Skillselion tracking)
- Ranked #451 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/thienanblog/awesome-ai-agent-skills --skill laravel-11-12-app-guidelinesAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 887 |
|---|---|
| repo stars | ★ 62 |
| Security audit | 3 / 3 scanners passed |
| Last updated | August 5, 2026 |
| Repository | thienanblog/awesome-ai-agent-skills ↗ |
How do you build features in Laravel 11 or 12?
Get consistent, stack-aware guidance when adding features, fixing bugs, or refactoring Laravel 11/12 applications.
Who is it for?
Developers working on Laravel 11 or 12 codebases with mixed frontend stacks who want agents to follow repository-specific conventions and Laravel Boost tooling.
Skip if: Greenfield projects on Laravel 10 or earlier where Laravel 11/12 conventions, Tailwind v4, and Boost MCP patterns do not apply.
When should I use this skill?
User implements features, fixes bugs, or refactors a Laravel 11/12 app with Inertia, Livewire, Sail, Fortify, or Laravel Boost.
What you get
Laravel feature changes aligned with project AGENTS.md, stack conventions, and PHPUnit/Pint quality checks.
- Feature implementations
- Bug fixes following Laravel conventions
By the numbers
- Targets Laravel 11 and Laravel 12 application versions
- Covers Tailwind v4 alongside Inertia, Livewire, Vue, and Blade stacks
Files
Laravel 11/12 App Guidelines
Overview
Apply a consistent workflow for Laravel 11/12 apps with optional frontend stacks, Dockerized commands, and Laravel Boost tooling.
Quick Start
- Read repository instructions first:
AGENTS.md. Ifdocs/exists, readdocs/README.mdand relevant module docs before decisions. - Detect the stack and command locations; do not guess.
- Use Laravel Boost
search-docsfor Laravel ecosystem guidance; use Context7 only if Boost docs are unavailable. - Follow repo conventions for naming, UI language, docs-first policies, and existing component patterns.
Stack Detection
- Check
composer.json,package.json,docker-compose.*, andconfig/*to confirm: - Docker Compose/Sail vs host commands
- API-only vs full-stack
- Frontend framework (Inertia/React, Livewire, Vue, Blade)
- Auth (Fortify, Sanctum, Passport, custom)
Laravel 11/12 Core Conventions
- Use the Laravel 11/12 structure: configure middleware, exceptions, and routes in
bootstrap/app.php; service providers inbootstrap/providers.php; console configuration inroutes/console.php. - Use Eloquent models and relationships first; avoid raw queries and
DB::unless truly necessary. - Create Form Request classes for validation instead of inline validation.
- Prefer named routes and
route()for URL generation. - When altering columns, include all existing attributes in the migration to avoid dropping them.
- Ask before destructive database operations (e.g., reset/rollback/fresh).
API-Only Mode
- Use
routes/api.php; avoid Inertia and frontend assumptions. - Prefer API Resources and versioning if the repo already uses them.
- Follow the repo's auth stack (Sanctum/Passport/custom) and response format conventions.
- Do not require Vite/Tailwind/NPM unless the repo already includes them.
Inertia + React + Wayfinder (if present)
- Use
Inertia::render()for server-side routing; place pages underresources/js/Pagesunless the repo says otherwise. - Use
<Form>oruseFormfor Inertia forms; add skeleton/empty states for deferred props. - Use
<Link>orrouter.visit()for navigation. - Use Wayfinder named imports for tree-shaking; avoid default imports; regenerate routes after changes if required.
Livewire / Vue / Blade (if present)
- Follow existing component patterns and conventions; do not mix frameworks unless the repo already does.
- Keep UI strings in the repo's expected language.
Tailwind CSS v4 (if present)
- Use
@import "tailwindcss";and@themefor tokens. - Avoid deprecated utilities; use replacements (e.g.,
shrink-*,grow-*,text-ellipsis). - Use
gap-*for spacing between items; follow existing dark mode conventions if present.
Testing and Formatting
- Use PHPUnit; generate tests with
php artisan make:test --phpunitand prefer feature tests. - Run the minimal relevant tests (
php artisan test <file>or--filter=). - Run
vendor/bin/pint --dirtybefore finalizing code changes. - After minimal tests pass, offer to run the full test suite.
Laravel Boost MCP Tools (when available)
search-docsbefore changing behavior or using framework features.list-artisan-commandsto confirm Artisan options.list-routesto inspect routing changes.tinkerfor PHP debugging anddatabase-queryfor read-only DB checks.browser-logsto inspect frontend errors.get-absolute-urlfor sharing project URLs.- See
references/boost-tools.mdfor query patterns and tool usage tips.
Output Expectations
- Preserve existing architecture, structure, and dependencies unless the user explicitly requests changes.
- Reuse existing components and follow local patterns.
- Ask concise clarifying questions when repo guidance is missing or ambiguous.
Boost Tools Reference
Use this reference when Laravel Boost MCP tools are available.
search-docs
- Start with multiple broad, topic-based queries.
- Avoid package names in queries; the tool already knows installed versions.
- Use before making framework decisions.
list-artisan-commands
- Verify available Artisan commands and options.
- Pass
--no-interactionfor non-interactive usage.
list-routes
- Inspect route definitions when changing or debugging routing.
- Filter by vendor/action when applicable.
tinker
- Run PHP snippets to debug Eloquent behavior or complex logic.
database-query
- Read-only database inspection when you do not need model logic.
browser-logs
- Review recent frontend errors and exceptions.
get-absolute-url
- Generate fully-qualified project URLs when sharing links.
Related skills
How it compares
Pick laravel-11-12-app-guidelines over generic PHP skills when the codebase is Laravel 11/12 with Sail, Boost MCP, and modern frontend stacks.
FAQ
Which Laravel versions does this skill support?
laravel-11-12-app-guidelines targets Laravel 11 and Laravel 12 applications. It covers both API-only and full-stack setups with optional Docker Sail, Inertia, Livewire, and Blade frontends.
What frontend stacks are included?
laravel-11-12-app-guidelines supports Inertia with React, Livewire, Vue, Blade, and Tailwind v4. It also references Fortify, Wayfinder, PHPUnit, Pint, and Laravel Boost MCP tools for testing and code quality.
Is Laravel 11 12 App Guidelines safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.