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 の言語
英語
スター
23
フォーク
10

インストール方法

デフォルトでは、最初にソースを確認する 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で見る