Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/vercel-reliability-patterns

@0d57af8
Run it yourself

Implement reliability patterns for Vercel deployments including circuit breakers, retry logic, and graceful degradation. Use when building fault-tolerant serverless functions, implementing retry strategies, or adding resilience to production Vercel services. Trigger with phrases like "vercel reliability", "vercel circuit breaker", "vercel resilience", "vercel fallback", "vercel graceful degradation".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/vercel-reliability-patterns

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencescircuit-breaker.md

≈196 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Circuit Breaker

Circuit Breaker

import CircuitBreaker from 'opossum';

const vercelBreaker = new CircuitBreaker(
  async (operation: () => Promise<any>) => operation(),
  {
    timeout: 10000,
    errorThresholdPercentage: 50,
    resetTimeout: 30000,
    volumeThreshold: 10,
  }
);

// Events
vercelBreaker.on('open', () => {
  console.warn('Vercel circuit OPEN - requests failing fast');
  alertOps('Vercel circuit breaker opened');
});

vercelBreaker.on('halfOpen', () => {
  console.info('Vercel circuit HALF-OPEN - testing recovery');
});

vercelBreaker.on('close', () => {
  console.info('Vercel circuit CLOSED - normal operation');
});

// Usage
async function safeVercelCall<T>(fn: () => Promise<T>): Promise<T> {
  return vercelBreaker.fire(fn);
}

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides architectural patterns and code templates for implementing reliability in Vercel deployments, including circuit breakers and retry logic. It uses standard libraries and references the author's official domains.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 months ago
What it can do
Reads files Edits files
version
1.18.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "saas",
  "vercel",
  "reliability",
  "resilience",
  "patterns"
]
All 3 allowed tools
ReadWriteEdit
Other metadata
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/vercel-reliability-patterns