api-endpoint-generator
Installation
SKILL.md
API Endpoint Generator
Generate production-ready CRUD API endpoints with validation and type safety.
Core Workflow
- Define resource: Entity name and schema
- Generate routes: POST, GET, PUT/PATCH, DELETE endpoints
- Add validation: Request body/query validation with Zod/Joi
- Type responses: TypeScript interfaces for all responses
- Error handling: Consistent error responses
- Documentation: OpenAPI/Swagger specs
- Examples: Request/response samples