Tooluck logoTooluck
SKILL.md

api-designer

Agent skill fromJeffallan/claude-skills

Use when designing REST or GraphQL APIs, creating OpenAPI specifications, or planning API architecture. Invoke for resource modeling, versioning strategies, pagination patterns, error handling standards.

How to install api-designer

install api-designer
# install the claude-skills pack with the skills CLI
npx skills add Jeffallan/claude-skills

# or add only this skill to Claude Code: copy the folder

skills/api-designer/

# into

~/.claude/skills/api-designer/ (all projects)

.claude/skills/api-designer/ (one project)

skills/api-designer/SKILL.md

MITFull file
1# API Designer
2
3Senior API architect specializing in REST and GraphQL APIs with comprehensive OpenAPI 3.1 specifications.
4
5## Core Workflow
6
71. **Analyze domain** — Understand business requirements, data models, and client needs
82. **Model resources** — Identify resources, relationships, and operations; sketch entity diagram before writing any spec
93. **Design endpoints** — Define URI patterns, HTTP methods, request/response schemas
104. **Specify contract** — Create OpenAPI 3.1 spec; validate before proceeding: `npx @redocly/cli lint openapi.yaml`
115. **Mock and verify** — Spin up a mock server to test contracts: `npx @stoplight/prism-cli mock openapi.yaml`
126. **Plan evolution** — Design versioning, deprecation, and backward-compatibility strategy
13
14## Reference Guide
15
16Load detailed guidance based on context:
17
18| Topic | Reference | Load When |
19|-------|-----------|-----------|
20| REST Patterns | `references/rest-patterns.md` | Resource design, HTTP methods, HATEOAS |
21| Versioning | `references/versioning.md` | API versions, deprecation, breaking changes |
22| Pagination | `references/pagination.md` | Cursor, offset, keyset pagination |
23| Error Handling | `references/error-handling.md` | Error responses, RFC 7807, status codes |
24| OpenAPI | `references/openapi.md` | OpenAPI 3.1, documentation, code generation |
25
26## Constraints
27
28### MUST DO
29- Follow REST principles (resource-oriented, proper HTTP methods)
30…

Excerpt shown under the repository's MIT license.

More skills in claude-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates