api-client-patterns

Community

Build robust HTTP clients with reusable patterns.

AuthorBPMSTC
Version1.0.0
Installs0

System Documentation

What problem does it solve?

HTTP client development often repeats boilerplate for each API, leading to inconsistent error handling and fragile integrations. This skill provides a standardized, reusable pattern library for building API clients that centralizes configuration, interceptors, and error transformation.

Core Features & Use Cases

  • Centralized configuration with a reusable axios instance (base URL, timeout, headers).
  • Request/response interceptors for authentication, logging, and consistent error handling.
  • Retry logic, cancellation support, and streaming capabilities for long-running calls.
  • Use cases include building clients for multiple services, third-party integrations, and internal tooling with predictable error semantics.

Quick Start

Install and import the API client module to start making typed requests to your backend.

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-client-patterns
Download link: https://github.com/BPMSTC/websiteagent/archive/main.zip#api-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 223,000+ vetted skills library on demand.