Skip to main content

rest

REST API design principles and best practices

Source facts

Repository
ffsshhttiikk/opencode-agents-skills
Last source activity
February 28, 2026 at 22:54
Detected SKILL.md language
English
Stars
3
Forks
2

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
rest
description
REST API design principles and best practices
license
MIT
compatibility
opencode
metadata
{"audience":"developers","category":"api-design"}
## What I do - Design RESTful APIs - Use proper HTTP methods - Implement proper status codes - Handle pagination and filtering - Version APIs - Secure endpoints ## When to use me When building or consuming REST APIs. ## HTTP Methods ``` GET /users - List users GET /users/:id - Get user POST /users - Create user PUT /users/:id - Update user (full) PATCH /users/:id - Partial update DELETE /users/:id - Delete user ``` ## Status Codes ``` 200 OK 201 Created 204 No Content 400 Bad Request 401 Unauthorized 403 Forbidden 404 Not Found 500 Internal Server Error ``` ## Response Format ```json { "data": { "id": 1, "name": "John" }, "meta": { "total": 100, "page": 1 }, "links": { "self": "/users/1" } } ```
View on GitHub