write-route
OfficialShip robust HTTP routes with Epic architecture.
Authorcoeus-ventures
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill standardizes how to expose business logic as HTTP routes using the Epic three-layer architecture, ensuring consistent endpoints, authentication, and safe streaming/webhook patterns.
Core Features & Use Cases
- Backend route generation consistent with app structure, supports GET/POST, headers/status, and optional SSE streaming.
- Supports webhooks and external integrations; routes live under app/(app)/projects/behaviors structure with route.ts and helper hooks.
- Enforces authentication checks, input validation with Zod, and safe error handling for production-grade APIs.
Quick Start
Create a new route by following the documented folder structure and implement route.ts plus use-*.ts to expose a secure HTTP endpoint.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: write-route Download link: https://github.com/coeus-ventures/epic-web/archive/main.zip#write-route Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.