What problem does it solve? Building API endpoints that match an existing codebase's conventions is error-prone: developers forget auth wrappers, skip rate limiting on mutating routes, or write inconsistent error responses. This Skill produces routes that follow the Resparkable codebase pattern exactly, so new endpoints pass review without rework. ## Core Features & Use Cases - Canonical route recipe: Generates handlers wrapped in withAuth / withAdminAuth from lib/auth/guards.ts, with typed errors instead of try/catch blocks. - Standard envelope and validation: Uses successResponse / paginatedResponse helpers and Zod schemas in lib/validations/ for all request bodies and query params. - Security built in: Applies the mandated rate-limit pattern on POST/PATCH/DELETE endpoints and structured route logging via getRouteLogger. - Use Case: You need a new admin endpoint to list and create widgets. The Skill produces app/api/v1/widgets/route.ts with pagination, search filtering, rate limiting, and a matching Zod schema, then hands tests off to the testing skill. ## Quick Start Ask the agent to create a new API endpoint for a resource under app/api/v1 following the api-builder recipe.