본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)48k · #3774

api-integration-architect

하는 일

이 API 통합 설계자는 서로 다른 소프트웨어 시스템 사이의 API 연결을 계획하고, 만들고, 고치는 데 도움을 줍니다. 이 연결이 안정적이고 안전하도록 합니다.

사용하는 경우

  • ✓두 소프트웨어 시스템을 연결하는 방법을 계획할 때.
  • ✓시스템 사이의 연결이 반복적으로 실패할 때.
  • ✓한 시스템이 다른 시스템과 어떻게 소통할지 정의할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/api-integration-architect/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/api-integration-architect/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 판매 앱을 재고 시스템에 연결해야 합니다. 인증과 오류 처리를 어떻게 계획해야 할까요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

먼저 연결하려는 API의 세부 사항(보안 규칙, 사용 한도 등)을 파악합니다. 그다음 자세한 계획을 제안하고, 이 연결을 안정적으로 만들기 위한 코드를 생성할 수도 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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:

# 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,
        rate_limit_rps: float = 10.0,
    ):
        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),
        )
        self._rate_limiter = asyncio.Semaphore(int(rate_limit_rps))
    
    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]
        
        for attempt in range(self.max_retries):
            async with self._rate_limiter:
                try:
                    logger.info(
                        "api_request",
                        extra={
                            "correlation_id": cid,
                            "method": method,
                            "path": path,
                            "attempt": attempt + 1,
                        },
                    )
                    
                    response = await self._client.request(
                        method, path, params=params, json=json_data
                    )
                    response.raise_for_status()
                    
                    logger.info(
                        "api_success",
                        extra={
                            "correlation_id": cid,

…
자주 묻는 질문

API란 무엇인가요?

API는 식당의 메뉴와 같습니다. 무엇을 주문(정보 또는 작업)할 수 있는지, 그리고 어떻게 주문하는지 알려 줍니다.

‘통합(integration)’은 무엇을 뜻하나요?

두 개 이상의 소프트웨어 시스템이 소통하고 마치 하나처럼 함께 작동하도록 만드는 것을 뜻합니다.

‘회복력(resilience)’이 왜 중요한가요?

일시적인 네트워크 문제 같은 일이 생겨도 연결이 계속 작동하거나 빠르게 복구된다는 뜻입니다.

상세 정보

작성자의 원본 설명

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

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#3774
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬