From superpowers-laravel
Operate and verify Laravel queues with or without Horizon: start safe workers, handle failures and retries, apply best patterns, and test with Bus::fake() and integrations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers-laravel:queues-and-horizonThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run workers safely, verify execution, and test job behavior.
Run workers safely, verify execution, and test job behavior.
# Start worker
sail artisan queue:work --queue=high,default --tries=3 --backoff=5 # or: php artisan queue:work --queue=high,default --tries=3 --backoff=5
# Horizon (if installed)
sail artisan horizon # or: php artisan horizon
# Failed jobs
sail artisan queue:failed # or: php artisan queue:failed
sail artisan queue:retry all # or: php artisan queue:retry all
Log::warning/::error with context in jobsBus::fake() to assert dispatching in unit testsnpx claudepluginhub jpcaparas/superpowers-laravel --plugin superpowers-laravelGuides Laravel Horizon queue operations: naming/tags, worker concurrency, failure handling with idempotency, metrics/dashboards for throughput/failures, and testing with Bus::fake(). Useful for observable, reliable queues.
Implement background jobs with queues, workers, batches, chains, middleware, and failure handling. Use when processing async tasks or handling long-running operations.
Provides Laravel queue best practices: job structure, dispatch patterns, middleware, chaining, batching, retries, and error handling. Useful for reliable async task processing.