From aj-geddes-useful-ai-prompts-4
Integrates external APIs with standardized patterns for error handling, retry logic, authentication, and data transformation. Connects payment processors, messaging services, analytics platforms, and storage services.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aj-geddes-useful-ai-prompts-4:third-party-integrationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- [Overview](#overview)
Build robust integrations with external services using standardized patterns for API calls, error handling, authentication, and data transformation.
Minimal working example:
const axios = require("axios");
class ThirdPartyClient {
constructor(config) {
this.apiKey = config.apiKey;
this.baseUrl = config.baseUrl;
this.timeout = config.timeout || 30000;
this.retryAttempts = config.retryAttempts || 3;
this.retryDelay = config.retryDelay || 1000;
this.client = axios.create({
baseURL: this.baseUrl,
timeout: this.timeout,
headers: {
Authorization: `Bearer ${this.apiKey}`,
"Content-Type": "application/json",
},
});
}
async request(method, endpoint, data = null, options = {}) {
let lastError;
for (let attempt = 0; attempt < this.retryAttempts; attempt++) {
try {
const response = await this.client({
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Third-Party Client Wrapper | Third-Party Client Wrapper |
| Payment Processor Integration (Stripe) | Payment Processor Integration (Stripe) |
| Email Service Integration (SendGrid) | Email Service Integration (SendGrid) |
| Python Third-Party Integration | Python Third-Party Integration |
| Data Transformation | Data Transformation |
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin aj-geddes-useful-ai-prompts-4Plans third-party integrations covering OAuth, webhooks, rate limits, error handling, and testing. Use when integrating with external services like Stripe, Google, or Slack.
Guides third-party integrations: APIs, OAuth, webhooks for Stripe, Slack, Zapier, email providers. Includes build-vs-buy framework, auth flows, and maintenance tips.
Implements secure webhook systems with signature verification, retry logic, and delivery guarantees for third-party integrations, event notifications, and real-time data sync.