api-integration

Generate standardized REST/GraphQL API clients with authentication, rate limiting, and error handling.

1|Updated May 5, 2026
One-click install
npx skills add https://github.com/kollaborai/kollab --skill api-integration-kollaborai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-integration
Source: https://github.com/kollaborai/kollab/tree/main/bundles/skills/api-integration
Command: npx skills add https://github.com/kollaborai/kollab --skill api-integration-kollaborai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the common pain points of building flaky, unmaintainable API integrations that break with API changes, lack proper error handling, or expose sensitive credentials, saving developers hours of boilerplate coding and debugging.

Core Features & Use Cases

  • Standardized Client Scaffolding: Pre-built sync (requests) and async (httpx) API client templates with retry logic and connection pooling.
  • Multiple Authentication Patterns: Built-in support for API key, Basic Auth, OAuth2 client credentials, OAuth2 authorization code, and JWT authentication flows.
  • Robust Error & Rate Limit Handling: Custom exception hierarchy for specific API errors, plus token bucket and adaptive rate limiters to avoid service bans.
  • Use Case: For example, if you need to connect to a third-party payment processor API, this Skill provides all the boilerplate, auth flows, and error handling so you can focus on business logic instead of infrastructure.

Quick Start

Use the api-integration skill to build a production-ready REST client for the Salesforce API with OAuth2 authentication and automatic retry logic.

Frequently Asked Questions about api-integration

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

FAQPage Schema
How do I build a REST API client with robust error handling and retry logic?

To build a REST API client with error handling and retry logic, use standardized scaffolding templates that provide pre-built sync and async clients, custom exception hierarchies, and automated request retries for reliable connectivity.

What's the best way to implement OAuth2 authentication for third-party API integrations?

The best way to implement OAuth2 authentication for API integrations is using built-in client credential and authorization code flows, which securely manage tokens and credentials without exposing sensitive data in your application code.

How does adaptive rate limiting work to prevent API service bans?

Adaptive rate limiting prevents API service bans by utilizing token bucket algorithms to throttle requests dynamically, ensuring your API client stays within the provider's usage limits while maintaining optimal throughput.

Can I use this approach for both GraphQL and REST API consumption?

Yes, you can use this approach for both GraphQL and REST API consumption. It provides standardized patterns for request handling, validation, and credential management that apply universally across different API architectures.

Why does my API integration keep breaking when external services change their endpoints?

API integrations break when external services change endpoints due to inconsistent request validation and lack of standardized error management, which robust boilerplate patterns and custom exception hierarchies are designed to resolve.

Do I need httpx to consume asynchronous APIs reliably?

You need an async client like httpx to consume asynchronous APIs reliably, as it provides connection pooling and concurrent request handling necessary for high-throughput API integration workflows.