write-route - Write HTTP Routes for Epic Architecture
Creates Backend layer HTTP routes following Epic three-layer architecture for behaviors, webhooks, or SSE streaming.
Tags
Updated: 2026-09-16Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Create non-streaming HTTP routes
- Create SSE streaming HTTP routes
- Create webhook HTTP routes
- Validate request inputs with Zod
- Authenticate HTTP requests
Inputs
- Route specification
- HTTP request body and headers
- Zod schema definition
Outputs
- Next.js route file (route.ts)
- HTTP JSON responses
- Server-Sent Events streams
Requirements
- Next.js App Router
- Zod validation library
- Epic three-layer architecture
