From devloop
Provides REST and GraphQL API design best practices for URL structures, endpoints, versioning, pagination, error responses, and HTTP status codes.
npx claudepluginhub zate/cc-plugins --plugin devloopThis skill uses the workspace's default tool permissions.
REST API design best practices.
Designs REST and GraphQL APIs with endpoints, HTTP status codes, response formats, error handling, versioning, authentication, and OpenAPI documentation.
Designs REST and GraphQL APIs with resource-oriented principles, HTTP methods, status codes, pagination, filtering, sorting, and schema design. Use when designing new APIs or improving existing ones.
Designs REST and GraphQL APIs including endpoint design, authentication, versioning, documentation, and best practices. Use for backend API creation, contracts, or third-party integrations.
Share bugs, ideas, or general feedback.
REST API design best practices.
GET /users # List
GET /users/:id # Get one
POST /users # Create
PUT /users/:id # Replace
PATCH /users/:id # Update
DELETE /users/:id # Delete
/api/v1/users # URL versioning
Accept: application/vnd.api.v1+json # Header
{
"data": [...],
"pagination": {
"page": 1,
"per_page": 20,
"total": 100,
"total_pages": 5
}
}
{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid email format",
"details": [{"field": "email", "issue": "invalid format"}]
}
}
| Code | Use |
|---|---|
| 200 | Success |
| 201 | Created |
| 400 | Bad request |
| 401 | Unauthorized |
| 404 | Not found |
| 500 | Server error |