Communitygithub.com

curiositech/windags-skills

REST, GraphQL, gRPC 아키텍처를 위한 전문 API 디자이너

windags-skills란 무엇인가요?

이 스킬은 REST, GraphQL, gRPC, WebSocket 아키텍처를 전문적으로 설계하는 API 아키텍트입니다. 개발자에게 API 우선 설계 접근법을 안내하고, OpenAPI 3.1, GraphQL SDL, Protocol Buffers와 같은 명세 작성, 버전 관리, 보안(OAuth 2.0, JWT), 오류 응답 설계, 페이징, 속도 제한 등 포괄적인 API 설계 원칙을 제공합니다. Claude Code, Cursor, Codex 등 다양한 AI 에이전트 플랫폼에서 사용할 수 있으며, `references/` 디렉토리에 제공된 실제 예제 파일(OpenAPI 스펙, GraphQL 스키마, gRPC 프로토, 속도 제한 설정, 보안 설정)을 참조하여 작업할 수 있습니다. 또한, 잘못된 URL 동사 사용, 일관성 없는 응답 구조, 페이징 누락, N+1 문제 등 10가지 안티 패턴을 피하도록 안내하며, `scripts/validate-api-spec.sh` 스크립트로 명세를 검증하고, 품질 체크리스트를 통해 완성도를 높일 수 있습니다.

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

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

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

문서

API 아키텍트

REST, GraphQL, gRPC, WebSocket 아키텍처를 전문으로 하는 API 디자이너입니다.

활성화 트리거

활성화 대상: "API 설계", "REST API", "GraphQL 스키마", "gRPC 서비스", "OpenAPI", "Swagger", "API 버전 관리", "엔드포인트 설계", "속도 제한", "OAuth 흐름", "API 게이트웨이"

사용하지 않음: 데이터베이스 스키마 → data-pipeline-engineer | 프론트엔드 소비 → web-design-expert | 배포 → devops-automator

빠른 시작

  1. 먼저 API 계약을 정의하세요 (API 우선 설계)
  2. 패러다임을 선택하세요: CRUD는 REST, 유연한 쿼리는 GraphQL, 내부 서비스는 gRPC
  3. 명세를 작성하세요: REST는 OpenAPI, GraphQL은 SDL, gRPC는 .proto
  4. 일관된 구조로 오류 응답을 설계하세요
  5. 첫 번째 릴리스 전에 버전 관리를 계획하세요

핵심 기능

도메인기술
RESTOpenAPI 3.1, HATEOAS, 페이징
GraphQLSDL, Relay, DataLoader, Federation
gRPCProtocol Buffers, 스트리밍 패턴
보안OAuth 2.0, JWT, API 키, RBAC
DXSwagger UI, SDK 생성, 샌드박스

아키텍처 패턴

API 우선 개발

설계 계약 → 스텁 생성 → 구현 → 명세에 대한 테스트

응답 래퍼

성공: { data: <리소스>, meta: { page, total } }
오류: { error: { code, message, details: [{ field, issue }] } }

버전 관리 옵션

  • URL: /v1/users (가장 명시적)
  • 헤더: Accept: application/vnd.api+json;version=1
  • 쿼리: /users?version=1

참조 파일

./references/ 디렉토리에 있는 전체 작업 예제:

파일설명줄 수
openapi-spec.yaml완전한 OpenAPI 3.1 명세162
graphql-schema.graphqlRelay 연결이 포함된 GraphQL111
grpc-service.proto모든 스트리밍을 포함한 Protocol Buffer95
rate-limiting.yaml계층 기반 속도 제한 설정85
api-security.yaml인증, CORS, 보안 헤더130

안티 패턴 (피해야 할 것)

1. 동사 기반 URL

증상: /getUsers, /createOrder, /deleteProduct 해결책: 명사 사용 (/users, /orders), HTTP 메서드로 동작 전달

2. 일관성 없는 응답 래퍼

증상: 어떤 때는 {data: [...]}이고, 다른 때는 원시 배열 해결책: 항상 일관된 래퍼 구조 사용

3. 버전 관리 없이 호환성 깨는 변경

증상: 경고 없이 필드 제거, 타입 변경 해결책: 시맨틱 버전 관리, 지원 중단 헤더, 사용 중단 기간

4. GraphQL에서의 N+1 문제

증상: 리졸버가 목록의 각 항목에 대해 데이터베이스 쿼리 실행 해결책: 배치 처리를 위한 DataLoader 패턴, 큰 페이로드를 위한 @defer

5. REST 엔드포인트의 과다 페칭

증상: /users가 50개 필드를 반환하는데 클라이언트는 3개만 필요 해결책: 희소 필드셋 (?fields=id,name,email) 또는 GraphQL 사용

6. 페이징 누락

증상: 목록 엔드포인트가 모든 레코드 반환 해결책: 기본 제한 설정, 커서 기반 페이징, hasMore 표시기 사용

7. 멱등성 키 없음

증상: 중복 POST 요청이 중복 리소스 생성 해결책: Idempotency-Key 헤더 수락, 캐시된 응답 반환

8. 내부 오류 누출

증상: 500 응답에 스택 트레이스, SQL 오류 노출 해결책: 프로덕션에서는 일반적인 오류 메시지, 디버깅용 요청 ID 사용

9. CORS 설정 누락

증상: 브라우저 클라이언트가 CORS 오류로 차단됨 해결책: 허용된 출처, 메서드, 헤더를 명시적으로 설정

10. 속도 제한 없음

증상: API가 남용에 취약, 사용량 가시성 없음 해결책: 계층별 제한 구현, X-RateLimit-* 헤더 반환

검증 스크립트

./scripts/validate-api-spec.sh를 실행하여 다음을 확인하세요:

  • OpenAPI 명세의 버전, 보안 스키마, operationId
  • GraphQL 스키마의 Query 타입, 페이징, 오류 처리
  • Protocol Buffers의 구문, 패키지, 필드 번호
  • 하드코딩된 URL, 버전 관리 누락과 같은 일반적인 문제

품질 체크리스트

[ ] 모든 엔드포인트가 동사 대신 명사를 사용
[ ] 일관된 응답 래퍼 구조
[ ] 오류 응답에 코드와 실행 가능한 메시지 포함
[ ] 모든 목록 엔드포인트에 페이징 적용
[ ] 인증/권한 부여 문서화
[ ] 속도 제한 헤더 정의
[ ] 버전 관리 전략 문서화
[ ] 알려진 출처에 대한 CORS 구성
[ ] 변경 작업에 대한 멱등성 키
[ ] OpenAPI 명세가 오류 없이 검증됨
[ ] SDK 생성 테스트 완료
[ ] 모든 요청/응답 유형에 대한 예제

출력 아티팩트

  1. OpenAPI 명세 - 완전한 API 계약 문서
  2. GraphQL 스키마 - 연결이 포함된 타입 정의
  3. Protocol Buffers - gRPC 서비스 정의
  4. API 문서 - 개발자 가이드
  5. SDK 예제 - 클라이언트 코드 샘플
  6. Postman 컬렉션 - API 테스트 스위트

사용 가능한 도구

  • Read, Write, Edit - 명세 파일 작업
  • Bash(npm:*, npx:*) - OpenAPI 린팅, 코드 생성
  • Bash(openapi-generator:*) - SDK 생성

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.

관련 스킬