laravel-11-12-app-guidelines
Skill4 starsChanged 5 months agoMITView on GitHub
Work in Laravel 11 or 12 apps with stack detection, Boost-aware docs lookup, frontend conventions, tests, and Pint formatting.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- thienanblog/awesome-ai-agent-skillstheir own version, first seen May 3, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- thienanblog/awesome-ai-agent-skills★ 68same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository75 other files it gives its agents.
- AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- actions-and-servicesSkill
- ai-sdkSkill
- api-resources-and-paginationSkill
- api-surface-evolutionSkill
- architectureSkill
- blade-components-and-layoutsSkill
- brainstormingSkill
- code-review-requestsSkill
- complexity-guardrailsSkill
- config-env-storageSkill
- constants-and-configurationSkill
- controller-cleanupSkill
- controller-testsSkill
- custom-helpersSkill
- daily-workflowSkill
- database-transactionsSkill
- data-chunking-large-datasetsSkill
- debugging-promptsSkill
- dependencies-trim-packagesSkill
- documentation-best-practicesSkill
- e2e-playwrightSkill
- effective-contextSkill
- eloquent-patternsSkill
- eloquent-relationshipsSkill
- exception-handling-and-loggingSkill
- executing-plansSkill
- extract-laravel-standardsSkill
- filesystem-uploadsSkill
- form-requestsSkill
- horizon-metrics-and-dashboardsSkill
- http-client-resilienceSkill
- integrate-whatsapp-baileys-laravelSkill
- interfaces-and-diSkill
- internationalization-and-translationSkill
- iterating-on-codeSkill
- laravel-database-optimizationSkill
- laravel-prompting-patternsSkill
- laravel-specialistSkill
- least-codeSkill
- livewire-developmentSkill
- memory-managementSkill
- migrations-and-factoriesSkill
- module-per-menuSkill
- nova-resource-patternsSkill
- performance-cachingSkill
- performance-eager-loadingSkill
- performance-select-columnsSkill
- php-attributesSkill
- policies-and-authorizationSkill
- ports-and-adaptersSkill
- prompt-structureSkill
- quality-checksSkill
- queues-and-jobsSkill
- rate-limitingSkill
- request-forgery-protectionSkill
- responsive-ui-testingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 8 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Use this skill when implementing, fixing, or reviewing Laravel 11 or Laravel 12 applications.
- Distinctive: line 15
Read repository instructions and local docs before making architectural decisions.
- Very specific: line 25
Place scheduled commands in routes/console.php unless the project has an explicit scheduler abstraction.
- Very specific: line 26
Prefer named routes and route() generation for internal links and redirects.
- Distinctive: line 27
Use Form Requests for non-trivial HTTP validation and request-bound authorization.
- Distinctive: line 28
Use API Resources for public JSON response shape when the repo already follows resource patterns.
- Very specific: line 29
Ask before destructive database commands such as migrate:fresh, db:wipe, reset, rollback, or seed operations that overwrite data.
- Distinctive: line 42
When Laravel Boost MCP tools are available, use them to reduce guessing:
- Distinctive: line 44
search Laravel ecosystem docs before changing framework-specific behavior.
- Distinctive: line 47
use read-only database inspection for debugging query shape.
- Distinctive: line 50
If Boost is unavailable, fall back to local project files and official Laravel documentation.
- Very specific: line 54
Run targeted tests first, then formatting or static checks that match the touched area.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Laravel 11/12 App Guidelines
Use this skill when implementing, fixing, or reviewing Laravel 11 or Laravel 12 applications.
Start Here
- Read repository instructions and local docs before making architectural decisions.
- Confirm Laravel and PHP versions from
composer.json,composer.lock, orphp artisan aboutwhen available. - Detect whether commands should run through Sail, Docker Compose, Herd, Valet, or host PHP.
- Detect app mode: API-only, Blade, Livewire, Inertia, Vue, React, or a mixed legacy stack.
- Reuse existing conventions for naming, language, layout, components, testing, and error responses.
Laravel 11/12 Conventions
- Configure middleware, exception handling, and routing in
bootstrap/app.phpwhen the app follows the modern skeleton. - Register service providers through
bootstrap/providers.phpwhen that file exists. - Place scheduled commands in
routes/console.phpunless the project has an explicit scheduler abstraction. - Prefer named routes and
route()generation for internal links and redirects. - Use Form Requests for non-trivial HTTP validation and request-bound authorization.
- Use API Resources for public JSON response shape when the repo already follows resource patterns.
- Ask before destructive database commands such as
migrate:fresh,db:wipe, reset, rollback, or seed operations that overwrite data.
Stack-Specific Notes
- API-only apps: work in
routes/api.php, follow the existing auth stack, and avoid frontend build assumptions. - Inertia apps: use existing page/component locations and server-side route conventions; prefer the project's form helper pattern.
- Livewire apps: pair this with
livewire-development. - Blade apps: keep templates presentational and move reusable decisions out of views.
- Tailwind v4 apps: follow the existing token and import pattern; avoid deprecated utility names when editing nearby UI.
- Wayfinder apps: follow existing generated route import patterns and regenerate route artifacts when the project requires it.
Laravel Boost
When Laravel Boost MCP tools are available, use them to reduce guessing:
- search Laravel ecosystem docs before changing framework-specific behavior;
- list Artisan commands before assuming command options;
- inspect routes before adding overlapping routes;
- use read-only database inspection for debugging query shape;
- inspect browser logs for frontend failures.
If Boost is unavailable, fall back to local project files and official Laravel documentation.
Verification
Run targeted tests first, then formatting or static checks that match the touched area. Prefer vendor/bin/pint --dirty for changed PHP files when available.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

