api-client

Installation
SKILL.md

API Client Skill

Patterns for fetch-based API communication with robust error handling, retry logic, and response caching.

Philosophy

  1. Native fetch() only - No axios or other libraries
  2. Errors should be explicit - No swallowed promises
  3. Requests should be cancellable - Use AbortController
  4. Fail gracefully - Handle network issues elegantly

Base Fetch Wrapper

A typed wrapper around fetch with consistent error handling:

/**
Related skills
Installs
44
GitHub Stars
1
First Seen
Feb 15, 2026