Claude Code Plugins

Community-maintained marketplace

Feedback
0
0

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

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

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": "..." }