@skeletorflet/laravel
ALaravel PHP web framework. Use when building Laravel apps, Eloquent ORM models, Artisan CLI commands, Blade templates, Livewire/Inertia.js, Sail Docker config, or PHPUnit testing.
Install
agr install @skeletorflet/laravel --target claudeWrites 1 file into .claude/skills/, pinned to git-ebc8c81d.
- .claude/skills/laravel/SKILL.md
Document
name: laravel description: Laravel PHP web framework. Use when building Laravel apps, Eloquent ORM models, Artisan CLI commands, Blade templates, Livewire/Inertia.js, Sail Docker config, or PHPUnit testing.
laravel
Expressive PHP framework with elegant syntax and batteries-included tooling.
Core Concepts
- Eloquent ORM: Active Record implementation with fluent query builder, relationships, and mutators
- Artisan CLI: code generation, migrations, queue management, and custom commands via
php artisan - Blade templates: lightweight template engine with inheritance, components, and direct PHP support
- Service Container: automatic dependency injection, binding interfaces to implementations
Common Patterns
- Livewire: full-stack PHP components without writing JavaScript, real-time validation
- Inertia.js: build SPAs using server-side routing and client-side Vue/React
- Middleware pipeline: HTTP request filters for auth, CORS, rate limiting, and sanitization
- Queue/Jobs: async processing with Redis, database, or SQS with retry and failure handling
Best Practices
- Repository pattern for complex queries, Eloquent for simple CRUD to keep controllers lean
- Form Request validation classes instead of inline validation in controllers
- Sail for Docker development: consistent PHP/MySQL/Redis environment per project
- PHPUnit with feature tests covering HTTP endpoints, database assertions, and mail fakes
Common Code Patterns
Route::resource('posts', PostController::class)for RESTful resource routingPost::with('comments.user')->where('published', true)->get()for eager loading
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-ebc8c81dd7752026-07-31