MCP HubMCP Hub
スキル一覧に戻る

rest-api

KubrickCode
更新日 Today
229 閲覧
1
1
GitHubで表示
開発api

について

このスキルは、開発者向けに包括的なREST API設計基準と実装ガイダンスを提供します。RESTfulの原則、URL構造、HTTPメソッド、ページネーション、フィルタリング、エラー処理、OpenAPIドキュメントについて網羅しています。APIを設計する際、エンドポイントを定義する際、ページネーションを実装する際、または一貫したレスポンスとエラー処理戦略を確立する際にご利用ください。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/KubrickCode/ai-config-toolkit
Git クローン代替
git clone https://github.com/KubrickCode/ai-config-toolkit.git ~/.claude/skills/rest-api

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

REST API Design Standards

네이밍 규칙

필드 네이밍

  • boolean: is/has/can 접두사 강제
  • 날짜: ~At 접미사 강제
  • 같은 개념은 프로젝트 전체 동일 용어 (create vs add 중 하나로 통일)

날짜 형식

  • ISO 8601 UTC
  • DateTime 타입 사용

페이지네이션

커서 기반 사용 (업계 표준)

  • 파라미터: ?cursor=xyz&limit=20
  • 응답: { data: [...], nextCursor: "abc", hasNext: true }

정렬

  • ?sortBy=createdAt&sortOrder=desc
  • 복수 정렬 지원
  • 기본값 명시

필터

  • 범위: { min, max } 또는 { gte, lte }
  • 복잡한 조건은 중첩 객체

URL 구조

중첩 리소스

  • 최대 2단계

액션

  • 리소스로 표현 불가시만 동사 허용
  • /users/:id/activate

응답

목록

  • data + 페이지네이션 정보

생성

  • 201 + 리소스 (민감정보 제외)

에러 (RFC 7807 ProblemDetail)

  • 필수: type, title, status, detail, instance
  • 선택: errors 배열

배치

  • /batch 서픽스
  • 성공/실패 개수 + 결과

GitHub リポジトリ

KubrickCode/ai-config-toolkit
パス: .claude.kr/skills/rest-api

関連スキル

creating-opencode-plugins

メタ

This skill provides the structure and API specifications for creating OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It offers implementation patterns for JavaScript/TypeScript modules that intercept and extend the AI assistant's lifecycle. Use it when you need to build event-driven plugins for monitoring, custom handling, or extending OpenCode's capabilities.

スキルを見る

evaluating-llms-harness

テスト

This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.

スキルを見る

polymarket

メタ

This skill enables developers to build applications with the Polymarket prediction markets platform, including API integration for trading and market data. It also provides real-time data streaming via WebSocket to monitor live trades and market activity. Use it for implementing trading strategies or creating tools that process live market updates.

スキルを見る

cloudflare-turnstile

メタ

This skill provides comprehensive guidance for implementing Cloudflare Turnstile as a CAPTCHA-alternative bot protection system. It covers integration for forms, login pages, API endpoints, and frameworks like React/Next.js/Hono, while handling invisible challenges that maintain user experience. Use it when migrating from reCAPTCHA, debugging error codes, or implementing token validation and E2E tests.

スキルを見る