From scaffolding
RESTful API design standards for this project. Use when designing new API endpoints, creating error responses, or implementing pagination.
npx claudepluginhub komluk/scaffolding --plugin scaffoldingThis skill uses the workspace's default tool permissions.
Standards and best practices for designing RESTful APIs.
Integrates Mem0 persistent memory for Claude Code tasks using MCP tools. Retrieves relevant memories on new tasks, stores learnings like decisions and strategies, captures session states.
Creates web-based slidedecks for developers using Slidev with Markdown, Vue components, code highlighting, animations, interactive demos, and presenter notes. Use for technical presentations, conference talks, code walkthroughs, and workshops.
Standards and best practices for designing RESTful APIs.
/users not /getUsers/users not /user/user-profiles not /userProfiles/users/{id}/posts| Pattern | Example | Use Case |
|---|---|---|
| Collection | /users | List resources |
| Item | /users/{id} | Single resource |
| Nested | /users/{id}/posts | Related resources |
| Action | /users/{id}/activate | Non-CRUD operations |
| Method | Purpose | Idempotent | Safe | Has Body |
|---|---|---|---|---|
| GET | Read | Yes | Yes | No |
| POST | Create | No | No | Yes |
| PUT | Replace entire resource | Yes | No | Yes |
| PATCH | Partial update | No | No | Yes |
| DELETE | Remove | Yes | No | No |
| Code | Use Case |
|---|---|
| 200 OK | GET, PUT, PATCH success |
| 201 Created | POST success (+ Location header) |
| 204 No Content | DELETE success |
| Code | Use Case |
|---|---|
| 400 Bad Request | Malformed request, validation error |
| 401 Unauthorized | Authentication required |
| 403 Forbidden | Authenticated but no permission |
| 404 Not Found | Resource doesn't exist |
| 409 Conflict | Resource state conflict |
| 422 Unprocessable Entity | Semantic validation error |
| 429 Too Many Requests | Rate limit exceeded |
| Code | Use Case |
|---|---|
| 500 Internal Server Error | Unexpected error |
| 502 Bad Gateway | External service failure |
| 503 Service Unavailable | Temporarily down |
{ "data": { ... } }{ "data": [...], "pagination": {...} }Required fields:
code - Machine-readable error codemessage - Human-readable descriptionOptional fields:
details - Field-specific errors (validation)correlationId - For debugging/supportpage, pageSize, totalItems, totalPages?status=active?status=active&role=admin?createdAt[gte]=2024-01-01?search=keyword?sort=createdAt?sort=-createdAt?sort=lastName,firstName?fields=id,email,username/api/v1/resourceSunset header on deprecated versions