원클릭으로
resilience-patterns
Circuit breakers, retries, timeouts, and bulkheads for fault-tolerant systems
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Circuit breakers, retries, timeouts, and bulkheads for fault-tolerant systems
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Review existing Architecture Decision Records. Flag ADRs whose aging signals may have triggered given current state. Categorizes each as valid / aged / superseded and suggests follow-up actions.
Author an Architecture Decision Record (ADR). Captures decisions with implications beyond the current change — lasts months, affects multiple files, hard to reverse. Records context, alternatives considered, consequences, and aging signals so the decision can be revisited when conditions change.
4-phase loop-detection and recovery protocol. Fires when an agent detects it is stuck or repeating the same tool call with no progress — before tool-loop-detection circuit-breaks at 30 calls.
Socratic exploration of requirements before implementation. Refines spec through targeted questions. Use when user asks to 'explore options', 'refine requirements', or mentions 'unclear requirements'.
Generate structured changelog from git history. Groups commits by type, filters noise, produces Keep a Changelog format. Single source of truth — no /commands wrapper.
Generate pipe-delimited commits: Tipo|IdTarea|YYYYMMDD|Descripción. Single source of truth — no /commands wrapper.
| name | resilience-patterns |
| description | Circuit breakers, retries, timeouts, and bulkheads for fault-tolerant systems |
| version | 1.0.0 |
| allowed-tools | ["Read","Grep","Glob","Edit","Write","Bash"] |
| load_when | ["designing_external_service_calls","handling_distributed_system_failures","implementing_retry_logic"] |
| inputs | [{"name":"failure_scenario","type":"string","required":true},{"name":"sla_requirements","type":"string","required":false}] |
| outputs | [{"name":"resilience_implementation","type":"string","format":"TypeScript/NestJS with circuit breaker + retry + timeout"},{"name":"failure_runbook","type":"checklist","format":"Condition | Pattern to apply | Configuration values"}] |
| constraints | ["every_external_call_needs_timeout","circuit_breaker_required_for_critical_dependencies","retry_with_exponential_backoff_not_fixed_interval"] |
Skill para implementar patrones de resiliencia en aplicaciones monolíticas NestJS, enfocado en integraciones externas (S3, email, APIs de terceros).
Objetivo: mejorar la tolerancia a fallos sin migrar a microservicios.
Patrones clave:
| Need | Reference |
|---|---|
| Implementar circuit breaker (CLOSED/OPEN/HALF_OPEN) | references/circuit-breaker.md |
| Retry decorator con exponential/linear/fixed backoff | references/retry-backoff.md |
Timeout decorator con Promise.race | references/timeout.md |
| Health checks (liveness, readiness, indicadores S3/Redis/DB) | references/health-checks.md |
| Degradación con fallbacks (filesystem local, cola, manual) | references/graceful-degradation.md |
Bulkhead con p-queue y pools separados | references/bulkhead.md |
# Añadir circuit breaker a servicio
/resilience-patterns add-circuit-breaker:S3Service
# Implementar retry con backoff
/resilience-patterns add-retry:EmailService
# Configurar health checks
/resilience-patterns setup-health-checks
# Auditar resiliencia de integraciones
/resilience-patterns audit