Agent skill
api-protocol
API protocol guide for Sunrei project. Use when writing API endpoints, request/response type naming, and HTTP method conventions.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/api-protocol
SKILL.md
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→ createPUT→ full updatePATCH→ partial updateDELETE→ delete
Response Format
- Success:
{ "data": ... }or domain key (e.g.,{ "sunreis": [...] }) - Error:
{ "error": { "code": "...", "message": "..." } } - Pagination:
{ "items": [...], "nextToken": "..." }
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?