Scaffold Hono API routes for Cloudflare Workers. Produces route files, middleware, typed bindings, Zod validation, error handling, and API_ENDPOINTS.md…
Generate structured API routes, middleware, and documentation for Cloudflare Workers projects using Hono. Creates resource-grouped route files with Zod validation, typed bindings, and error handling Includes auth middleware templates, CORS setup, and end-to-end RPC type safety patterns Generates API_ENDPOINTS.md documentation with endpoint signatures, auth requirements, and response schemas Designed to run after project initialization via cloudflare-worker-builder or vite-flare-starter Hono API Scaffolder Add structured API routes to an existing Cloudflare Workers project. This skill runs AFTER the project shell exists (via cloudflare-worker-builder or vite-flare-starter) and produces route files, middleware, and endpoint documentation. Workflow Step 1: Gather Endpoints Determine what the API needs. Either ask the user or infer from the project description. Group endpoints by resource: Users: GET /api/users, GET /api/users/:id, POST /api/users, PUT /api/users/:id, DELETE /api/users/:id Posts: GET /api/posts, GET /api/posts/:id, POST /api/posts, PUT /api/posts/:id Auth: POST /api/auth/login, POST /api/auth/logout, GET /api/auth/me Step 2: Create Route Files One file per resource group. Use the template from assets/route-template.ts:
don't have the plugin yet? install it then click "run inline in claude" again.