API Generator Skill
Generate a complete REST API endpoint following the project conventions.
Steps
- Define the route handler with proper TypeScript types
- Add input validation using the project's validation library
- Write integration tests covering happy path and error cases
- Update the API documentation
Guidelines
- Use
async/awaitconsistently - Return proper HTTP status codes
- Include error handling for all failure modes