Download the PHP package fperdomo/laravel-agent-skill without Composer
On this page you can find all versions of the php package fperdomo/laravel-agent-skill. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fperdomo/laravel-agent-skill
More information about fperdomo/laravel-agent-skill
Files in fperdomo/laravel-agent-skill
Package laravel-agent-skill
Short Description Laravel Best Practices skill for Claude Code and Codex — enforces SRP, FormRequests, service classes, Eloquent, Inertia (React + Vue) conventions.
License MIT
Informations about the package laravel-agent-skill
Laravel Best Practices Skill Installer
This package publishes an AI agent skill covering Laravel best practices — including Inertia + React conventions — into multiple locations to support various AI agents and editors.
Install
Via Laravel Boost (recommended)
Install individual skills directly — no Composer package required:
Via npx skills
Via Claude Code plugin
Via Composer
Usage
Quick install — everything
Laravel Boost — install all at once
To keep skills up-to-date when dependencies are updated, add this to your project's composer.json:
To publish manually to the Boost location (.ai/skills/):
Publish to Codex skill locations
Project workspace (primary):
User home directory (global, shared across all projects):
VS Code:
JetBrains IDEs (PhpStorm, IntelliJ, etc.):
All Codex locations at once:
Publish AI agent adapters
Everything (all adapters + all skill locations):
PHP Upgrade with Rector Skill
Upgrades a PHP project to a newer PHP version using Rector.
Install
Project workspace:
User home directory (global):
VS Code:
JetBrains IDEs:
Install via npx skills
Install via Laravel Boost
Laravel Upgrade with Rector Skill
Upgrades a Laravel application or package to a newer Laravel version (up to Laravel 13) using Rector and driftingly/rector-laravel.
Install
Project workspace:
User home directory (global):
VS Code:
JetBrains IDEs:
Install via npx skills
Install via Laravel Boost
What's included
Backend rules
| ID | Rule | Severity |
|---|---|---|
| SRP-001 | Single Responsibility Principle | high |
| FUNC-001 | Methods should do one thing | medium |
| MVC-001 | Skinny controllers; move logic out | high |
| VAL-001 | Validation in FormRequest classes | critical |
| SVC-001 | Business logic in service/action classes | high |
| AUTH-001 | Use Policies for authorization | high |
| CONF-001 | Never call env() outside config files |
high |
| DRY-001 | Don't repeat yourself | medium |
| ELO-001 | Prefer Eloquent + Collections (sole(), firstOrCreate(), casts) |
low |
| BLADE-001 | No queries in Blade; eager load to avoid N+1 | critical |
| PERF-001 | Chunk/stream large dataset operations | medium |
| NAMING-001 | Follow Laravel naming conventions | medium |
Inertia + React rules
| ID | Rule |
|---|---|
| INRT-001 | Directory conventions (common, modules, pages, shadcn) |
| INRT-002 | Page components: Page suffix, default export |
| INRT-003 | One component per file, PascalCase, function declarations |
| INRT-004 | Wrap shadcn components; avoid direct app-wide imports |
| INRT-005 | No barrel files; absolute aliased imports |
| INRT-006 | Type page props with TypeScript interfaces |
| INRT-007 | Use useForm for submissions; avoid raw axios/fetch |
| INRT-008 | Use usePage for shared data; avoid prop drilling |
| INRT-009 | Use <Link> for internal navigation; avoid plain <a> |
| INRT-010 | Use partial reloads (router.reload) instead of full visits |
Inertia + Vue rules
| ID | Rule |
|---|---|
| INRT-VUE-001 | Directory conventions |
| INRT-VUE-002 | Page components: Page suffix, default export |
| INRT-VUE-003 | One component per .vue file, <script setup> |
| INRT-VUE-004 | Wrap third-party UI library components |
| INRT-VUE-005 | No barrel files; absolute aliased imports |