third-party-integration

Isolate third-party APIs behind adapters with timeouts and retries.

4|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/thejordanleopold/claude-code-skills-distilled --skill third-party-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: third-party-integration
Source: https://github.com/thejordanleopold/claude-code-skills-distilled/tree/main/third-party-integration
Command: npx skills add https://github.com/thejordanleopold/claude-code-skills-distilled --skill third-party-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Integrates external APIs and services reliably by isolating third-party code behind adapters and enforcing boundary translation so your domain remains stable even when dependencies change, rate-limit, or fail.

Core Features & Use Cases

  • Adapter boundary (Anti-Corruption Layer) translates external models into your domain, preventing leakage of third-party schemas.
  • Interface-first design defines the required capabilities before implementing a provider, enabling testability and swapability.
  • Resilient API client patterns with authentication, timeouts, retries, and sensible error handling for robust integrations.
  • Webhook handling and idempotency verify signatures, acknowledge quickly, and deduplicate events to avoid processing duplicates.
  • Payment integration patterns (Stripe) with safe idempotent charges and clear lifecycle handling.
  • Testing with fake implementations to simulate external services in unit and integration tests.

Quick Start

Configure a resilient third-party integration with an adapter layer, enabling webhook verification and idempotent API calls.

Frequently Asked Questions about third-party-integration

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

FAQPage Schema
How do I isolate third-party API schemas from my domain logic?

To isolate third-party API schemas, use an adapter boundary that translates external models into your domain, preventing leakage and keeping your core logic stable even when dependencies change or fail.

What's the best way to handle webhook idempotency and verify signatures?

Handling webhook idempotency requires verifying signatures, acknowledging quickly, and deduplicating events to avoid processing duplicates, ensuring reliable webhook processing across your integration lifecycle.

How do I build a resilient API client with timeouts and retries?

Building a resilient API client involves implementing authentication, timeouts, and retries with sensible error handling to ensure robust integrations that withstand rate-limiting and external service failures.

How do I test external API integrations without hitting live services?

To test external API integrations without live services, use fake implementations to simulate external services in unit and integration tests, leveraging interface-first design for testability and swapability.

How do I implement safe idempotent charges for payment integrations?

Implementing safe idempotent charges for payment integrations requires clear lifecycle handling and idempotent API calls, ensuring duplicate charge attempts do not result in double billing.

Do I need an Anti-Corruption Layer for my external API integration?

You need an Anti-Corruption Layer for external API integration when you want to enforce boundary translation, isolating third-party code so your domain remains stable against schema changes and dependency failures.