laravel-best-practices
Skill2 starsChanged 4 months agoNo licenceView 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, repositories, enums, 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, building a feature end-to-end (Controller→Repository→Service pattern, enum-driven branching), and refactoring existing Laravel code to follow best practices. Covers any task involving Laravel backend PHP code patterns.
6 other projects use a version of this, 3 of them edited.
Adopted by
Most recently taken up by
- relaticle/relaticleedited, first seen Oct 4, 2026
- tikhomirov/skillstheir own version, first seen Sep 24, 2026
- gazi04/code-forgeedited, first seen Sep 18, 2026
- BhargavDetroja/claude-trackeredited, first seen Sep 2, 2026
- felipeArnold/filament-ai-skillstheir own version, first seen Jun 13, 2026
- gdarko/laravel-vue-startertheir own version, first seen Mar 26, 2026
Used with
Projects with it also use infer-conventions, tailwindcss-development 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.
BhargavDetrojaSkillinfer-conventions
Use this skill to analyze how a Laravel application is actually written and record its conventions as shared rules. Trigger when the user wants to detect, infer, document, or standardize project conventions or coding style, set up or grow `.ai/rules`, resolve mixed or conflicting patterns (e.g. \"are we using Form Requests or inline validation?\"), or onboard agents and teammates to \"how we do things here\". Covers: a systematic sweep of ~49 Laravel convention dimensions (validation, models, architecture, testing, frontend, database, console), open-ended house-pattern discovery, conflict reporting, and recording rules scoped to the right paths via the Boost `record-rule` MCP tool. Do not use for one-off code review, enforcing formatting a linter already handles, or editing `.ai/rules` files by hand.
Also in 3 projects that use this
BhargavDetrojaSkilltailwindcss-development
Always invoke when the user's message includes 'tailwind' in any form. Also invoke for: building responsive grid layouts (multi-column card grids, product grids), flex/grid page structures (dashboards with sidebars, fixed topbars, mobile-toggle navs), styling UI components (cards, tables, navbars, pricing sections, forms, inputs, badges), adding dark mode variants, fixing spacing or typography, and Tailwind v3/v4 work. The core use case: writing or fixing Tailwind utility classes in HTML templates (Blade, JSX, Vue). Skip for backend PHP logic, database queries, API routes, JavaScript with no HTML/CSS component, CSS file audits, build tool configuration, and vanilla CSS.
Also in 3 projects that use this
SparduttiSkilltesting-best-practices
MUST USE when writing, reviewing, or modifying tests. Enforces Arrange-Act-Assert, assertions that fail when the code breaks (exact values, list ties, side effects, limits), factory-based test data, test isolation, mocking boundaries, and pyramid-balanced coverage; bundle covers mutation testing (Stryker, mutmut) for proving the tests would catch a break.
Also in 3 projects that use this
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- relaticle/relaticle★ 1.8k55% same
- BhargavDetroja/claude-tracker★ 855% same
- gazi04/code-forge★ 055% same
Wrote their own version · 3
- gdarko/laravel-vue-starter★ 146same name
- felipeArnold/filament-ai-skills★ 9same name
- tikhomirov/skills★ 1same 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 repository27 other files it gives its agents.
- .claude/skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- angular-19Skill
- angular-doctorSkill
- anti-hallucinateSkill
- eslint-fixSkill
- frontend-designSkill
- handoffSkill
- humanizeSkill
- improveSkill
- intent-layerSkill
- java-springbootSkill
- karpathy-guidelinesSkill
- laravel-blade-jquerySkill
- laravel-image-to-blade-designSkill
- laravel-security-auditSkill
- module-refactorSkill
- ponytailSkill
- primeng-figma-complianceSkill
- primeng-v19-patternsSkill
- react-doctorSkill
- react-router-v7Skill
- rhf-zodSkill
- rtk-querySkill
- tailwind-v4Skill
- design-taste-frontendSkill
- ts-incremental-checkSkill
- vercel-react-best-practicesSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
No licence file, so all rights are reserved — 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 6 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.
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.

