Agent skill · Backend & API

hono-api-scaffolder

Scaffold Hono API routes for Cloudflare Workers. Produces route files, middleware, typed bindings, Zod validation, error handling, and API_ENDPOINTS.md documentation. Use after a project is set up with cloudflare-worker-builder or vite-flare-starter, when you need to add API routes, create endpoints, or generate API documentation.

jezwebgithub.com/jezwebGitHub ↗
claude-codeships scriptsMIT
Install
npx skills add jezweb/claude-skills --skill hono-api-scaffolder --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 6
SKILL.md size: 6 KB
Bundled scripts: yes
Requires: claude-code-only
Path: plugins/cloudflare/skills/hono-api-scaffolder/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 954
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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](assets/route-template.ts): ```typescript // src/routes/users.ts import { Hono } from 'hono' import { zValidator } from '@hono/zod-validator' import { z } from 'zod' import type { Env } from '../types' const app = new Hono<{ Bindings: Env }>() // GET /api/users app.get('/', async (c) => { const db = c.env.DB const { results } = await db.prepare('SELECT * FROM users').all() return c.json({ users: results }) }) // GE

What's inside
Steps it walks through
  1. Workflow
  2. Step 1: Gather Endpoints
  3. Step 2: Create Route Files
  4. Step 3: Add Middleware
  5. Step 4: Wire Routes
  6. Step 5: Create Types
  7. Step 6: Generate APIENDPOINTS.md
  8. Key Patterns
  9. Zod Validation
  10. Error Handling
  11. RPC Type Safety
  12. Route Groups vs Single File
  13. Reference Files
  14. Assets
Ships with 5 files
  • assets/error-handler.ts
  • assets/middleware-template.ts
  • assets/route-template.ts
  • references/endpoint-docs-template.md
  • references/hono-patterns.md
More from claude-skills
All skills →
About this skill
What does the hono-api-scaffolder skill do?

Scaffold Hono API routes for Cloudflare Workers. Produces route files, middleware, typed bindings, Zod validation, error handling, and API_ENDPOINTS.md documentation. Use after a project is set up with cloudflare-worker-builder or vite-flare-starter, when you need to add API routes, create endpoints, or generate API documentation.

How do I install it?

Run `npx skills add jezweb/claude-skills --skill hono-api-scaffolder --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From jezweb/claude-skills, a repository with 954 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going