daffy0208 avatar

Api Integration Builder

This is a solid reference for building production-ready API integrations. It covers the practical stuff you actually hit: OAuth flows with token refresh, rate limiting strategies (both client-side and handling 429s), exponential backoff with jitter, and webhook handling. The code examples show real patterns like encrypting stored tokens, validating CSRF state, and distinguishing retryable from non-retryable errors. What I like is it assumes things will break and designs around that rather than just showing happy-path requests. Use this when you're connecting to Stripe, Slack, or any third-party API and want to avoid the common pitfalls around auth, retries, and rate limits that always seem obvious in retrospect.

skills.sh installs
244
GitHub stars
39
last updated
Aug 21, 2026

Install

$ npx -y skills add daffy0208/ai-dev-standards --skill api-integration-builder --agent claude-code

Installs into .claude/skills of the current project.

Files

API Integration Builder

Build reliable, maintainable integrations with third-party APIs.

Core Principles

  1. Assume failure: APIs will go down, rate limits will hit, data will be inconsistent
  2. Idempotency matters: Retries shouldn't cause duplicate actions
  3. User experience first: Never show users "API Error 429"
  4. Security always: Tokens are secrets, validate all data, assume malicious input

Integration Architecture

Basic Integration Flow

Your App ←→ Integration Layer ←→ Third-Party API
            ├── Auth (OAuth, API keys)
            ├── Rate limiting
            ├── Retries
            ├── Error handling
            ├── Data transformation
            └── Webhooks (if supported)

Components

  1. Authentication Layer: Handle OAuth, refresh tokens, API keys
  2. Request Manager: Make API calls with retries, rate limiting
  3. Webhook Handler: Receive real-time updates from third parties
  4. Data Sync: Keep your data in sync with external service
  5. Error Recovery: Handle failures gracefully

Authentication Patterns

API Key Authentication

Simple but limited:

Sponsors

Details

Repository
github.com/daffy0208/ai-dev-standards
Categories
Backend & APIs, Security, DevOps & CI/CD, AI & Agent Building, Debugging, Office & Documents, Finance & Trading
First seen
Jun 3, 2026

More from daffy0208/ai-dev-standards

All 49
1firebase avatarfirebase-firestore-enterprise-native-modefirebase/skillsfirebase firestore enterprise native mode240skills.sh installs
2yonatangross avatardatabase-patternsyonatangross/orchestkitDatabase design and migration patterns for Alembic migrations, schema design (SQL/NoSQL), and database versioning. Use when creating migrations, designing schem238skills.sh installs
3yonatangross avatarreact-server-components-frameworkyonatangross/orchestkitUse when building Next.js 16+ apps with React Server Components. Covers App Router, Cache Components (replacing experimental_ppr), streaming SSR, Server Actions227skills.sh installs
4davila7 avatarhmdb-databasedavila7/claude-code-templatesAccess Human Metabolome Database (220K+ metabolites). Search by name/ID/structure, retrieve chemical properties, biomarker data, NMR/MS spectra, pathways, for m222skills.sh installs
5PicsArt avatarpicsart-apiPicsArt/gen-ai-skillsGenerate and edit media via Picsart MCP API tools.222skills.sh installs
6sickn33 avatarsupabase-postgres-best-practicessickn33/antigravity-awesome-skillssupabase postgres best practices217skills.sh installs