Implement background jobs with queues, workers, batches, chains, events, broadcasting, and failure handling. Use when processing async tasks, sending emails, or handling long-running operations.
/plugin marketplace add fusengine/claude-code-plugins/plugin install fuse:laravel@fusengine-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
docs/broadcasting.mddocs/cache.mddocs/events.mddocs/horizon.mddocs/mail.mddocs/notifications.mddocs/pulse.mddocs/queues.mddocs/redis.mddocs/scheduling.mddocs/telescope.md<?php
declare(strict_types=1);
namespace App\Jobs;
final class SendWelcomeEmail implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
public int $tries = 3;
public int $backoff = 60;
public function __construct(
public readonly User $user,
) {}
public function handle(EmailService $emailService): void
{
$emailService->sendWelcome($this->user);
}
public function failed(\Throwable $exception): void
{
Log::error('Welcome email failed', ['user_id' => $this->user->id]);
}
}
// Event
class OrderShipped
{
public function __construct(
public readonly Order $order,
) {}
}
// Listener
class SendShipmentNotification
{
public function handle(OrderShipped $event): void
{
$event->order->user->notify(new OrderShippedNotification($event->order));
}
}
// Dispatch
OrderShipped::dispatch($order);
Bus::batch([
new ProcessPodcast($podcast1),
new ProcessPodcast($podcast2),
])
->then(fn (Batch $batch) => Log::info('All completed!'))
->catch(fn (Batch $batch, Throwable $e) => Log::error('Failed'))
->dispatch();
This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.