Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.
日本語の概要は準備中です。原文の説明を表示しています。
Use when working with Laravel queues in production — Horizon dashboard, worker supervision, job metrics, balancing strategies — even when the user just says 'my jobs are piling up'.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Use this skill for anything related to Laravel Horizon:
For writing queue jobs themselves, see jobs-events.
config/queue.php, config/horizon.php (if present), and composer.json to identify the current driver, supervisors, and queues in use.maxProcesses, balance, tries, timeout based on workload; review the config block below.config/horizon.php, register supervisors and queue priority.php artisan horizon locally, hit /horizon dashboard, confirm jobs flow and metrics appear.'environments' => [
'production' => [
'supervisor-1' => [
'maxProcesses' => 10,
'balanceMaxShift' => 1,
'balanceCooldown' => 3,
'connection' => 'redis',
'queue' => ['default', 'high', 'low'],
'balance' => 'auto', // auto, simple, or false
'tries' => 3,
'timeout' => 60,
'maxTime' => 3600,
'maxJobs' => 1000,
'memory' => 128,
],
],
'local' => [
'supervisor-1' => [
'maxProcesses' => 3,
'connection' => 'redis',
'queue' => ['default', 'high', 'low'],
'balance' => 'auto',
'tries' => 3,
'timeout' => 60,
],
],
],
// Higher priority queues are listed first
'queue' => ['high', 'default', 'low'],
# Start Horizon (foreground)
php artisan horizon
# Pause / Continue
php artisan horizon:pause
php artisan horizon:continue
# Terminate gracefully (for deployments)
php artisan horizon:terminate
# Check status
php artisan horizon:status
Always terminate and restart Horizon after deploying new code:
php artisan horizon:terminate
# Supervisor will auto-restart Horizon
[program:horizon]
process_name=%(program_name)s
command=php /path/to/artisan horizon
autostart=true
autorestart=true
user=www-data
redirect_stderr=true
stdout_logfile=/var/log/horizon.log
stopwaitsecs=3600
// HorizonServiceProvider
protected function gate(): void
{
Gate::define('viewHorizon', function (User $user): bool {
return $user->isSuperuser();
});
}
| Strategy | Behavior |
|---|---|
auto | Distributes workers based on queue workload (recommended) |
simple | Round-robin across queues |
false | Fixed worker count per queue |
tags() method// Custom tags on a job
public function tags(): array
{
return ['customer:' . $this->customer->getId(), 'report'];
}
horizon:terminate ensures workers pick up new code.auto balancing — it adapts to workload automatically.maxTime — prevents workers from running forever (memory leaks).maxJobs — recycles workers after N jobs to prevent memory bloat.php artisan horizon:terminate and restart — they don't hot-reload.maxProcesses too high — each process holds a DB connection. Monitor your connection pool.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.
日本語の概要は準備中です。原文の説明を表示しています。
Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.
日本語の概要は準備中です。原文の説明を表示しています。
Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.
日本語の概要は準備中です。原文の説明を表示しています。
Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.
日本語の概要は準備中です。原文の説明を表示しています。
Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.
日本語の概要は準備中です。原文の説明を表示しています。
Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.
日本語の概要は準備中です。原文の説明を表示しています。