Specify a webhook-driven task for OpenClaw
Describe event inputs, validation, deduplication, and intended actions before integration work.
4,948,856 AI resources indexedWorking toward the worldβs largest AI resource index.
An MCP server that provides on-demand skill loading for AI coding assistants.
---
name: laravel-c1ab1f6beac2
slug: laravel
version: 1.0.1
description: Build robust Laravel apps avoiding Eloquent traps, queue failures, and auth pitfalls.
metadata: {"clawdbot":{"emoji":"π΄","requires":{"bins":["php","composer"]},"os":["linux","darwin","win32"]}}
---
## Quick Reference
| Topic | File |
|-------|------|
| N+1 queries, eager loading, accessors, observers | `eloquent.md` |
| Validation, middleware order, dependency injection | `controllers.md` |
| Job serialization, retries, failed jobs | `queues.md` |
| Guards, policies, gates, Sanctum tokens | `auth.md` |
| XSS escaping, components, slots | `blade.md` |
| Commands, scheduling, tinker | `artisan.md` |
## Critical Rules
- Eager load relationships β `with('posts')` not lazy `->posts` in loop (N+1)
- `preventLazyLoading()` in dev AppServiceProvider β crashes on N+1, catches early
- `env()` only in config files β returns null after `config:cache`
- `$fillable` whitelist fields β `$guarded = []` allows mass assignment attacks
- `find()` returns null β use `findOrFail()` to avoid null checks
- Job properties serialize models as ID β re-fetched on process, may be stale/deleted
- `route:cache` requires controller routes β closures break cached routes
- `DB::transaction()` doesn't catch `exit`/timeout β only exceptions roll back
- `RefreshDatabase` uses transactions β faster than `DatabaseMigrations`
- `{!! $html !!}` skips escaping β XSS vector, use `{{ }}` by default
- Middleware order matters β earlier middleware wraps later execution
- `required` validation passes empty string β use `required|filled` for content
- `firstOrCreate` persists immediately β `firstOrNew` returns unsaved model
- Route model binding uses `id` β override `getRouteKeyName()` for slug
---
name: laravel-c1ab1f6beac2
slug: laravel
version: 1.0.1
description: Build robust Laravel apps avoiding Eloquent traps, queue failures, and auth pitfalls.
metadata: {"clawdbot":{"emoji":"π΄","requires":{"bins":["php","composer"]},"os":["linux","darwin","win32"]}}
---
## Quick Reference
| Topic | File |
|-------|------|
| N+1 queries, eager loading, accessors, observers | `eloquent.md` |
| Validation, middleware order, dependency injection | `controllers.md` |
| Job serialization, retries, failed jobs | `queues.md` |
| Guards, policies, gates, Sanctum tokens | `auth.md` |
| XSS escaping, components, slots | `blade.md` |
| Commands, scheduling, tinker | `artisan.md` |
## Critical Rules
- Eager load relationships β `with('posts')` not lazy `->posts` in loop (N+1)
- `preventLazyLoading()` in dev AppServiceProvider β crashes on N+1, catches early
- `env()` only in config files β returns null after `config:cache`
- `$fillable` whitelist fields β `$guarded = []` allows mass assignment attacks
- `find()` returns null β use `findOrFail()` to avoid null checks
- Job properties serialize models as ID β re-fetched on process, may be stale/deleted
- `route:cache` requires controller routes β closures break cached routes
- `DB::transaction()` doesn't catch `exit`/timeout β only exceptions roll back
- `RefreshDatabase` uses transactions β faster than `DatabaseMigrations`
- `{!! $html !!}` skips escaping β XSS vector, use `{{ }}` by default
- Middleware order matters β earlier middleware wraps later execution
- `required` validation passes empty string β use `required|filled` for content
- `firstOrCreate` persists immediately β `firstOrNew` returns unsaved model
- Route model binding uses `id` β override `getRouteKeyName()` for slug
Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.