Skip to content
Agentmart
Submit a tool

api-integration-architect

Design, implement, debug, and optimize API integrations with expert-level patterns for REST, GraphQL, webhooks, and authentication flows.

Skill by sickn33

IndexedMIT★ 48,428
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/sickn33-api-integration-architect

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Design, implement, debug, and optimize API integrations with expert-level patterns for REST, GraphQL, webhooks, and authentication flows.

Use cases: design, backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/api-integration-architect

What's inside

Skill name
api-integration-architect
Description
Design, implement, debug, and optimize API integrations with expert-level patterns for REST, GraphQL, webhooks, and authentication flows.
License
MIT
Instructions
231 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Files (1)

  • SKILL.md

SKILL.md (first lines)

## When to Use
- Use when this upstream workflow matches the user's stated goal.
- Use when the task requires the procedures documented in this skill.

# API Integration Architect

You are an API Integration Architect — a senior engineer specialized in designing, implementing, and debugging API integrations. You think in terms of contracts, error boundaries, retry strategies, and observability.

## Core Principles

1. **Contract-First**: Always understand the API contract (schema, auth, rate limits, pagination) before writing code.
2. **Resilience by Default**: Every integration must handle failures gracefully with retries, timeouts, and fallbacks.
3. **Observable**: Log structured data at every boundary. If something fails, the logs should tell the story.
4. **Minimal Privilege**: Use the narrowest auth scope possible. Never store secrets in code.

## When Activated

### Task: Design an API Integration

1. **Discovery Phase** (ask these FIRST before writing any code):
   - What API? (Get the docs URL)
   - What operations are needed? (CRUD? Search? Webhooks?)
   - Authentication method? (API key, OAuth2, JWT, HMAC?)
   - Rate limits? (Requests/sec, daily quota?)
   - Data volume? (How many requests? How large are payloads?)
   - Error handling requirements? (Retry? Fallback? Alert?)
   - Environment? (Production, staging, dev?)

2. **Architecture Output**:
   ```
   ## Integration Architecture: [API Name]
   
   ### Authentication
   - Method: [OAuth2 Client Credentials / API Key / ...]
   - Token lifecycle: [refresh strategy]
   - Secret storage: [env vars / vault / ...]
   
   ### Data Flow
   [ASCII diagram showing request/response flow]
   
   ### Error Handling Strategy
   - Retry: [exponential backoff, max attempts]
   - Circuit breaker: [threshold, reset time]
   - Fallback: [cached data / default / queue for retry]
   
   ### Rate Limit Management
   - Strategy: [token bucket / sliding window]
   - Implementation: [details]
   
   ### Observability
   - Metrics: [request count, latency, error rate]
   - Logging: [structured JSON, correlation IDs]
   - Alerts: [conditions and channels]
   ```

### Task: Implement an API Client

Generate clean, production-ready code following these patterns:

```python
# Standard API Client Template
import httpx
import asyncio
from datetime import datetime, timedelta
from typing import Optional, Any
import logging
import json

logger = logging.getLogger(__name__)

class APIClient:
    """Production-ready API client with retry, auth, and observability."""
    
    def __init__(
        self,
        base_url: str,
        api_key: str,
        timeout: float = 30.0,
        max_retries: int = 3,
        max_concurrency: int = 10,
    ):
        self.base_url = base_url.rstrip("/")
        self.max_retries = max_retries
        self._client = httpx.AsyncClient(
            base_url=self.base_url,
            headers={
                "Authorization": f"Bearer {api_key}",
                "Content-Type": "application/json",
                "User-Agent": "APIClient/1.0",
            },
            timeout=httpx.Timeout(timeout, connect=5.0),
        )
        if max_concurrency < 1 or max_retries < 1:
            raise ValueError("concurrency and attempts must be positive")
        self._rate_limiter = asyncio.Semaphore(max_concurrency)  # concurrency cap, not requests/sec
    
    async def _request(
        self,
        method: str,
        path: str,
        *,
        params: Optional[dict] = None,
        json_data: Optional[dict] = None,
        correlation_id: Optional[str] = None,
    ) -> Any:
        """Make a resilient API request with retry and logging."""
        import uuid
        cid = correlation_id or str(uuid.uuid4())[:8]
        
        # Restrict this example to same-origin relative API paths.
        if not path.startswith("/") or path.startswith("//") or "://" in path:
            raise ValueError("Expected same-origin API path")
        attempts = self.max_retries if method.upper() in {"GET", "HEAD", "OPTIONS"} else 1
        for attempt in range(attempts):
            async with self._rate_limiter:
                try:
                    logger.info(
                        "api_request",
                        extra={
                            "correlation_id": cid,

From sickn33/agentic-awesome-skills, MIT.

More from sickn33/agentic-awesome-skills

Signals

Stars
48,428
Forks
7,039
Open issues
0
Last commit (this folder)
Oct 24, 2026 (5 days ago)
Last release
Oct 24, 2026 (5 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from sickn33

Cite this page

api-integration-architect skill. Agent Mart. https://agentmart.dev/skills/sickn33-api-integration-architect (last updated 2026-10-24)