laravel-best-practices
Skill734 starsChanged 18 days agoAGPL-3.0View on GitHub
Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code. This includes creating or modifying controllers, models, migrations, form requests, policies, jobs, scheduled commands, service classes, and Eloquent queries. Triggers for N+1 and query performance issues, caching strategies, authorization and security patterns, validation, error handling, queue and job configuration, route definitions, and architectural decisions. Also use for Laravel code reviews and refactoring existing Laravel code to follow best practices. Covers any task involving Laravel backend PHP code patterns.
We split this skill into the rules it gives an agent
8 rules. 2 are common, 5 are distinctive, and 1 is very specific to this project.
2
Common
Most of the 31 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
Licensed with conditions — read it at the source. We count its rules but don't quote them. Read them on GitHub.
“Common” is measured: kept by at least 6 in 10 of the 31 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.
Other versions33 projects use a version of this.
Word for word · 2
- whisper-money/whisper-money★ 1.1k100% same
- sbarbat/tentaclesauth★ 0100% same
Edited · 26
- coollabsio/coolify★ 64k98% same
- anonaddy/anonaddy★ 4.9k98% same
- yaojingang/GEOFlow★ 3.8k98% same
- relaticle/relaticle★ 1.8k98% same
- Relaticle/relaticle★ 1.8k98% same
- nasirkhan/laravel-starter★ 1.4k98% same
- Blair2004/NexoPOS★ 1.3k15% same
- WINBIGFOX/TimeScribe★ 91398% same
- nunomaduro/laravel-starter-kit★ 88115% same
- m3ue/m3u-editor★ 87015% same
16 more not listed
Wrote their own version · 5
- PauloFelipeM/agent-laravel-skills★ 14same name
- rcdelfin/agentkit★ 2same name
- tikhomirov/skills★ 1same name
- davidanthonyn/claude-skills★ 0same name
- pablopetr/claude-skills★ 0same 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.
Used alongsideProjects with it also use livewire-development, testing-best-practices and 1 more.
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.
datashamanSkilllivewire-development
Use for any task or question involving Livewire. Activate if user mentions Livewire, wire: directives, or Livewire-specific concepts like wire:model, wire:click, wire:sort, or islands, invoke this skill. Covers building new components, debugging reactivity issues, real-time form validation, drag-and-drop, loading states, migrating from Livewire 3 to 4, converting component formats (SFC/MFC/class-based), and performance optimization. Do not use for non-Livewire reactive UI (React, Vue, Alpine-only, Inertia.js) or standard Laravel forms without Livewire.
Also in 8 projects that use this
davidanthonynSkilltesting-best-practices
Unit testing, integration testing, and test-driven development principles. Use when writing tests, reviewing test code, improving test coverage, or setting up testing strategy. Triggers on "write tests", "review tests", "testing best practices", or "TDD".
Also in 12 projects that use this
felipeArnoldSkillpennant-development
Use when working with Laravel Pennant the official Laravel feature flag package. Trigger whenever the query mentions Pennant by name or involves feature flags or feature toggles in a Laravel project. Tasks include defining feature flags checking whether features are active creating class based features in `app/Features` using Blade `@feature` directives scoping flags to users or teams building custom Pennant storage drivers protecting routes with feature flags testing feature flags with Pest or PHPUnit and implementing A B testing or gradual rollouts with feature flags. Do not trigger for generic Laravel configuration authorization policies authentication or non Pennant feature management systems.
Also in 4 projects that use this
In this repository62 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/clean-code.mdcCursor rule
- .cursor/rules/inertia-pagination.mdcCursor rule
- .cursor/rules/inertia-v3.mdcCursor rule
- .cursor/rules/laravel-boost-tools.mdcCursor rule
- .cursor/rules/laravel-patterns.mdcCursor rule
- .cursor/rules/php-style.mdcCursor rule
- .cursor/rules/project-context.mdcCursor rule
- .cursor/rules/tests-dusk.mdcCursor rule
- .cursor/rules/tests-pest.mdcCursor rule
- .cursor/rules/vue-typescript.mdcCursor rule
- ai-sdk-developmentSkill
- cashier-stripe-developmentSkill
- configure-nightwatchSkill
- configuring-horizonSkill
- copywritingSkill
- humanizerSkill
- in-app-copySkill
- inertia-vue-developmentSkill
- infer-conventionsSkill
- laravel-best-practicesSkill
- mcp-developmentSkill
- medialibrary-developmentSkill
- passport-developmentSkill
- pest-testingSkill
- socialite-developmentSkill
- tailwindcss-developmentSkill
- upgrade-laravel-v13Skill
- wayfinder-developmentSkill
- ai-sdk-developmentSkill
- cashier-stripe-developmentSkill
- configure-nightwatchSkill
- configuring-horizonSkill
- humanizerSkill
- in-app-copySkill
- inertia-vue-developmentSkill
- infer-conventionsSkill
- mcp-developmentSkill
- medialibrary-developmentSkill
- passport-developmentSkill
- pest-testingSkill
- socialite-developmentSkill
- tailwindcss-developmentSkill
- upgrade-laravel-v13Skill
- wayfinder-developmentSkill
- ai-sdk-developmentSkill
- cashier-stripe-developmentSkill
- configure-nightwatchSkill
- configuring-horizonSkill
- copywritingSkill
- humanizerSkill
- in-app-copySkill
- inertia-vue-developmentSkill
- infer-conventionsSkill
- laravel-best-practicesSkill
- mcp-developmentSkill
- passport-developmentSkill
- pest-testingSkill
- socialite-developmentSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

