laravel-best-practices
Skill by laravel · updated · ★ 3.7k
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. laravel-best-practices is published by laravel on GitHub.
Install laravel-best-practices
Built from the published package, never by AIgit clone --depth 1 https://github.com/laravel/boost /tmp/boost && mkdir -p ~/.claude/skills && cp -r /tmp/boost/.ai/laravel/skill/laravel-best-practices ~/.claude/skills/laravel-best-practicesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/laravel/boost /tmp/boost && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/boost/.ai/laravel/skill/laravel-best-practices ~/.gemini/antigravity-cli/skills/laravel-best-practicesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install laravel-best-practices in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
Last commit 7 days ago
MIT: permissive, fine for commercial use
Clear description, installs from GitHub, 3,663 stars, original repository
No risky patterns in the files we checked
Weekly newsletter
Like laravel-best-practices? Get the best new skills every week
The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .ai/laravel/skill/laravel-best-practices/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
rules/advanced-queries.md4 KB -
rules/architecture.md6 KB -
rules/blade-views.md2 KB -
rules/caching.md3 KB -
rules/collections.md2 KB -
rules/config.blade.php2 KB -
rules/db-performance.md5 KB -
rules/eloquent.md4 KB -
rules/error-handling.md3 KB -
rules/events-notifications.blade.php3 KB -
rules/http-client.md4 KB -
rules/mail.blade.php2 KB -
rules/migrations.blade.php4 KB -
rules/queue-jobs.md4 KB -
rules/routing.md4 KB -
rules/scheduling.blade.php3 KB -
rules/security.blade.php6 KB -
rules/style.md4 KB -
rules/validation.md3 KB
Alternatives to laravel-best-practices
All alternatives →Automate security workflows and remediation. Build security pipelines, automate compliance checks, and implement SOAR capabilities. Use when scaling security operations or implementing DevSecOps.
Use the local Kaggle CLI skill for command guidance, workflows, and troubleshooting across competitions, datasets, kernels/notebooks, models, model variations and versions, inbox file uploads, forums/discussions, benchmarks, configuration, OAuth/API-token authentication, and accelerator quota. Activate this skill when the user asks about kaggle CLI commands, examples, flags, metadata files, download/upload flows, submissions, benchmark tasks, or Kaggle CLI behavior.
Web application security testing workflow for OWASP Top 10 vulnerabilities including injection, XSS, authentication flaws, and access control issues.
Provide systematic methodologies for discovering and exploiting privilege escalation vulnerabilities on Windows systems during penetration testing engagements.
Create or redesign enterprise AI, automation, security, and operations product pages that explain system boundaries, approvals, auditability, exceptions, and rollback. Use for dark cinematic heroes, hairline grids, metric pauses, expandable solution rows, case-study evidence, security proof, and qualified demo or waitlist handoffs.
Manages OAuth social authentication with Laravel Socialite. Activate when adding social login providers; configuring OAuth redirect/callback flows; retrieving authenticated user details; customizing scopes or parameters; setting up community providers; testing with Socialite fakes; or when the user mentions social login, OAuth, Socialite, or third-party authentication.
laravel-best-practices: common questions
How do I install laravel-best-practices?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is laravel-best-practices free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is laravel-best-practices safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to laravel-best-practices?
Similar skills: security-automation, kaggle-cli, web-security-testing, windows-privilege-escalation.
