一键导入
resilient-check
Review Laravel workflows for retries, timeouts, idempotency, and graceful failure under partial outages.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review Laravel workflows for retries, timeouts, idempotency, and graceful failure under partial outages.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Plan safe Laravel data migrations with phased rollout, backfills, double writes, verification, and rollback.
Review Laravel frontend performance, responsiveness, and Lighthouse-impacting best practices.
Review Laravel API endpoints for validation, authorization, abuse resistance, and safer defaults.
Review a Laravel app for deployment blockers across config, queues, caching, operations, and rollback readiness.
Review Laravel migrations and query paths for missing, redundant, or risky indexes before production.
Plan a Laravel or PHP upgrade by identifying blockers, risky code paths, and the safest execution order.
| name | resilient-check |
| description | Review Laravel workflows for retries, timeouts, idempotency, and graceful failure under partial outages. |
| license | MIT |
| tags | ["laravel","php"] |
| version | 0.1.0 |
| compatible_agents | ["laravel/boost"] |
Use this skill for Laravel jobs, integrations, webhooks, scheduled tasks, listeners, notifications, or user-facing flows that must stay reliable when dependencies are slow, unavailable, or inconsistent. It is most useful when queues, Redis, Horizon, external APIs, or payment/provider callbacks are involved.
config/queue.php, config/services.php, and Horizon settings.tries, backoff, retryUntil, job timeouts, Horizon worker configuration, queue visibility/timeout alignment, and whether failures land in failed_jobs with useful context.firstOrCreate race conditions, unsafe side effects before persistence, and handlers that are not safe to replay.withoutOverlapping() or locks.High-risk failure modes, Code changes, and Operational safeguards. Prefer concrete Laravel fixes such as queue settings, locks, unique jobs, timeout changes, retry tuning, ThrottlesExceptions, or graceful fallback responses.Output expectations: return the highest-risk failure modes first, then concrete Laravel code and operational fixes, with the smallest high-impact next steps called out clearly.
Prompt 1:
Use resilient-check on our payment webhook processing flow. Focus on duplicate deliveries, idempotency, timeouts, retry storms, and safe recovery.
Prompt 2:
Review this Laravel job pipeline for resilience. We call two external APIs and workers sometimes retry the same job for hours. Prioritize the highest-risk failure modes first.
JSON:
{
"skill": "resilient-check",
"context": {
"workflow": "payment_webhook_processing",
"dependencies": ["stripe", "erp_api", "redis_queue"],
"focus": ["idempotency", "timeouts", "retries", "fallbacks"],
"files": ["app/Jobs", "app/Listeners", "config/queue.php"],
"concerns": ["duplicate_delivery", "retry_storms", "timeout_alignment"]
}
}
Code example:
final class SyncInvoiceJob implements ShouldQueue
{
public int $tries = 5;
public int $timeout = 30;
public array $backoff = [60, 300, 900];
}
Use the skill on a Laravel queue-driven integration flow with synchronous API calls, naive retries, and no deduplication. Verify that the response references job-level settings like tries, backoff, and timeouts, flags idempotency gaps, and recommends concrete Laravel resilience fixes instead of general reliability advice.