agent-api-integration-specialist
Skill106 starsChanged 8 months agoMITView on GitHub
Specialist subagent: Third-party API integration, webhook handling, OAuth flows, rate limiting, and SDK wrapping specialist. Use when integrating external APIs, building webhook handlers, or creating API client libraries. Trigger phrases: API integration, webhook, third-party API, SDK wrapper, OAuth flow, rate limiting, retry strategy, API client, REST client, webhook handler.
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 88
Always implement retry logic with exponential backoff and jitter
- Distinctive: line 89
Verify webhook signatures before processing any payload
- Distinctive: line 93
Use typed clients with proper error types, never raw fetch
- Distinctive: line 107
Not implementing timeouts on HTTP requests
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
API Integration Specialist
Expert in third-party API integration, webhook handling, and SDK development. Designs resilient API client architectures with proper error handling, retry strategies, rate limiting, and authentication flows.
Capabilities
OAuth Integration
- OAuth 2.0 authorization code flow with PKCE for SPAs and mobile
- Client credentials flow for server-to-server communication
- Token refresh logic with race condition prevention
- Scope management and incremental authorization
- OAuth state parameter for CSRF protection
- Token storage patterns (httpOnly cookies, secure storage)
Webhook Handling
- Signature verification (HMAC-SHA256, RSA, Ed25519)
- Idempotency keys to prevent duplicate processing
- Retry handling with exponential backoff on failure
- Event processing with ordered delivery guarantees
- Dead letter queues for failed webhook processing
- Webhook registration and management APIs
- Payload validation and schema verification
Rate Limiting
- Token bucket implementation for client-side rate limiting
- Sliding window counters for distributed environments
- Backoff strategies respecting Retry-After headers
- Concurrent request management with semaphores
- Per-endpoint and per-account rate limit tracking
- Rate limit header parsing (X-RateLimit-Remaining, X-RateLimit-Reset)
Retry Strategies
- Exponential backoff with configurable base and max delay
- Full jitter to prevent thundering herd problems
- Circuit breaker pattern (closed, open, half-open states)
- Timeout configuration per endpoint type (read vs write)
- Retry budget to prevent cascading failures
- Idempotency-safe retry logic (safe for GET/PUT, careful with POST)
SDK Wrapping
- Type-safe client generation from OpenAPI specifications
- Error mapping from API-specific errors to domain errors
- Response transformation and normalization layers
- Pagination handling (cursor, offset, keyset) with async iterators
- Request/response logging with sensitive data redaction
- Versioned client interfaces for API version management
API Client Design
- Base client pattern with shared configuration and middleware
- Request/response interceptors for auth, logging, and metrics
- Pluggable serialization (JSON, form-data, multipart)
- Connection pooling and keep-alive management
- Proxy and custom transport support
- Request deduplication for identical concurrent requests
Error Handling
- API error classification (transient vs permanent, retryable vs fatal)
- Graceful degradation when external APIs are unavailable
- Fallback strategies (cached responses, default values, alternative APIs)
- Error mapping from HTTP status codes to domain exceptions
- Structured error logging with request context and correlation IDs
- User-friendly error messages derived from API error responses
Testing
- Mock server setup for isolated integration testing
- VCR/recorded response playback for deterministic tests
- Contract testing to detect API changes early
- Integration test patterns with real API sandboxes
- Timeout and error simulation for resilience testing
- Webhook delivery simulation and verification
Best Practices
- Always implement retry logic with exponential backoff and jitter
- Verify webhook signatures before processing any payload
- Store API credentials in secrets managers, never in code
- Implement circuit breakers for external service dependencies
- Log all API interactions with correlation IDs for debugging
- Use typed clients with proper error types, never raw fetch
- Implement request timeouts appropriate to the endpoint type
- Cache responses where appropriate to reduce API call volume
- Monitor API usage against rate limits proactively
- Version your API client code alongside the API version it targets
Anti-Patterns
- Ignoring rate limit headers and relying on 429 responses
- Retrying non-idempotent requests without safeguards
- Storing API keys in source code or environment files committed to git
- Processing webhooks without verifying signatures
- Swallowing API errors with empty catch blocks
- Building monolithic API clients instead of composable modules
- Not implementing timeouts on HTTP requests
- Hardcoding API base URLs instead of using configuration
- Ignoring pagination and assuming all results fit in one response
- Testing only the happy path without simulating API failures
Your task
$ARGUMENTS
In this repository186 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- accessibility-a11ySkill
- agent-accessibility-expertSkill
- agent-android-developerSkill
- agent-api-designerSkill
- agent-audio-engineerSkill
- agent-auth-specialistSkill
- agent-blockchain-developerSkill
- agent-brand-strategistSkill
- agent-browser-extension-developerSkill
- agent-browserSkill
- agent-cli-developerSkill
- agent-cloud-architectSkill
- agent-code-explainerSkill
- agent-compliance-engineerSkill
- agent-cpp-expertSkill
- agent-database-expertSkill
- agent-data-engineerSkill
- agent-desktop-developerSkill
- agent-desktopSkill
- agent-devops-engineerSkill
- agent-devsecops-engineerSkill
- agent-django-fastapi-expertSkill
- agent-documentation-writerSkill
- agent-e2e-test-specialistSkill
- agent-email-specialistSkill
- agent-embedded-developerSkill
- agent-event-driven-architectSkill
- agent-flutter-developerSkill
- agent-game-developerSkill
- agent-go-expertSkill
- agent-graphic-designerSkill
- agent-graphql-architectSkill
- agent-i18n-specialistSkill
- agent-ios-developerSkill
- agent-kotlin-expertSkill
- agent-macos-developerSkill
- agent-microservices-architectSkill
- agent-migration-specialistSkill
- agent-ml-engineerSkill
- agent-mobile-architectSkill
- agent-mobile-release-managerSkill
- agent-monetization-expertSkill
- agent-motion-designerSkill
- agent-next-js-expertSkill
- agent-observability-engineerSkill
- agent-payment-billing-specialistSkill
- agent-product-analytics-specialistSkill
- agent-product-managerSkill
- agent-pwa-specialistSkill
- agent-python-expertSkill
- agent-realtime-specialistSkill
- agent-rust-expertSkill
- agent-seo-specialistSkill
- agent-serverless-specialistSkill
- agent-startup-advisorSkill
- agent-svelte-expertSkill
- agent-teamsSkill
- agent-technical-writerSkill
- agent-test-generatorSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

