[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F658K1GEKJPPWT56RRXE8G":3,"skill-same:01M6F658K1GEKJPPWT56RRXE8G":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":6,"ownerHtmlUrl":55,"ownerBlogUrl":56,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M6F658K1GEKJPPWT56RRXE8G","customerio-reliability-patterns",null,"Implement Customer.io reliability patterns.\nUse when building fault-tolerant integrations,\nimplementing circuit breakers, or handling failures.\nTrigger with phrases like \"customer.io reliability\", \"customer.io resilience\",\n\"customer.io circuit breaker\", \"customer.io fault tolerance\".","Dicklesworthstone\u002Fpi_agent_rust","Dicklesworthstone","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F35050222?v=4","01M6CG26AR942CSVMN1M5E3DSE","Jeff Emanuel","01M6CG26EPP71PSHW1VDS71121",1992,"MIT","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fcustomerio-pack\u002Fskills\u002Fcustomerio-reliability-patterns\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"customerio reliability patterns","patterns","reliability","when","implement","implementing","tolerance","with","trigger","io","Circuit Breaker","fault tolerance","use","edit","write","read","curl","integrations","Bash","kubectl","resilience","customer","2026-11-10 10:12:30",false,"---\nname: customerio-reliability-patterns\ndescription: |\n  Implement Customer.io reliability patterns.\n  Use when building fault-tolerant integrations,\n  implementing circuit breakers, or handling failures.\n  Trigger with phrases like \"customer.io reliability\", \"customer.io resilience\",\n  \"customer.io circuit breaker\", \"customer.io fault tolerance\".\nallowed-tools: Read, Write, Edit, Bash(kubectl:*), Bash(curl:*)\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\n---\n\n# Customer.io Reliability Patterns\n\n## Overview\nImplement reliability patterns for fault-tolerant Customer.io integrations including circuit breakers, retries, and fallbacks.\n\n## Prerequisites\n- Customer.io integration working\n- Understanding of failure modes\n- Queue infrastructure (optional)\n\n## Instructions\n\n### Pattern 1: Circuit Breaker\n```typescript\n\u002F\u002F lib\u002Fcircuit-breaker.ts\nenum CircuitState {\n  CLOSED = 'CLOSED',\n  OPEN = 'OPEN',\n  HALF_OPEN = 'HALF_OPEN'\n}\n\ninterface CircuitBreakerConfig {\n  failureThreshold: number;\n  successThreshold: number;\n  timeout: number;\n}\n\nexport class CircuitBreaker {\n  private state: CircuitState = CircuitState.CLOSED;\n  private failures: number = 0;\n  private successes: number = 0;\n  private lastFailureTime: number = 0;\n  private config: CircuitBreakerConfig;\n\n  constructor(config: Partial\u003CCircuitBreakerConfig> = {}) {\n    this.config = {\n      failureThreshold: config.failureThreshold || 5,\n      successThreshold: config.successThreshold || 3,\n      timeout: config.timeout || 30000\n    };\n  }\n\n  async execute\u003CT>(operation: () => Promise\u003CT>): Promise\u003CT> {\n    if (this.state === CircuitState.OPEN) {\n      if (Date.now() - this.lastFailureTime >= this.config.timeout) {\n        this.state = CircuitState.HALF_OPEN;\n      } else {\n        throw new Error('Circuit breaker is OPEN');\n      }\n    }\n\n    try {\n      const result = await operation();\n      this.onSuccess();\n      return result;\n    } catch (error) {\n      this.onFailure();\n      throw error;\n    }\n  }\n\n  private onSuccess(): void {\n    this.failures = 0;\n\n    if (this.state === CircuitState.HALF_OPEN) {\n      this.successes++;\n      if (this.successes >= this.config.successThreshold) {\n        this.state = CircuitState.CLOSED;\n        this.successes = 0;\n      }\n    }\n  }\n\n  private onFailure(): void {\n    this.failures++;\n    this.lastFailureTime = Date.now();\n    this.successes = 0;\n\n    if (this.failures >= this.config.failureThreshold) {\n      this.state = CircuitState.OPEN;\n    }\n  }\n\n  getState(): CircuitState {\n    return this.state;\n  }\n}\n```\n\n### Pattern 2: Retry with Jitter\n```typescript\n\u002F\u002F lib\u002Fretry.ts\ninterface RetryConfig {\n  maxRetries: number;\n  baseDelay: number;\n  maxDelay: number;\n  jitter: boolean;\n}\n\nfunction calculateDelay(attempt: number, config: RetryConfig): number {\n  const exponentialDelay = config.baseDelay * Math.pow(2, attempt);\n  const cappedDelay = Math.min(exponentialDelay, config.maxDelay);\n\n  if (config.jitter) {\n    \u002F\u002F Add 0-30% jitter to prevent thundering herd\n    return cappedDelay * (1 + Math.random() * 0.3);\n  }\n\n  return cappedDelay;\n}\n\nexport async function withRetry\u003CT>(\n  operation: () => Promise\u003CT>,\n  config: RetryConfig = { maxRetries: 3, baseDelay: 1000, maxDelay: 30000, jitter: true }\n): Promise\u003CT> {\n  let lastError: Error | undefined;\n\n  for (let attempt = 0; attempt \u003C= config.maxRetries; attempt++) {\n    try {\n      return await operation();\n    } catch (error: any) {\n      lastError = error;\n\n      \u002F\u002F Don't retry on client errors (except 429)\n      if (error.statusCode >= 400 && error.statusCode \u003C 500 && error.statusCode !== 429) {\n        throw error;\n      }\n\n      if (attempt \u003C config.maxRetries) {\n        const delay = calculateDelay(attempt, config);\n        console.log(`Retry ${attempt + 1}\u002F${config.maxRetries} after ${delay}ms`);\n        await new Promise(resolve => setTimeout(resolve, delay));\n      }\n    }\n  }\n\n  throw lastError;\n}\n```\n\n### Pattern 3: Fallback Queue\n```typescript\n\u002F\u002F lib\u002Ffallback-queue.ts\nimport { Queue, Worker } from 'bullmq';\nimport Redis from 'ioredis';\n\nconst redis = new Redis(process.env.REDIS_URL!);\n\ninterface QueuedOperation {\n  type: 'identify' | 'track';\n  userId: string;\n  data: any;\n  timestamp: number;\n  retryCount: number;\n}\n\nconst fallbackQueue = new Queue\u003CQueuedOperation>('customerio-fallback', {\n  connection: redis\n});\n\n\u002F\u002F Add to queue when circuit is open\nexport async function queueForRetry(operation: QueuedOperation): Promise\u003Cvoid> {\n  await fallbackQueue.add('retry', operation, {\n    attempts: 5,\n    backoff: {\n      type: 'exponential',\n      delay: 60000 \u002F\u002F Start with 1 minute\n    },\n    removeOnComplete: 1000,\n    removeOnFail: 5000\n  });\n}\n\n\u002F\u002F Worker to process queued operations\nconst worker = new Worker\u003CQueuedOperation>(\n  'customerio-fallback',\n  async (job) => {\n    const { type, userId, data } = job.data;\n\n    if (type === 'identify') {\n      await client.identify(userId, data);\n    } else if (type === 'track') {\n      await client.track(userId, { name: data.event, data: data.properties });\n    }\n  },\n  { connection: redis }\n);\n\nworker.on('failed', (job, error) => {\n  console.error(`Fallback job ${job?.id} failed:`, error.message);\n});\n```\n\n### Pattern 4: Graceful Degradation\n```typescript\n\u002F\u002F lib\u002Fgraceful-degradation.ts\nimport { TrackClient } from '@customerio\u002Ftrack';\nimport { CircuitBreaker } from '.\u002Fcircuit-breaker';\nimport { queueForRetry } from '.\u002Ffallback-queue';\n\nexport class ResilientCustomerIO {\n  private client: TrackClient;\n  private circuitBreaker: CircuitBreaker;\n  private fallbackEnabled: boolean;\n\n  constructor(\n    client: TrackClient,\n    options: { fallbackEnabled?: boolean } = {}\n  ) {\n    this.client = client;\n    this.circuitBreaker = new CircuitBreaker({\n      failureThreshold: 5,\n      successThreshold: 3,\n      timeout: 30000\n    });\n    this.fallbackEnabled = options.fallbackEnabled ?? true;\n  }\n\n  async identify(userId: string, attributes: Record\u003Cstring, any>): Promise\u003Cvoid> {\n    try {\n      await this.circuitBreaker.execute(() =>\n        this.client.identify(userId, attributes)\n      );\n    } catch (error) {\n      if (this.fallbackEnabled && this.circuitBreaker.getState() === 'OPEN') {\n        console.log('Circuit open, queueing for retry');\n        await queueForRetry({\n          type: 'identify',\n          userId,\n          data: attributes,\n          timestamp: Date.now(),\n          retryCount: 0\n        });\n      } else {\n        throw error;\n      }\n    }\n  }\n\n  async track(userId: string, event: string, data?: Record\u003Cstring, any>): Promise\u003Cvoid> {\n    try {\n      await this.circuitBreaker.execute(() =>\n        this.client.track(userId, { name: event, data })\n      );\n    } catch (error) {\n      if (this.fallbackEnabled && this.circuitBreaker.getState() === 'OPEN') {\n        console.log('Circuit open, queueing for retry');\n        await queueForRetry({\n          type: 'track',\n          userId,\n          data: { event, properties: data },\n          timestamp: Date.now(),\n          retryCount: 0\n        });\n      } else {\n        throw error;\n      }\n    }\n  }\n}\n```\n\n### Pattern 5: Health Checks\n```typescript\n\u002F\u002F lib\u002Fhealth-check.ts\ninterface HealthStatus {\n  healthy: boolean;\n  latency: number;\n  circuitState: string;\n  queueDepth: number;\n  lastSuccess: Date | null;\n  lastFailure: Date | null;\n}\n\nexport class CustomerIOHealthChecker {\n  private lastSuccess: Date | null = null;\n  private lastFailure: Date | null = null;\n\n  async check(): Promise\u003CHealthStatus> {\n    const start = Date.now();\n    let healthy = false;\n\n    try {\n      await this.client.identify('health-check', { _health_check: true });\n      healthy = true;\n      this.lastSuccess = new Date();\n    } catch (error) {\n      this.lastFailure = new Date();\n    }\n\n    const queueDepth = await fallbackQueue.count();\n\n    return {\n      healthy,\n      latency: Date.now() - start,\n      circuitState: circuitBreaker.getState(),\n      queueDepth,\n      lastSuccess: this.lastSuccess,\n      lastFailure: this.lastFailure\n    };\n  }\n}\n```\n\n### Pattern 6: Idempotency\n```typescript\n\u002F\u002F lib\u002Fidempotency.ts\nimport { LRUCache } from 'lru-cache';\nimport crypto from 'crypto';\n\nconst processedOperations = new LRUCache\u003Cstring, boolean>({\n  max: 100000,\n  ttl: 3600000 \u002F\u002F 1 hour\n});\n\nexport function generateIdempotencyKey(\n  userId: string,\n  operation: string,\n  data: any\n): string {\n  const payload = JSON.stringify({ userId, operation, data });\n  return crypto.createHash('sha256').update(payload).digest('hex');\n}\n\nexport async function executeIdempotent\u003CT>(\n  key: string,\n  operation: () => Promise\u003CT>\n): Promise\u003CT | null> {\n  \u002F\u002F Check if already processed\n  if (processedOperations.has(key)) {\n    console.log('Skipping duplicate operation:', key);\n    return null;\n  }\n\n  \u002F\u002F Execute operation\n  const result = await operation();\n\n  \u002F\u002F Mark as processed\n  processedOperations.set(key, true);\n\n  return result;\n}\n\n\u002F\u002F Usage\nconst key = generateIdempotencyKey(userId, 'track', { event, data });\nawait executeIdempotent(key, () => client.track(userId, { name: event, data }));\n```\n\n## Reliability Checklist\n\n- [ ] Circuit breaker implemented\n- [ ] Retry with exponential backoff\n- [ ] Fallback queue for failures\n- [ ] Health check endpoint\n- [ ] Idempotency for duplicates\n- [ ] Timeout configuration\n- [ ] Graceful shutdown handling\n\n## Error Handling\n| Pattern | When to Use |\n|---------|-------------|\n| Circuit Breaker | Prevent cascade failures |\n| Retry | Transient errors |\n| Fallback Queue | Extended outages |\n| Idempotency | Duplicate prevention |\n\n## Resources\n- [Circuit Breaker Pattern](https:\u002F\u002Fmartinfowler.com\u002Fbliki\u002FCircuitBreaker.html)\n- [Retry Best Practices](https:\u002F\u002Faws.amazon.com\u002Fbuilders-library\u002Ftimeouts-retries-and-backoff-with-jitter\u002F)\n\n## Next Steps\nAfter reliability patterns, proceed to `customerio-load-scale` for scaling.\n","# Customer.io Reliability Patterns\n\n## Overview\nImplement reliability patterns for fault-tolerant Customer.io integrations including circuit breakers, retries, and fallbacks.\n\n## Prerequisites\n- Customer.io integration working\n- Understanding of failure modes\n- Queue infrastructure (optional)\n\n## Instructions\n\n### Pattern 1: Circuit Breaker\n```typescript\n\u002F\u002F lib\u002Fcircuit-breaker.ts\nenum CircuitState {\n  CLOSED = 'CLOSED',\n  OPEN = 'OPEN',\n  HALF_OPEN = 'HALF_OPEN'\n}\n\ninterface CircuitBreakerConfig {\n  failureThreshold: number;\n  successThreshold: number;\n  timeout: number;\n}\n\nexport class CircuitBreaker {\n  private state: CircuitState = CircuitState.CLOSED;\n  private failures: number = 0;\n  private successes: number = 0;\n  private lastFailureTime: number = 0;\n  private config: CircuitBreakerConfig;\n\n  constructor(config: Partial\u003CCircuitBreakerConfig> = {}) {\n    this.config = {\n      failureThreshold: config.failureThreshold || 5,\n      successThreshold: config.successThreshold || 3,\n      timeout: config.timeout || 30000\n    };\n  }\n\n  async execute\u003CT>(operation: () => Promise\u003CT>): Promise\u003CT> {\n    if (this.state === CircuitState.OPEN) {\n      if (Date.now() - this.lastFailureTime >= this.config.timeout) {\n        this.state = CircuitState.HALF_OPEN;\n      } else {\n        throw new Error('Circuit breaker is OPEN');\n      }\n    }\n\n    try {\n      const result = await operation();\n      this.onSuccess();\n      return result;\n    } catch (error) {\n      this.onFailure();\n      throw error;\n    }\n  }\n\n  private onSuccess(): void {\n    this.failures = 0;\n\n    if (this.state === CircuitState.HALF_OPEN) {\n      this.successes++;\n      if (this.successes >= this.config.successThreshold) {\n        this.state = CircuitState.CLOSED;\n        this.successes = 0;\n      }\n    }\n  }\n\n  private onFailure(): void {\n    this.failures++;\n    this.lastFailureTime = Date.now();\n    this.successes = 0;\n\n    if (this.failures >= this.config.failureThreshold) {\n      this.state = CircuitState.OPEN;\n    }\n  }\n\n  getState(): CircuitState {\n    return this.state;\n  }\n}\n```\n\n### Pattern 2: Retry with Jitter\n```typescript\n\u002F\u002F lib\u002Fretry.ts\ninterface RetryConfig {\n  maxRetries: number;\n  baseDelay: number;\n  maxDelay: number;\n  jitter: boolean;\n}\n\nfunction calculateDelay(attempt: number, config: RetryConfig): number {\n  const exponentialDelay = config.baseDelay * Math.pow(2, attempt);\n  const cappedDelay = Math.min(exponentialDelay, config.maxDelay);\n\n  if (config.jitter) {\n    \u002F\u002F Add 0-30% jitter to prevent thundering herd\n    return cappedDelay * (1 + Math.random() * 0.3);\n  }\n\n  return cappedDelay;\n}\n\nexport async function withRetry\u003CT>(\n  operation: () => Promise\u003CT>,\n  config: RetryConfig = { maxRetries: 3, baseDelay: 1000, maxDelay: 30000, jitter: true }\n): Promise\u003CT> {\n  let lastError: Error | undefined;\n\n  for (let attempt = 0; attempt \u003C= config.maxRetries; attempt++) {\n    try {\n      return await operation();\n    } catch (error: any) {\n      lastError = error;\n\n      \u002F\u002F Don't retry on client errors (except 429)\n      if (error.statusCode >= 400 && error.statusCode \u003C 500 && error.statusCode !== 429) {\n        throw error;\n      }\n\n      if (attempt \u003C config.maxRetries) {\n        const delay = calculateDelay(attempt, config);\n        console.log(`Retry ${attempt + 1}\u002F${config.maxRetries} after ${delay}ms`);\n        await new Promise(resolve => setTimeout(resolve, delay));\n      }\n    }\n  }\n\n  throw lastError;\n}\n```\n\n### Pattern 3: Fallback Queue\n```typescript\n\u002F\u002F lib\u002Ffallback-queue.ts\nimport { Queue, Worker } from 'bullmq';\nimport Redis from 'ioredis';\n\nconst redis = new Redis(process.env.REDIS_URL!);\n\ninterface QueuedOperation {\n  type: 'identify' | 'track';\n  userId: string;\n  data: any;\n  timestamp: number;\n  retryCount: number;\n}\n\nconst fallbackQueue = new Queue\u003CQueuedOperation>('customerio-fallback', {\n  connection: redis\n});\n\n\u002F\u002F Add to queue when circuit is open\nexport async function queueForRetry(operation: QueuedOperation): Promise\u003Cvoid> {\n  await fallbackQueue.add('retry', operation, {\n    attempts: 5,\n    backoff: {\n      type: 'exponential',\n      delay: 60000 \u002F\u002F Start with 1 minute\n    },\n    removeOnComplete: 1000,\n    removeOnFail: 5000\n  });\n}\n\n\u002F\u002F Worker to process queued operations\nconst worker = new Worker\u003CQueuedOperation>(\n  'customerio-fallback',\n  async (job) => {\n    const { type, userId, data } = job.data;\n\n    if (type === 'identify') {\n      await client.identify(userId, data);\n    } else if (type === 'track') {\n      await client.track(userId, { name: data.event, data: data.properties });\n    }\n  },\n  { connection: redis }\n);\n\nworker.on('failed', (job, error) => {\n  console.error(`Fallback job ${job?.id} failed:`, error.message);\n});\n```\n\n### Pattern 4: Graceful Degradation\n```typescript\n\u002F\u002F lib\u002Fgraceful-degradation.ts\nimport { TrackClient } from '@customerio\u002Ftrack';\nimport { CircuitBreaker } from '.\u002Fcircuit-breaker';\nimport { queueForRetry } from '.\u002Ffallback-queue';\n\nexport class ResilientCustomerIO {\n  private client: TrackClient;\n  private circuitBreaker: CircuitBreaker;\n  private fallbackEnabled: boolean;\n\n  constructor(\n    client: TrackClient,\n    options: { fallbackEnabled?: boolean } = {}\n  ) {\n    this.client = client;\n    this.circuitBreaker = new CircuitBreaker({\n      failureThreshold: 5,\n      successThreshold: 3,\n      timeout: 30000\n    });\n    this.fallbackEnabled = options.fallbackEnabled ?? true;\n  }\n\n  async identify(userId: string, attributes: Record\u003Cstring, any>): Promise\u003Cvoid> {\n    try {\n      await this.circuitBreaker.execute(() =>\n        this.client.identify(userId, attributes)\n      );\n    } catch (error) {\n      if (this.fallbackEnabled && this.circuitBreaker.getState() === 'OPEN') {\n        console.log('Circuit open, queueing for retry');\n        await queueForRetry({\n          type: 'identify',\n          userId,\n          data: attributes,\n          timestamp: Date.now(),\n          retryCount: 0\n        });\n      } else {\n        throw error;\n      }\n    }\n  }\n\n  async track(userId: string, event: string, data?: Record\u003Cstring, any>): Promise\u003Cvoid> {\n    try {\n      await this.circuitBreaker.execute(() =>\n        this.client.track(userId, { name: event, data })\n      );\n    } catch (error) {\n      if (this.fallbackEnabled && this.circuitBreaker.getState() === 'OPEN') {\n        console.log('Circuit open, queueing for retry');\n        await queueForRetry({\n          type: 'track',\n          userId,\n          data: { event, properties: data },\n          timestamp: Date.now(),\n          retryCount: 0\n        });\n      } else {\n        throw error;\n      }\n    }\n  }\n}\n```\n\n### Pattern 5: Health Checks\n```typescript\n\u002F\u002F lib\u002Fhealth-check.ts\ninterface HealthStatus {\n  healthy: boolean;\n  latency: number;\n  circuitState: string;\n  queueDepth: number;\n  lastSuccess: Date | null;\n  lastFailure: Date | null;\n}\n\nexport class CustomerIOHealthChecker {\n  private lastSuccess: Date | null = null;\n  private lastFailure: Date | null = null;\n\n  async check(): Promise\u003CHealthStatus> {\n    const start = Date.now();\n    let healthy = false;\n\n    try {\n      await this.client.identify('health-check', { _health_check: true });\n      healthy = true;\n      this.lastSuccess = new Date();\n    } catch (error) {\n      this.lastFailure = new Date();\n    }\n\n    const queueDepth = await fallbackQueue.count();\n\n    return {\n      healthy,\n      latency: Date.now() - start,\n      circuitState: circuitBreaker.getState(),\n      queueDepth,\n      lastSuccess: this.lastSuccess,\n      lastFailure: this.lastFailure\n    };\n  }\n}\n```\n\n### Pattern 6: Idempotency\n```typescript\n\u002F\u002F lib\u002Fidempotency.ts\nimport { LRUCache } from 'lru-cache';\nimport crypto from 'crypto';\n\nconst processedOperations = new LRUCache\u003Cstring, boolean>({\n  max: 100000,\n  ttl: 3600000 \u002F\u002F 1 hour\n});\n\nexport function generateIdempotencyKey(\n  userId: string,\n  operation: string,\n  data: any\n): string {\n  const payload = JSON.stringify({ userId, operation, data });\n  return crypto.createHash('sha256').update(payload).digest('hex');\n}\n\nexport async function executeIdempotent\u003CT>(\n  key: string,\n  operation: () => Promise\u003CT>\n): Promise\u003CT | null> {\n  \u002F\u002F Check if already processed\n  if (processedOperations.has(key)) {\n    console.log('Skipping duplicate operation:', key);\n    return null;\n  }\n\n  \u002F\u002F Execute operation\n  const result = await operation();\n\n  \u002F\u002F Mark as processed\n  processedOperations.set(key, true);\n\n  return result;\n}\n\n\u002F\u002F Usage\nconst key = generateIdempotencyKey(userId, 'track', { event, data });\nawait executeIdempotent(key, () => client.track(userId, { name: event, data }));\n```\n\n## Reliability Checklist\n\n- [ ] Circuit breaker implemented\n- [ ] Retry with exponential backoff\n- [ ] Fallback queue for failures\n- [ ] Health check endpoint\n- [ ] Idempotency for duplicates\n- [ ] Timeout configuration\n- [ ] Graceful shutdown handling\n\n## Error Handling\n| Pattern | When to Use |\n|---------|-------------|\n| Circuit Breaker | Prevent cascade failures |\n| Retry | Transient errors |\n| Fallback Queue | Extended outages |\n| Idempotency | Duplicate prevention |\n\n## Resources\n- [Circuit Breaker Pattern](https:\u002F\u002Fmartinfowler.com\u002Fbliki\u002FCircuitBreaker.html)\n- [Retry Best Practices](https:\u002F\u002Faws.amazon.com\u002Fbuilders-library\u002Ftimeouts-retries-and-backoff-with-jitter\u002F)\n\n## Next Steps\nAfter reliability patterns, proceed to `customerio-load-scale` for scaling.\n",{"name":5,"author":46,"license":15,"version":47,"description":48,"allowed-tools":49},"Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Implement Customer.io reliability patterns.\nUse when building fault-tolerant integrations,\nimplementing circuit breakers, or handling failures.\nTrigger with phrases like \"customer.io reliability\", \"customer.io resilience\",\n\"customer.io circuit breaker\", \"customer.io fault tolerance\".\n","Read, Write, Edit, Bash(kubectl:*), Bash(curl:*)","main","90b50ed0778745a80fd5bfb13b1843d45b9e82f7","tests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fcustomerio-pack\u002Fskills\u002Fcustomerio-reliability-patterns",233,"https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust","https:\u002F\u002Fgithub.com\u002FDicklesworthstone","https:\u002F\u002Fwww.jeffreyemanuel.com\u002F","Building in NY","2026-11-15 01:54:15",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add Dicklesworthstone\u002Fpi_agent_rust --skill customerio-reliability-patterns",{"tool":65,"command":66},"bunx","bunx skills add Dicklesworthstone\u002Fpi_agent_rust --skill customerio-reliability-patterns",{"tool":68,"command":69},"pnpm","pnpm dlx skills add Dicklesworthstone\u002Fpi_agent_rust --skill customerio-reliability-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fcustomerio-pack\u002Fskills\u002Fcustomerio-reliability-patterns\u002FSKILL.md",true,[],[74,102,134,153,179,202],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":79,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":101},"01M6FCR7G5A005P364Z6ZWCJDP","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fcreative-design\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fcreative-design\u002Ftheme-factory\u002FSKILL.md",[],[83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,26,99,100],"theme factory","factory","theme","docs","toolkit","generate","artifacts","SET","fly","slides","landing","html","styling","artifact","pages","themes","you","fonts","2026-11-11 15:11:14",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":106,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":41},"01M6FEGPPK0ZTKCCM0R3E3KS33","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FSKILL.md",[],[110,111,89,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,31,94,127,128,129,130,131,132,133],"web artifacts builder","web","artifacts builder","builder","frontend","css","components","react","component","routing","state management","state","shadcn","file","ui","Tools","Tailwind","single-file","simple","ui components","multi","for","jsx","suite",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":138,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":41},"01M6FEE9VTK1W4GY21AKREJXRG","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FSKILL.md",[],[142,143,144,114,145,146,111,147,87,148,124,149,150,151,152,26,131],"testing","webapp testing","webapp","screenshots","playwright","debugging","browser","logs","applications","behavior","local",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":157,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":41},"01M6FE20F7ZTQBFWKF4MPJ2SBX","neuropixels-analysis","Neuropixels neural recording analysis. Load SpikeGLX\u002FOpenEphys data, preprocess, motion correction, Kilosort4 spike sorting, quality metrics, Allen\u002FIBL curation, AI-assisted visual analysis, for Neuropixels 1.0\u002F2.0 extracellular electrophysiology. Use when working with neural recordings, spike sorting, extracellular electrophysiology, or when the user mentions Neuropixels, SpikeGLX, Open Ephys, Kilosort, quality metrics, or unit curation.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fneuropixels-analysis\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fneuropixels-analysis\u002FSKILL.md",[],[161,162,163,164,165,166,167,168,31,169,170,171,172,173,174,175,26,176,177,178,131,22],"analysis","neuropixels analysis","spike","metrics","data","open","quality","user","recordings","Neural","motion","visual","quality metrics","unit","sorting","curation","recording","load",{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":183,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":41},"01M6FDP0PDK6F1GGX395C7625Z","skill-creator","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FSKILL.md",[],[187,188,189,190,191,192,193,194,36,195,196,197,198,199,26,131,200,22,201],"skill creator","creator","workflows","create","update","capabilities","knowledge","tool","specialized","guide","new skill","existing skill","users","Existing","new",{"skillNo":203,"name":204,"nameZh":6,"description":205,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":206,"sourceHtmlUrl":207,"categories":208,"keywords":209,"publishedAt":41},"01M6FDM8Y7VK7NYG9SM7QPA3PW","notebooklm","Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fnotebooklm\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fnotebooklm\u002FSKILL.md",[],[204,210,211,212,213,214,215,148,216,217,31,218,219,220,221,131,222],"google","browser automation","gemini","automation","auth","code","library","management","only","document","query","Citation","source"]