Skip to main content

api-protocol

API protocol guide for Sunrei project. Use when writing API endpoints, request/response type naming, and HTTP method conventions.

소스 정보

저장소
majiayu000/claude-skill-registry-data
최근 소스 활동
2026년 4월 20일 18:32
감지된 SKILL.md 언어
영어
스타
22
포크
8

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
api-protocol
description
API protocol guide for Sunrei project. Use when writing API endpoints, request/response type naming, and HTTP method conventions.
# API Protocol Guide RESTful API + OpenAPI 3.0 spec - Request type: `{HttpMethod}{Name}Params` (e.g., `GetUserParams`, `ListUsersParams`) - Response type: `{HttpMethod}{Name}Result` (e.g., `GetUserResult`, `ListUsersResult`) ## HTTP Method Rules - `GET` + singular → single item (e.g., `GET /sunreis/{id}`) - `List` + plural → list items (e.g., `GET /sunreis`) - `POST` → create - `PUT` → full update - `PATCH` → partial update - `DELETE` → delete ## Response Format - Success: `{ "data": ... }` or domain key (e.g., `{ "sunreis": [...] }`) - Error: `{ "error": { "code": "...", "message": "..." } }` - Pagination: `{ "items": [...], "nextToken": "..." }`
GitHub에서 보기