From api-design
Design REST API endpoints for a feature with URL structure, methods, request/response schemas, and error handling
npx claudepluginhub sagargupta16/claude-skills --plugin api-designDesign API endpoints for the specified feature or domain. Steps: 1. Understand the feature requirements from the user's description 2. Identify the resources and their relationships 3. Detect the existing API framework (FastAPI, Express, Go, etc.) from the codebase 4. Check existing endpoints for naming and style conventions 5. Design endpoints following REST conventions: - Resource URLs (plural nouns, max 2 nesting levels) - HTTP methods (GET, POST, PUT, PATCH, DELETE) - Request body schemas - Response schemas with status codes - Error response format matching existing API ...
/design-apiDesigns RESTful or GraphQL API from project domain model and requirements, producing endpoint table with paths, request/response shapes, auth, and curl examples.
/design-apiCreate API gateway and service contract specifications. Design scalable APIs.
/design-apiRESTful API contract with auth, rate limits, pagination, error schema, and versioning
Design API endpoints for the specified feature or domain.
Steps:
Do NOT generate code until the user approves the design. Present the API contract first.