laravel
Skill2 starsChanged 7 days agoMITView on GitHub
Laravel framework guidance across 5.4, 6, 7, 8, 9, 10, 11, and optional Mix 5. Use when implementing or reviewing framework-touching Laravel code, planning an upgrade, or debugging a version-specific build. Not for Symfony, Yii, or frontend-only work; use php for runtime selection. Output: one selected Laravel or Mix reference, compatibility constraints, and verification gates.
14 other projects use a version of this.
Adopted by
Most recently taken up by
- AnyOrgName/php-skillstheir own version, first seen Nov 8, 2026
- reisi007/agents-skillstheir own version, first seen Nov 5, 2026
- turkeryildirim/ai-skillstheir own version, first seen Nov 1, 2026
- G1Joshi/Agent-Skillstheir own version, first seen Oct 13, 2026
- Mindrally/skillstheir own version, first seen Oct 8, 2026
- gingerminds/claude-skillstheir own version, first seen Sep 23, 2026
Used with
Projects with it also use wordpress.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
iamandrewpetersSkillwordpress
Use this skill when working on WordPress development tasks including plugins, themes, shortcodes, hooks, WP-CLI commands, multisite, custom post types, meta boxes, the REST API, or debugging WordPress issues.
Also in 3 projects that use this
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- Mindrally/skills★ 275same name
- youlaitech/youlai-skills★ 63same name
- rawveg/skillsforge-marketplace★ 40same name
- G1Joshi/Agent-Skills★ 15same name
- ulpi-io/browse★ 15same name
- AnyOrgName/php-skills★ 4same name
- turkeryildirim/ai-skills★ 4same name
- dafaalz/agent-skills★ 2same name
- gingerminds/claude-skills★ 2same name
- hawk-digital-environments/ai-skills★ 1same name
4 more not listed
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 repository39 other files it gives its agents.
- AGENTS.mdAGENTS.md
- change-verdictSkill
- code-simplifySkill
- code-traceSkill
- create-prSkill
- deploy-listSkill
- doc-maintainSkill
- feature-verifySkill
- flow-driveSkill
- flow-guideSkill
- git-smart-commitSkill
- git-worktreeSkill
- harness-setupSkill
- issue-analyzeSkill
- js-static-checksSkill
- legacy-characterization-testsSkill
- library-authorSkill
- merge-prepSkill
- module-designSkill
- nextjsSkill
- openspec-artifact-guardSkill
- opsx-apply-resumeSkill
- phpSkill
- phpunitSkill
- precommitSkill
- project-auditSkill
- project-briefSkill
- proposal-analyzeSkill
- pr-summarySkill
- pythonSkill
- reactSkill
- release-creatorSkill
- repo-intakeSkill
- repo-verifySkill
- swiftSkill
- tdd-workflowSkill
- ui-ux-verifySkill
- vue-2-notesSkill
- yii1Skill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 4 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Use this order and stop at the first decisive result:
- Very specific: line 38
After resolution, load only the matching file below.
- Very specific: line 60
Use php for Symfony, Yii, or general PHP runtime selection that is not Laravel-specific.
- Very specific: line 62
Use framework-neutral guidance for frontend-only work.
- Very specific: line 77
Run php artisan --version or composer show laravel/framework when the project is available, then compare it with the selected reference.
- Distinctive: line 92
Check the PHP floor, source-generation layout, and package constraints in the selected reference before writing framework-coupled code.
- Distinctive: line 94
Treat the reference as locked framework documentation, not the application's policy SSOT.
- Distinctive: line 96
Run the reference's verification gates and report any version mismatch or unresolved migration trap explicitly.
- Very specific: line 108
All resolver imports and reference paths are family-relative.
“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Laravel family router
This family package is self-contained. It routes a Laravel request to one version reference and keeps version-specific guidance out of the initial prompt until the selector is known.
Resolve the selector
Use this order and stop at the first decisive result:
- Explicit selector — honor the caller's version without reading a
project file. Supported selectors are
5.4,6,7,8,9,10,11, andmix. The compatibility aliases5-4,laravel-5.4,laravel-5-4,laravel-mix, andmix-5normalize to5.4ormix. - Project detection — if no selector was supplied, read the current
project's
composer.lock, thencomposer.json, forlaravel/framework. A package-only asset project may also resolvemixfrompackage.jsonwhenlaravel-mixis declared. These files are read directly by the family-local resolver. - Ask — if the selector is missing, malformed, unsupported, or ambiguous, ask which supported selector applies. Never guess a nearby major or silently use the newest reference.
Project detection never consults dhpk installation or publication manifests. The family package must continue to work when copied by itself.
Load exactly one reference
After resolution, load only the matching file below. Do not preload sibling
versions. For a cross-version review or upgrade, consult
compatibility.md or migration.md after the selector-specific
reference; those shared notes are not selector targets.
| Selector | Reference |
5.4 (or 5-4) | references/5-4.md |
6 | references/6.md |
7 | references/7.md |
8 | references/8.md |
9 | references/9.md |
10 | references/10.md |
11 | references/11.md |
mix (or laravel-mix) | references/mix.md |
The resolver reports the selected relative reference and its complete file contents. A successful resolution therefore has exactly one loaded reference; an ask result has none.
When NOT to Use
- Use
phpfor Symfony, Yii, or general PHP runtime selection that is not Laravel-specific. - Use framework-neutral guidance for frontend-only work; select
mixonly when the project owns the Laravel Mix pipeline described above.
Output
Return the selected Laravel or Mix selector, the one loaded reference, the applicable PHP/framework floor, and the verification gates from that reference. For an unresolved or ambiguous project, return the actionable ask and report that no version reference was loaded.
Verification
- Run
node scripts/resolve-version.js --json [--version <selector>]and confirm the result names the expected family, selector, source, and reference. - Run
php artisan --versionorcomposer show laravel/frameworkwhen the project is available, then compare it with the selected reference. - For a copied family directory, run the CLI with
NODE_PATHempty and an explicit selector to prove that resolution has no repository dependency.
The family-local scripts/resolve-version.js is the JSON CLI entrypoint. It
accepts an optional explicit selector and exits non-zero when resolution asks
for input or encounters an error. scripts/version-resolver.js is the
programmatic resolver used by the CLI; it returns the selected reference and
loaded contents, or an ask result with no loaded references.
Apply the selected guidance
- Confirm the installed framework version with
php artisan --versionorcomposer show laravel/frameworkwhen the project is available. - Check the PHP floor, source-generation layout, and package constraints in the selected reference before writing framework-coupled code.
- Treat the reference as locked framework documentation, not the application's policy SSOT. Keep domain and product decisions in the application sources.
- Run the reference's verification gates and report any version mismatch or unresolved migration trap explicitly.
Mix boundary
mix is an optional upgraded legacy asset-pipeline selector for Laravel Mix 5
and webpack 4. It is not default Laravel framework coupling. Select it for a
project that actually owns webpack.mix.js, laravel-mix, and the associated
npm scripts; otherwise use the Laravel framework selector alone.
Portable package boundary
All resolver imports and reference paths are family-relative. Core resolution requires no dhpk manifest, hook, agent, MCP server, or repository working state.
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.

