/scaffolding:api-designfrom scaffolding
Defines RESTful API design standards: resource naming, HTTP methods, status codes, pagination, versioning, and response formats. Useful when designing new endpoints or defining error shapes.
Ships in scaffolding. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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 versionsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub komluk/scaffolding --plugin scaffolding39 skills in this plugin
/agent-commsSendMessage recipient validation and worktreePath safety (CWE-59). TRIGGER when: validating a SendMessage `to:` recipient against the agent whitelist, or a worktreePath from another agent before acting on it. SKIP: routing topology (agent Comms Protocol); git ops (use git-operations); worktree recovery (use worktree-management)./agent-memoryRepo-local file memory under .scaffolding/ (shared/agent/conversation tiers). TRIGGER when: reading or writing .scaffolding/ memory files, or choosing which file tier an insight belongs in. SKIP: vector memory / MCP search and store (use semantic-memory-mcp); distilling conversations (use distill)./context-engineeringOptimize Claude Code context-window usage for accuracy and cost. TRIGGER when: hitting context limits, structuring prompts for an agent, or trimming what gets injected into a task. SKIP: persisting knowledge across sessions (use agent-memory); semantic recall tuning (use semantic-memory-mcp).Other plugins' skills for the same job