api-integration-builder

Generate TypeScript API clients with authentication, retry, and rate limiting.

33|1|Updated Oct 17, 2025
One-click install
npx skills add https://github.com/Toowiredd/claude-skills-automation --skill api-integration-builder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-integration-builder
Source: https://github.com/Toowiredd/claude-skills-automation/tree/main/skills/api-integration-builder
Command: npx skills add https://github.com/Toowiredd/claude-skills-automation --skill api-integration-builder

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Integrating with third-party APIs involves significant boilerplate: setting up authentication, handling retries, managing rate limits, and defining types. This is time-consuming and error-prone. This Skill automates the creation of robust API clients.

Core Features & Use Cases

  • Full-Featured Client Generation: Creates complete API clients with TypeScript types, authentication, retry logic, rate limiting, and error handling.
  • Multiple Auth Types: Supports API keys, OAuth, Bearer tokens, and Basic authentication.
  • Built-in Resilience: Includes exponential backoff retry logic and sliding window rate limiting.
  • Use Case: You need to integrate with the Stripe API. You say "integrate Stripe API for customers and payments." The api-integration-builder generates a full TypeScript client with all Stripe endpoints, API key authentication, retry logic, rate limiting, and even mock responses, saving you days of manual implementation.

Quick Start

Describe the API you want to integrate:

integrate Stripe API for customers and payments create an API client for my custom REST API at api.myapp.com

The skill will generate a complete client library.

Frequently Asked Questions about api-integration-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a TypeScript API client with authentication and retry logic?

Generate a TypeScript API client by describing your API integration needs—name, base URL, authentication type, and endpoints. The Skill automatically produces a complete client with type-safe schemas, built-in retry logic with exponential backoff, rate limiting, error handling, and mock responses, ready for production deployment.

What authentication types does an API client generator support?

API client generation supports multiple authentication methods: API keys, OAuth, Bearer tokens, and Basic authentication. Each auth type is handled through a pluggable authentication module, letting you switch strategies without rewriting endpoint logic.

Can I integrate third-party APIs like Stripe or SendGrid without writing boilerplate code?

Yes. Describe the API you want to integrate—such as Stripe for payments or SendGrid for email—and the generator creates a full TypeScript client with all endpoints, authentication, retry strategies, rate limiting, and mock responses, eliminating days of manual setup.

How does rate limiting work in a generated API client?

Rate limiting uses sliding window logic to enforce request quotas and prevent hitting API limits. The generated rate-limiter module is modular and configurable, letting you set thresholds per API and handle backpressure gracefully without manual throttling code.

What does a generated API client project structure include?

The generated project includes client.ts for request handling, types.ts for TypeScript schemas, auth.ts for authentication logic, errors.ts for error mapping, retry.ts for exponential backoff, rate-limiter.ts for request throttling, and mocks.ts for testing—a complete, modular layout ready to deploy.

Do I need API documentation to generate a client?

API documentation is optional but recommended. Providing documentation enables auto-fetching of endpoints and schemas, accelerating client generation. Without it, you can manually specify endpoints, base URLs, and authentication details.