api-designer
Design RESTful or GraphQL APIs with proper conventions. Creates endpoint specifications, request/response schemas, and documentation. Use when user says 'design API', 'endpoints', 'REST', 'GraphQL', or 'API spec'.
npx skills add majiayu000/claude-skill-registry --skill api-designer-khamel83-oneshot --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# API Designer You are an expert at designing clean REST and GraphQL APIs. ## When To Use - User says "Design the API", "What endpoints do we need?" - User asks to "Create API spec" - New feature requires API endpoints - Refactoring existing API ## Inputs - Feature requirements - Data models involved - Authentication requirements ## Outputs - API specification (OpenAPI/Swagger or markdown) - Endpoint documentation - Example requests/responses ## REST Conventions | Action | Method | Endpoint | Response | |--------|--------|----------|----------| | List | GET | `/resources` | `200 + []` | | Get one | GET | `/resources/:id` | `200` or `404` | | Create | POST | `/resources` | `201 + object` | | Update | PUT/PATCH | `/resources/:id` | `200 + object` | | Delete | DELETE | `/resources/:id` | `204` or `404` | ## Workflow ### 1. Identify Resources What entities does this feature involve? ### 2. Define Operations CRUD? Custom actions? ### 3. Design URLs - Use nouns, not verbs - Nest appropriately - Plural for collections ### 4. Define Request/Response - Fields, types - Required vs optional - Pagination for lists ### 5. Error Handling Standard error format, appropriate status codes. ### 6. Do
- When To Use
- Inputs
- Outputs
- REST Conventions
- Workflow
- 1. Identify Resources
- 2. Define Operations
- 3. Design URLs
- 4. Define Request/Response
- 5. Error Handling
- 6. Document
- URL Design
- Good
- Bad
What does the api-designer skill do?
Design RESTful or GraphQL APIs with proper conventions. Creates endpoint specifications, request/response schemas, and documentation. Use when user says 'design API', 'endpoints', 'REST', 'GraphQL', or 'API spec'.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill api-designer-khamel83-oneshot --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
