Communitygithub.com

API 버전 관리 및 하위 호환성

API 마이그레이션 전략, 지원 중단 워크플로우, 헤더/URL/콘텐츠 버전 관리를 제공합니다. 활성화 키워드: API 버전 관리, 하위 호환성, 지원 중단, 변경 사항, API 마이그레이션, v1 v2, sunset 헤더. 대상 아님: 스키마 진화(schema-evolution-manager), 게이트웨이 라우팅(api-gateway-reverse-proxy-expert).

API 버전 관리 및 하위 호환성란 무엇인가요?

이 스킬은 API 버전 관리 및 하위 호환성을 위한 포괄적인 프레임워크를 제공합니다. URL 경로 기반 버전 관리(/v1/, /v2/), 헤더 기반 버전 관리(API-Version), 콘텐츠 협상(Accept 헤더) 등 다양한 전략을 지원하며, RFC 8594 Sunset 헤더를 통한 지원 중단 워크플로우를 포함합니다. URL 버전 관리, 헤더 버전 관리, 콘텐츠 협상, 지원 중단, OpenAPI 3.1 오버레이, Optic, Bump.sh와 같은 도구를 아우릅니다. 변경 사항을 분류하고(추가, 수정, 제거) 적절한 버전 관리 전략을 선택하며, 변경이 하위 호환성을 깨뜨리는 경우 최소 6개월의 병행 운영 기간을 권장합니다. 이 스킬은 Express 라우터를 사용한 버전별 라우팅 예제, 날짜 기반 버전 관리(Stripe 모델), 그리고 너무 이른 버전 관리, 지원 중단 일정 부재, 컨트롤러 복사 등의 안티패턴을 피하는 모범 사례를 안내합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/curiositech/windags-skills/tree/HEAD/skills/api-versioning-backward-compatibility

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

API 버전 관리 및 하위 호환성은(는) 무엇을 하나요?

기존 소비자를 중단시키지 않고 우아하게 진화하는 API 버전 관리 전략을 설계합니다.

활성화 트리거

활성화 키워드: "API 버전 관리", "하위 호환성", "지원 중단", "변경 사항", "API 마이그레이션", "v1 v2", "sunset 헤더", "API 진화", "비호환 변경"

대상 아님: 데이터 스키마 진화 → schema-evolution-manager | 게이트웨이 버전 라우팅 → api-gateway-reverse-proxy-expert | GraphQL 지원 중단 → graphql-server-architect

빠른 시작

  1. 변경 사항 분류 — 추가(안전), 수정(잠재적 중단), 제거(중단)
  2. 전략 선택 — URL 경로(/v2/), 헤더(API-Version), 또는 콘텐츠 협상
  3. Sunset 헤더 구현 — RFC 8594는 소비자에게 이전 버전의 종료 시점을 알려줍니다.
  4. 버전 병행 운영 — 주요 버전 변경 시 최소 6개월 중복 운영
  5. 도입 모니터링 — 버전별 트래픽을 추적하여 언제 폐기할지 결정

핵심 기능

영역기술
URL 버전 관리/api/v1/, /api/v2/ 경로 기반 라우팅
헤더 버전 관리API-Version: 2024-01-15, Accept-Version
콘텐츠 협상Accept: application/vnd.myapi.v2+json
지원 중단Sunset 헤더 (RFC 8594), Deprecation 헤더
도구OpenAPI 3.1 오버레이, Optic, Bump.sh

아키텍처 패턴

버전 관리 전략 결정 트리

변경 사항이 추가만 있습니까? (새 필드, 새 엔드포인트)
  ├─ 예 → 버전 범프 불필요 (하위 호환 가능)
  └─ 아니오 → 필드 이름 변경/타입 변경인가?
       ├─ 예 → 기존 필드와 새 필드를 모두 유지할 수 있는가?
       │    ├─ 예 → 새 필드 추가, 기존 필드 지원 중단 (마이너 버전)
       │    └─ 아니오 → 주요 버전 범프 (v1 → v2)
       └─ 아니오 → 제거인가?
            └─ 예 → 지원 중단 기간을 포함한 주요 버전 범프

병행 버전 배포

// Express 라우터를 사용한 버전 기반 라우팅
import { Router } from 'express';

const v1Router = Router();
const v2Router = Router();

// v1: { name: string } 반환
v1Router.get('/users/:id', async (req, res) => {
  const user = await getUser(req.params.id);
  res.json({ name: user.fullName }); // 레거시 형태
});

// v2: { firstName, lastName, displayName } 반환
v2Router.get('/users/:id', async (req, res) => {
  const user = await getUser(req.params.id);
  res.json({
    firstName: user.firstName,
    lastName: user.lastName,
    displayName: user.fullName,
  });
});

app.use('/api/v1', v1Router);
app.use('/api/v2', v2Router);

// v1용 Sunset 헤더 미들웨어
v1Router.use((req, res, next) => {
  res.set('Sunset', 'Sat, 01 Nov 2026 00:00:00 GMT');
  res.set('Deprecation', 'true');
  res.set('Link', '</api/v2>; rel="successor-version"');
  next();
});

날짜 기반 버전 관리 (Stripe 모델)

API-Version: 2026-03-15

변경 사항은 정수가 아닌 날짜에 연결됩니다:
  2026-01-01 → 기준선
  2026-03-15 → `name`을 `display_name`으로 이름 변경
  2026-06-01 → `legacy_field` 제거

서버는 버전이 명시되지 않은 요청을 계정의 기본 버전으로 고정합니다.
각 버전은 내부 표준 모델 위의 변환 계층입니다.

안티패턴

  1. 너무 이른 버전 관리 — 대부분의 변경은 추가적이므로 버전 범프가 필요하지 않습니다. 필드를 자유롭게 추가하세요.
  2. Sunset 일정 없음 — 구체적인 종료 날짜 없이 지원 중단하면 버전이 영원히 유지됩니다.
  3. 전체 컨트롤러 복사 — 비즈니스 로직을 버전별로 중복하지 말고 변환/어댑터 계층을 사용하세요.
  4. 알려지지 않은 필드 무시 — API는 수용적인 리더여야 합니다. 입력에서 알려지지 않은 필드는 무시하세요(Postel의 법칙).
  5. 마이너 버전에서 호환되지 않는 변경 — 소비자가 의존했다면, 의도와 관계없이 제거는 호환되지 않습니다.

품질 체크리스트

  • 추가 변경(새 필드, 새 엔드포인트)은 버전 범프 없이 배포
  • 호환되지 않는 변경은 6개월 이상의 지원 중단 기간과 함께 주요 버전 필요
  • 지원 중단된 버전에 Sunset 헤더(RFC 8594) 설정
  • Link 헤더가 소비자를 후속 버전으로 안내
  • 버전별 트래픽 모니터링으로 마이그레이션 진행 상황 추적
  • 버전별 OpenAPI 사양 게시 및 diff 도구(Optic/Bump.sh) 사용
  • 소비자 알림 계획: 변경 로그, 이메일, 대시보드 경고
  • 버전 라우팅은 애플리케이션 코드가 아닌 게이트웨이 수준에서 처리
  • 통합 테스트로 하위 호환성 검증(계약 테스트)

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

curiositech/windags-skills

Expert in 2000s-era music visualization (Milkdrop, AVS, Geiss) and modern WebGL implementations. Specializes in Butterchurn integration, Web Audio API AnalyserNode FFT data, GLSL shaders for audio-reactive visuals, and psychedelic generative art. Activate on "Milkdrop", "music visualization", "WebGL visualizer", "Butterchurn", "audio reactive", "FFT visualization", "spectrum analyzer". NOT for simple bar charts/waveforms (use basic canvas), video editing, or non-audio visuals.

curiositech/windags-skills

Expert legal research agent for finding and scraping expungement data state by state. Knows authoritative sources, URL patterns, Firecrawl configuration, and 2026 legal landscape.

curiositech/windags-skills

Expert in 3D computer vision labeling tools, workflows, and AI-assisted annotation for LiDAR, point clouds, and sensor fusion. Covers SAM4D/Point-SAM, human-in-the-loop architectures, and vertical-specific training strategies. Activate on '3D labeling', 'point cloud annotation', 'LiDAR labeling', 'SAM 3D', 'SAM4D', 'sensor fusion annotation', '3D bounding box', 'semantic segmentation point cloud'. NOT for 2D image labeling (use clip-aware-embeddings), general ML training (use ml-engineer), video annotation without 3D (use computer-vision-pipeline), or VLM prompt engineering (use prompt-engineer).

curiositech/windags-skills

Implement WCAG 2.2 AA/AAA compliance with automated testing, keyboard navigation, screen reader support, and focus management. Activate on: accessibility audit, WCAG compliance, keyboard navigation, screen reader, aria attributes, axe-core, focus trap. NOT for: design-level accessibility review (use design-accessibility-auditor), color contrast only (use css-in-js-architect).

curiositech/windags-skills

Time-blind friendly planning, executive function support, and daily structure for ADHD brains. Specializes in realistic time estimation, dopamine-aware task design, and building systems that actually work for neurodivergent minds.

curiositech/windags-skills

Designs digital experiences for ADHD brains using neuroscience research and UX principles. Expert in reducing cognitive load, time blindness solutions, dopamine-driven engagement, and compassionate design patterns. Activate on 'ADHD design', 'cognitive load', 'accessibility', 'neurodivergent UX', 'time blindness', 'dopamine-driven', 'executive function'. NOT for general accessibility (WCAG only), neurotypical UX design, or simple UI styling without ADHD context.

curiositech/windags-skills

>- Apply crisis decision-making research to agent routing, uncertainty triage, and coordination failure analysis in time-pressured systems. Use when diagnosing handoff failures, analytical paralysis, or expert judgment under incomplete information. NOT for routine coding, simple CRUD design, or static single-agent tasks with complete information.

curiositech/windags-skills

Extend and modify the admin dashboard, developer portal, and operations console. Use when adding new admin tabs, metrics, monitoring features, or internal tools. Activates for dashboard development, analytics, user management, and internal tooling.

curiositech/windags-skills

Conversation patterns and interaction protocols for multi-agent systems. Covers request/response, pub/sub, blackboard, delegation chains, debate, critique, consensus, fan-out/fan-in, supervisor-worker, and peer negotiation. Deep analysis of AutoGen conversation patterns, CrewAI delegation, LangGraph state passing, and FIPA-ACL performatives. Teaches how to design what agents say to each other and in what order. Activate on: "agent conversation", "agent protocol", "multi-agent debate", "agent delegation", "supervisor worker pattern", "agent voting", "consensus protocol", "fan-out fan-in", "agent negotiation", "blackboard pattern", "agent dialogue", "conversation topology", "agent handoff". NOT for: wire format or serialization (use agent-interchange-formats), orchestration infrastructure (use agentic-infrastructure-2026), single agent behavior (use agentic-patterns).

curiositech/windags-skills

Meta-agent for creating new custom agents, skills, and MCP integrations. Expert in agent design, MCP development, skill architecture, and rapid prototyping. Activate on 'create agent', 'new skill', 'MCP server', 'custom tool', 'agent design'. NOT for using existing agents (invoke them directly), general coding (use language-specific skills), or infrastructure setup (use deployment-engineer).

curiositech/windags-skills

AI-powered calendar management and agent-based scheduling coordination. Covers calendar APIs (Google Calendar, CalDAV/iCal), AI scheduling assistants (Reclaim, Clockwise, Motion, Cal.com), building custom calendar agents with MCP, multi-calendar merging, timezone management, focus block protection, meeting fatigue detection, and agent-to-agent meeting negotiation protocols. Activate on: "calendar agent", "AI scheduling", "calendar coordination", "meeting scheduling", "calendar API", "focus time protection", "calendar optimization", "Google Calendar MCP", "Reclaim", "Clockwise", "Motion", "Cal.com", "smart scheduling", "calendar-aware agent", "timezone scheduling", "agent negotiation meetings". NOT for: manual calendar UI component design (use form-validation-architect), project management scheduling or Gantt charts (use project-management-guru-adhd), general time-tracking or pomodoro apps (use adhd-daily-planner for time-awareness), building the agent itself from scratch (use agent-creator).

curiositech/windags-skills

Build and adopt production AI agent infrastructure in 2026. Covers framework selection (LangGraph, CrewAI, AutoGen, MCP), orchestration patterns, evaluation, observability, memory systems, and tool use. Also covers the SOCIAL dimension: how to sell agent infrastructure internally, change management, measuring ROI, building trust in autonomous systems, and scaling adoption across teams. Activate on: "agent infrastructure", "agent framework comparison", "which agent framework", "sell AI tools internally", "agent adoption", "agent observability", "agent evaluation", "MCP architecture", "agentic mesh", "enterprise AI agents", "AI change management", "agent ROI". NOT for: building specific agents (use ai-engineer), designing agent behavior patterns (use agentic-patterns), prompt tuning (use prompt-engineer).

curiositech/windags-skills

Fundamental patterns for effective agentic behavior. Teaches decomposition, tool orchestration, error recovery, context management, quality self-assessment, and knowing when to stop. Model-agnostic principles that make any agent more effective regardless of domain. Activate on: "how should I structure this agent", "agentic workflow", "agent patterns", "multi-step task", "tool orchestration", "/agentic-patterns", "decompose this", "agent best practices", "chain of actions", "when should the agent stop", "agent loop design". NOT for: creating agent infrastructure (use agent-creator), building DAGs (use windags-architect), specific tool implementation.

curiositech/windags-skills

Automated discovery and matching of agent skills for dynamic task routing and capability assessment

curiositech/windags-skills

Cryptographic security for agentic systems — zero-trust agent networking, signed message envelopes (JWS/JWE), capability-based security (ocaps), Merkle tree audit trails, WASM sandboxing, and formal verification. Covers CLI dev tool security, mTLS between agents, permission boundaries (least privilege for AI agents), and supply chain security for skills/plugins. Activate on: "agent security", "zero trust agents", "secure agent communication", "capability-based security", "ocap", "signed messages between agents", "agent audit trail", "sandbox agent execution", "agent permissions", "mTLS agents", "cryptographic verification", "agent supply chain", "OWASP agentic", "prove agent did X", "tamper-proof agent logs". NOT for: application-level SAST scanning (use security-auditor), network firewall rules (use infrastructure), SOC2/HIPAA compliance (organizational), or prompt injection defense (use prompt-engineer).

curiositech/windags-skills

Data structures and serialization formats for agent-to-agent communication. Covers message envelopes, structured output schemas, capability declarations, task handoff payloads, error/retry signaling, and context windows as data structures. Deep comparison of A2A protocol, MCP, OpenAI function calling, and LangChain message types. Teaches when to use rigid schemas vs free-form with validation, typed vs untyped, streaming vs batch. Activate on: "agent message format", "agent communication schema", "agent-to-agent protocol", "A2A protocol", "MCP message format", "structured output for agents", "agent interop", "interchange format", "agent serialization", "task handoff format", "capability declaration". NOT for: what agents say to each other (use agent-conversation-protocols), orchestration topology (use multi-agent-coordination), building agent infrastructure (use agentic-infrastructure-2026).

curiositech/windags-skills

Logic-based agent programming language implementing BDI architecture for practical autonomous agent development

curiositech/windags-skills

>- Design AgentSpeak(L)-style BDI agents with context-guarded plans, selection functions, and intention stacks. Use for interruptible autonomy, agent policy, and multi-agent orchestration in dynamic environments. NOT for simple rule engines, static planners, or centralized workflows.

curiositech/windags-skills

Foundational concurrent computation model where actors communicate exclusively through asynchronous message passing

curiositech/windags-skills

license: Apache-2.0 NOT for unrelated tasks outside this domain.

관련 스킬