api-consumption

Community

Resilient backend API consumption

Authormauriciodelrio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Consuming third-party APIs and processing incoming webhooks reliably is error-prone due to network failures, rate limits, slow responses, duplicate deliveries, and tight coupling to provider SDKs. This Skill provides patterns and concrete rules to avoid timeouts, duplicate side effects, service outages, and maintain testable, replaceable service abstractions.

Core Features & Use Cases

  • Typed HTTP client with configurable timeouts, retries with exponential backoff and jitter, and per-operation policies.
  • Resilience patterns: circuit breaker, rate limiter, and operation-level timeouts to protect downstream services.
  • Service abstraction & idempotency: encapsulate SDKs in typed services, map provider types to internal models, and use idempotency keys for safe retries.
  • Webhook handling: signature verification, immediate acknowledgement, and asynchronous, idempotent processing.
  • Use Case: Build a payment integration that retries safely, avoids duplicate charges via idempotency keys, enforces rate limits, and falls back when a payment provider circuit is open.

Quick Start

Create a typed HTTP client with timeout, exponential backoff retry, circuit breaker, idempotency keys, and webhook signature verification for consuming a third-party payment API.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: api-consumption
Download link: https://github.com/mauriciodelrio/delriodev-skills/archive/main.zip#api-consumption

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.