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.

Quellinformationen

Repository
majiayu000/claude-skill-registry-data
Letzte Quellaktivität
20. April 2026 um 18:32
Erkannte Sprache von SKILL.md
Englisch
Sterne
22
Forks
8

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
2 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
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": "..." }`
Auf GitHub ansehen