http-client
OfficialStandardize HTTP client usage across your code.
System Documentation
What problem does it solve?
This skill enables teams to standardize HTTP client usage by detecting and aligning API calls with the project's chosen client (axios, ky, or native fetch).
Core Features & Use Cases
- Client detection and automatic pattern selection for axios, ky, or fetch.
- Per-client pattern templates: Axios instance creation, request/response interceptors; Ky hooks; Native fetch wrapper with types.
- Error handling and retries: Unified error handling patterns and retry strategies per client.
- Type-safe interfaces: TypeScript generics for request/response data.
Use case: When migrating a codebase to a single HTTP client or when adding new API calls, this skill provides consistent templates and adapters to reduce boilerplate and bugs.
Quick Start
Detect the project's HTTP client automatically, then scaffold a sample API call using the detected client patterns. Integrate the generated patterns into your API utilities and run tests.
Dependency Matrix
Required Modules
None requiredComponents
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 Download link: https://github.com/opzero1/op1/archive/main.zip#http-client Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.