api-client
REST API client builder with authentication, error handling, retry logic, and request management. Supports OAuth, JWT, API keys. Use when building API integrations, creating API clients, or working with REST services.
npx skills add majiayu000/claude-skill-registry --skill api-client-skill-adaptationio-skrillz-4 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# API Client Builder ## Overview Build robust REST API clients with authentication, comprehensive error handling, automatic retries, and request/response management. ## Quick Start ### Basic API Client ```javascript const client = new APIClient({ baseURL: 'https://api.example.com', apiKey: process.env.API_KEY }); const response = await client.get('/users'); console.log(response.data); ``` ## Features - ✓ Multiple authentication methods (API key, OAuth, JWT) - ✓ Automatic retry with exponential backoff - ✓ Request/response logging - ✓ Error classification and handling - ✓ Rate limiting support - ✓ Request timeout configuration ## Workflow ### Step 1: Configure Client Create client with base configuration: ```javascript const client = new APIClient({ baseURL: 'https://api.example.com', timeout: 5000, retries: 3 }); ``` ### Step 2: Add Authentication See [references/authentication-guide.md](references/authentication-guide.md) for all methods. **API Key**: ```javascript client.setAuth({ type: 'apiKey', key: process.env.API_KEY }); ``` **OAuth 2.0**: ```javascript client.setAuth({ type: 'oauth', clientId: process.env.CLIENT_ID, clientSecret: process.env.CLIENT_SECRET }); ``` ### Step 3:
- Overview
- Quick Start
- Basic API Client
- Features
- Workflow
- Step 1: Configure Client
- Step 2: Add Authentication
- Step 3: Make Requests
- Step 4: Handle Errors
- Configuration
- Complete Configuration Options
- Authentication Methods
- Method 1: API Key
- Method 2: OAuth 2.0
python scripts/validate-config.py config.json
What does the api-client skill do?
REST API client builder with authentication, error handling, retry logic, and request management. Supports OAuth, JWT, API keys. Use when building API integrations, creating API clients, or working with REST services.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill api-client-skill-adaptationio-skrillz-4 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
