adobe-reliability-patterns

Featured

Implement reliability patterns for Adobe APIs: circuit breakers for IMS/Firefly, idempotency for PDF Services operations, graceful degradation when Adobe is down, and dead letter queues for failed async jobs. Trigger with phrases like "adobe reliability", "adobe circuit breaker", "adobe fallback", "adobe resilience", "adobe graceful degradation".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Adobe Reliability Patterns ## Overview Production-grade reliability patterns for Adobe API integrations. Adobe APIs present unique challenges: IMS tokens expire after 24h, Firefly/Photoshop jobs are async with variable completion times, and rate limits vary by API. These patterns address each failure mode. ## Prerequisites - Understanding of circuit breaker pattern - `opossum` installed for circuit breaker (`npm install opossum`) - Queue infrastructure (BullMQ/Redis) for dead letter queue - Caching layer for fallback data ## Instructions ### Pattern 1: Circuit Breaker per Adobe API Different Adobe APIs fail independently — use separate circuit breakers: ```typescript import CircuitBreaker from 'opossum'; // IMS circuit breaker (auth failures cascade to everything) const imsBreaker = new CircuitBreaker( async () => { const res = await fetch('https://ims-na1.adobelogin.com/ims/token/v3', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: new URLSearchParams({ client_id: process.env.ADOBE_CLIENT_ID!, client_secret: process.env.ADOBE_CLIENT_SECRET!, grant_type: 'client_credentials', scope: process.env.ADOBE_SCOPES!, }), }); if (!res.ok) throw new Error(`IMS ${res.status}`); return res.json(); }, { timeout: 10_000, // IMS should respond in 10s errorThresholdPercentage: 30, // Open after 30% errors resetTimeout: 60_000, // ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category