API Design Assistant
Given service requirements, designs RESTful API endpoints and generates complete API specs including request/response formats, error handling, and authentication.
/api [resource]When a PM urgently requests an API spec? Run /api users to get endpoints + type definitions in 5 minutes
How It Works
Skill Code
Copy and paste into your CLAUDE.md to start using immediately.
How API Design Assistant Works
API Designer takes a resource name, generates a complete RESTful API design with endpoints, request/response schemas, TypeScript type definitions, error handling patterns, and OpenAPI specification — following REST best practices.
When to Use API Design Assistant
Speeds up API design phase significantly when starting new microservices or adding major features — the generated types and schemas serve as both documentation and implementation contracts for frontend and backend teams.
Key Strengths
- Generates complete REST API design from a single resource name
- Includes TypeScript types that serve as implementation contracts
- Follows REST best practices and naming conventions automatically
- Produces OpenAPI spec ready for documentation tools