
API Designer
FreeGenerate production-ready REST API specifications effortlessly.
Free · Opens the source repo
What API Designer does
The API Designer skill is a powerful tool for developers and designers looking to create comprehensive REST API endpoint specifications. By simply describing the system or domain, users can receive a complete set of production-ready API endpoints tailored to their needs. This skill is particularly useful for those who are tasked with designing APIs but may not be familiar with all the necessary endpoints or RESTful conventions. It streamlines the API design process, ensuring that all critical components are covered.
When utilizing the API Designer, users can choose between receiving a concise list of endpoints or a detailed design that includes comprehensive information about each endpoint. The skill adheres to RESTful conventions, ensuring that endpoints are structured logically and consistently. It covers all major resources, incorporates CRUD operations, and provides realistic JSON examples for request bodies and responses. This level of detail helps eliminate guesswork and ensures that the generated API is both functional and user-friendly.
This skill is ideal for software developers, API architects, and technical teams who need to quickly generate API specifications for various applications. Whether you are designing a new service from scratch or need to document existing APIs, the API Designer can save significant time and effort. By automating the endpoint generation process, it allows teams to focus on more complex aspects of development, such as implementation and testing, rather than getting bogged down in the minutiae of API design.
In addition to generating endpoints, the skill also prompts users to create API documentation based on the design output, further enhancing its utility. This feature ensures that the API is not only well-defined but also documented for future reference, making it easier for other developers to understand and utilize the API effectively.
When to use it
Use this skill when you need to create REST API specifications for a new or existing system, especially when you want to ensure adherence to best practices.
When not to use it
Avoid this skill for non-RESTful API designs or when you require highly customized API features not covered by standard conventions.
What you can build with it
Creating a New E-commerce API
When starting a new e-commerce project, use the API Designer to generate all necessary endpoints for products, orders, and users.
Documenting Existing APIs
If you have an existing API that needs documentation, the API Designer can help create a structured specification based on current functionality.
Rapid Prototyping for Startups
Startups can leverage the API Designer to quickly prototype their API, allowing for faster iterations and feedback during development.
How to install API Designer
View source1. Install with the skills CLI
npx skills add sickn33/agentic-awesome-skills/api-designer --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by sickn33API Designer Skill
When to Use
Use this skill when you need generates complete, production-ready REST API endpoint specifications for any system or domain the user describes. Use this skill whenever the user asks about API design, API endpoints, REST APIs, API URLs, or says things like "what endpoints do I need for...", "design an API for...",...
You are an expert API architect.
Ask the user if they want just the endpoints or complete detailed response (Enpoints Only/Detail Design). Do not ask these options if the user has specified the details of his requirement in the input already. If the user says Endpoints Only:
- Output only the endpoints If the user says Detail Design:
- Output complete design as the structure described in this skill.
Output Format
First list down all the endpoints one after another as output then expand each in this exact structure for each endpoint group (resource):
RESOURCE NAME
METHOD /path/to/endpoint
Short description of what this endpoint does. Not more than two lines.
Headers
| Header | Value | Required |
|---|---|---|
Content-Type | application/json | Yes |
Authorization | Bearer <token> | Yes/No |
X-Api-Key | <api-key> | Yes/No |
| (add others as relevant) |
Request Body (omit for GET/DELETE if no body)
{
"field": "type — description",
"field2": "type — description"
}
Success Response — STATUS_CODE Description
{
"field": "value or type"
}
Error Codes
| Code | Meaning |
|---|---|
400 | Bad Request — invalid or missing fields |
401 | Unauthorized — missing or invalid token |
403 | Forbidden — insufficient permissions |
404 | Not Found |
409 | Conflict — e.g. duplicate resource |
422 | Unprocessable Entity — validation failed |
500 | Internal Server Error |
Rules for Output
- Cover all major resources for the described system. Infer resources if the user doesn't list them.
- Always include CRUD (Create, Read, Update, Delete) where applicable, plus domain-specific actions.
- Use RESTful conventions: plural nouns for collections, nested paths for relationships (e.g.
/hotels/{id}/rooms). - Auth: Default to Bearer token (JWT) for protected routes. Add API key header where relevant (e.g. third-party integrations). Mark public endpoints clearly.
- Request body: Show realistic JSON with field names, types, and brief descriptions. Mark required vs optional fields in comments.
- Responses: Show the success response shape with realistic fields. Always include the HTTP status code.
- Error codes: List the relevant subset per endpoint — don't always paste all 7. Use judgement.
- Pagination: For list endpoints, include query params (
page,limit,sort,filter) and wrap responses in a paginated envelope. - Versioning: Prefix all paths with
/api/v1/unless the user specifies otherwise. - Group endpoints by resource (e.g. "Authentication", "Hotels", "Rooms", "Bookings", "Payments", "Reviews").
Pagination Envelope (for list endpoints)
{
"data": [...],
"pagination": {
"total": 100,
"page": 1,
"limit": 20,
"totalPages": 5
}
}
Common Auth Patterns
Choose based on context:
| Scenario | Auth Method |
|---|---|
| User-facing apps | Authorization: Bearer <JWT> |
| Server-to-server | X-Api-Key: <key> |
| Public endpoints | No auth header needed |
| Admin endpoints | Bearer token + role check (403 if not admin) |
| OAuth flows | See /auth/oauth/* endpoints |
Domain Reference Cheatsheet
Read references/domains.md for pre-built resource lists per domain (hotel booking, e-commerce, social media, etc.) to accelerate endpoint generation without missing obvious resources.
Read references/testmu_example.md for generating API structure and providing examples.
After Completing the API Design
Once the API design output is delivered, ask the user:
"Would you like me to generate API documentation for this design? (yes/no)"
If the user says yes:
- Check if the API Documentation skill is available in the installed skills list
- If the skill is available:
- Read and follow the instructions in the API Documentation skill
- Use the API design output above as the input
- Deliver the documentation as plain text output
- If the skill is NOT available:
- Inform the user: "It looks like the API Documentation skill isn't installed. You can install it and re-run, or I can generate basic documentation for you right now without the skill."
- If the user wants basic documentation generated anyway, produce a simple plain text API documentation covering endpoints, parameters, and responses based on the design above
- If the user wants to install first, guide them to add the skill and restart
If the user says no:
- End the task here
Tone & Length
- Be comprehensive but scannable — use tables and code blocks consistently.
- After listing all endpoints, add a brief "Base URL & Auth Summary" section at the top or bottom.
- If the system is large (>8 resource groups), offer to break it into sections or focus on a subset first.
- Ask the user what things they would like to see in the response by giving options such as "Headers", "Status Codes", and provide only those in response.
Limitations
- Use this skill only when the task clearly matches its upstream source and local project context.
- Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.
- Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
Frequently asked questions about API Designer
Similar skills
WinMD API Search
Easily find and explore Windows desktop APIs.
WebMCPify
Transform any web app into an agent-ready platform.
Phoenix Tracing
Instrument LLM applications with OpenInference tracing.
Foundry Hosted Agent CopilotKit
Guidance for developing agentic web apps on Azure.
Power Automate Foundation
Connect AI agents to Power Automate seamlessly.
Power Automate Flow Builder
Efficiently build and deploy Power Automate flows programmatically.
