From fus
Backend API Design Guide. Provides guidance for RESTful API design, including naming, versioning, and error handling.
How this skill is triggered — by the user, by Claude, or both
Slash command
/fus:backend-apiThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Guide for designing backend APIs.
Guide for designing backend APIs.
| Resource | Path | Methods |
|---|---|---|
| Users | /users | GET, POST |
| User | /users/{id} | GET, PUT, DELETE |
| User's orders | /users/{id}/orders | GET |
| Create order for user | /users/{id}/orders | POST |
| Method | Meaning | Idempotent |
|---|---|---|
| GET | Read | Yes |
| POST | Create | No |
| PUT | Replace | Yes |
| PATCH | Update | No |
| DELETE | Remove | Yes |
{
"data": {
"id": "123",
"name": "John",
"email": "[email protected]"
},
"meta": {
"request_id": "abc-123"
}
}
{
"data": [
{ "id": "1", "name": "A" },
{ "id": "2", "name": "B" }
],
"pagination": {
"page": 1,
"per_page": 20,
"total": 100,
"pages": 5
},
"links": {
"self": "/users?page=1",
"next": "/users?page=2"
}
}
{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid input",
"details": [
{
"field": "email",
"message": "Invalid email format"
}
],
"request_id": "abc-123"
}
}
| Code | Meaning | Use For |
|---|---|---|
| 200 | OK | Successful GET, PUT, PATCH |
| 201 | Created | Successful POST |
| 204 | No Content | Successful DELETE |
| 400 | Bad Request | Invalid input |
| 401 | Unauthorized | Missing auth |
| 403 | Forbidden | No permission |
| 404 | Not Found | Resource doesn't exist |
| 409 | Conflict | Duplicate, state conflict |
| 422 | Unprocessable | Validation failed |
| 429 | Too Many Requests | Rate limited |
| 500 | Internal Error | Server error |
/api/v1/users
/api/v2/users
Accept: application/vnd.myapp.v2+json
{
"data": [...],
"pagination": {
"cursor": "abc123",
"next_cursor": "def456"
}
}
{
"data": [...],
"pagination": {
"page": 1,
"per_page": 20,
"total": 100
}
}
npx claudepluginhub genuineh/fus --plugin fusGuides REST API design with best practices for HTTP methods, status codes, structured errors, pagination, versioning, and OpenAPI documentation.
REST API design patterns covering resource naming, status codes, pagination, filtering, error responses, versioning, and rate limiting for production APIs.
Designs consistent RESTful APIs covering conventions, HTTP methods, naming, versioning strategies, response formats, status codes, error handling, and pagination patterns.