hadyfayed/laravel-agent/job-make
Claude Code and agent skill by hadyfayed/laravel-agent
- community
Checking that the SKILL.md file is still in the repository.
Generate a queued job with retries/backoff/middleware; when creating async jobs.
Install
npx vskill@latest install hadyfayed/laravel-agent/job-makeSKILL.md
The same SKILL.md was published earlier as hadyfayed/laravel-agent/job-make.
Task
Generate a queue-based job, event, listener, or notification component with retry strategies and middleware support.
Input
- Name: Component name in Pascal case (e.g.,
ProcessOrder,SendInvoice,UserRegistered) - Type: Component type (default:
job) job— Queued job with handle logicevent— Broadcast-able event (optionally with listeners)listener— Event listener that performs worknotification— Multi-channel notification (mail, SMS, Slack)all— Event + Listener + Notification combo
Steps
- Create the base component(s):
``bash php artisan make:job <Name> # Queued job php artisan make:event <Name> # Event php artisan make:listener <Name> # Event listener php artisan make:notification <Name> # Notification ``
- Configure retries and backoff (for jobs and listeners):
``php public $tries = 3; public $backoff = [10, 60, 300]; // seconds: 10s, 1m, 5m public $timeout = 120; ``
- Add middleware (if needed for rate limiting, unique constraints):
``php public function middleware(): array { return [new WithoutOverlapping($this->orderId)]; } ``
- Implement handle() or handle(EventName $event) with the business logic.
- Wire event listener to your event (in
app/Providers/EventServiceProvider.php):
``php protected $listen = [ \App\Events\OrderCreated::class => [ \App\Listeners\SendOrderConfirmation::class, ], ]; ``
- Dispatch the job/event:
```php // Direct job dispatch ProcessOrder::dispatch($order);
// Event with listeners event(new OrderCreated($order));
// Queued job from event listener ProcessOrder::dispatch($order)->delay(now()->addMinutes(5)); ```
Reference
For advanced queue patterns (batches, chains, broadcasting, job chaining, dead-letter handling), see the laravel-queue reference skill in the plugin.
Queue configuration (.env)
For high-throughput: use redis or sqs.
Key queue features
- Retries: Auto-retry failed jobs with exponential backoff
- Middleware: Prevent job overlaps, rate limiting, unique constraints
- Batches: Dispatch and track multiple jobs as one unit
- Chains: Execute jobs in sequence, pass output between jobs
- Delays: Schedule jobs for future execution
- Broadcasting: Send real-time updates to clients
- Timeouts: Prevent hung jobs from blocking the queue
Testing queue jobs
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/job-make/SKILL.md
Popularity
- Repository stars
- 13
- Repository forks
- 1
- 7-day trend score
- 13
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hadyfayed/laravel-agent/job-make)