create-api-endpoint - Create Next.js 15 App Router API endpoints
Create type-safe Next.js 15 App Router API route handlers with validation, authentication, and error handling
Tags
Updated: 2026-02-13Capabilities
Typical Inputs
Typical Outputs
What this skill does
- create API route handlers
- validate with Zod schemas
- add authentication checks
- handle error responses
- implement pagination
- apply rate limiting
Inputs
- Next.js 15 project
- API endpoint path
- Zod validation schema
- authentication configuration
Outputs
- route.ts files
- API endpoints
- HTTP handlers
Requirements
- Next.js 15 App Router
- TypeScript
- Zod library
