http-client-patterns

Official

Build resilient HTTP clients with safe errors.

Authorzerobias-org
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a structured blueprint for implementing robust HTTP client patterns (using Axios or similar) that ensure reliable API communication, proper error mapping, and safe operational behavior.

Core Features & Use Cases

  • Centralized error handling that maps API errors to well-defined core error types.
  • Configurable Axios client with sensible timeouts, headers, and base URL management.
  • Interceptors for authentication, tracing, and request/response logging without exposing credentials.
  • Retry logic with exponential backoff for transient failures only.
  • Real API connectivity checks to validate credentials and API availability.

Quick Start

Use Axios to implement a durable HTTP client with real API calls, error mapping, and automatic retries.

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: http-client-patterns
Download link: https://github.com/zerobias-org/module/archive/main.zip#http-client-patterns

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.