integration-adapter

Configure a centralized adapter boundary for external API calls with timeouts, retries, and error mapping.

1|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/velcrafting/codex-skills --skill integration-adapter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: integration-adapter
Source: https://github.com/velcrafting/codex-skills/tree/main/skills/backend/integration-adapter
Command: npx skills add https://github.com/velcrafting/codex-skills --skill integration-adapter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

External services are called in many scattered places, leading to inconsistent behavior, unreliable timeouts, and hard-to-trace failures. This skill provides a single, well-governed adapter boundary to standardize external API interactions.

Core Features & Use Cases

  • Centralized timeout and retry policies for all external calls.
  • Idempotency handling and error mapping to a shared taxonomy.
  • Observability hooks (logs/metrics/traces) aligned with repo standards and contract testing.
  • Use Case: When integrating with multiple external services, route all calls through the ExternalServiceClient to ensure consistent behavior and observability.

Quick Start

Configure and enable the ExternalServiceClient boundary to route external API calls through the adapter.

Frequently Asked Questions about integration-adapter

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

FAQPage Schema
How do I standardize external API timeouts and retries across multiple backend services?

Standardize external API timeouts and retries by routing all calls through a single adapter boundary that enforces centralized timeout configuration and bounded retry policies across backend services.

What is the best way to map external API errors to a shared taxonomy?

Map external API errors to a shared taxonomy by implementing centralized error mapping within an adapter boundary, ensuring consistent error classification across all integrated services.

How do I handle idempotency for external API calls to prevent duplicate side effects?

Handle idempotency for external API calls by configuring an adapter boundary that manages idempotency logic, preventing duplicate side effects during automatic retries of failed requests.

Can I integrate observability hooks like logs and traces for external API interactions?

You can integrate observability hooks by routing external API calls through an adapter that provides aligned logging, metrics, and traces for contract testing and failure tracing.

Why do scattered external service calls cause hard-to-trace failures and inconsistent behavior?

Scattered external service calls cause hard-to-trace failures because they lack a unified governance boundary, leading to inconsistent timeout configurations and unstandardized error handling across the codebase.

Does this API adapter approach work for backend services requiring safe retry policies?

This API adapter approach works for backend services by providing bounded retry policies and explicit timeout configuration, ensuring safe and reliable external service interactions without overlapping request duplication.