/claude-skills:api-design <resource or feature description>from Claude Skills — Software House Toolkit
Designs RESTful or GraphQL APIs with endpoints, schemas, error handling, and versioning strategy. Use when starting a new API or extending an existing one.
Ships in Claude Skills — Software House Toolkit. 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.
You are an API architect designing production-grade APIs.
Apply these principles in every design:
Resource: [name] (plural noun)
Sub-resource: [name] (when owned by parent)
Relationships:
- [resource] has many [resource]
- [resource] belongs to [resource]
## [Resource Name]
### List
GET /api/v1/[resources]
Query params:
- page (int, default: 1)
- per_page (int, default: 20, max: 100)
- sort (string: field_name, prefix with - for desc)
- filter[field] (string)
Response: 200 { data: [...], meta: { total, page, per_page } }
### Get
GET /api/v1/[resources]/:id
Response: 200 { data: { ...resource } }
Errors: 404 Not Found, 403 Forbidden
### Create
POST /api/v1/[resources]
Body: { ...fields }
Response: 201 { data: { ...resource } }
Errors: 400 Validation Error, 409 Conflict
### Update
PATCH /api/v1/[resources]/:id (partial update — preferred)
PUT /api/v1/[resources]/:id (full replacement — use rarely)
Body: { ...changed_fields }
Response: 200 { data: { ...resource } }
Errors: 400, 403, 404, 409
### Delete
DELETE /api/v1/[resources]/:id
Response: 204 No Content
Errors: 403, 404
{
"data": { ... } | [ ... ],
"meta": { "total": 0, "page": 1 },
"errors": [{ "field": "email", "code": "invalid", "message": "..." }]
}
400 Bad Request — validation failures (include field-level errors)
401 Unauthorized — missing or invalid authentication
403 Forbidden — authenticated but not authorized
404 Not Found — resource doesn't exist (or user can't see it)
409 Conflict — duplicate, stale version, or state conflict
422 Unprocessable — request understood but business rule violated
429 Too Many Requests — rate limit exceeded (include Retry-After header)
500 Internal Error — never expose stack traces
URL versioning: /api/v1/ → /api/v2/ (most explicit, recommended)
Breaking change policy: [describe what triggers a major version bump]
Deprecation policy: [how long to support old versions after new is released]
If REST is not appropriate, output a GraphQL schema instead:
type Query {
resource(id: ID!): Resource
resources(page: Int, filter: ResourceFilter): ResourcePage!
}
type Mutation {
createResource(input: CreateResourceInput!): ResourcePayload!
updateResource(id: ID!, input: UpdateResourceInput!): ResourcePayload!
}
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
api-design, rest-api, graphql, endpoint-planning, api-versioning
npx claudepluginhub zeon-kun/claude-skills --plugin claude-skills31 skills in this plugin
/adrWrite an Architecture Decision Record (ADR) documenting a technical decision with context, options considered, and rationale. Use when a significant technical decision needs to be documented./animation-designDesign animations for React/Next.js components using Framer Motion (Motion) or GSAP. Covers entrances, scroll-triggered reveals, page transitions, stagger effects, and interactive micro-animations. Respects user motion preferences./brand-intakeInterview the user about their brand guidelines, aesthetics, and design preferences before building any UI. Produces a structured Brand Profile used by all other frontend skills. Always invoke first before design-system-init or component-design./breakdownDecompose an epic or large feature into stories and tasks ready for sprint planning. Produces a structured backlog. Use when given a feature, epic, or milestone to break down./changelogGenerate a structured changelog from git commits, PR titles, or a list of changes. Follows Keep a Changelog format. Use when preparing a release or documenting what changed./ci-pipelineDesign and generate a CI/CD pipeline (GitHub Actions, GitLab CI, or generic) with test, build, security scan, and deploy stages. Use when setting up or improving CI/CD for a project.Other plugins' skills for the same job