Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

Hono API Scaffolder

Scaffolds Hono API routes, middleware, Zod validation and endpoint docs for Cloudflare Workers projects.

Web & APIIntermediate★ 1,034⑂ 105AI score 9/10Last updated: Sep 29, 2026

What it does

  • Creates one route file per resource (src/routes/users.ts, posts.ts, auth.ts) with CRUD handlers.
  • Adds request-body validation using Zod and @hono/zod-validator with fully typed c.req.valid().
  • Drops in auth (Bearer token) middleware, CORS setup, and a global JSON error handler.
  • Defines a typed Env interface for D1, KV, R2 bindings and secrets, then mounts routes in src/index.ts.
  • Generates API_ENDPOINTS.md documenting auth, request body and response codes per endpoint.
  • Recommends file structure based on endpoint count and shows Hono RPC (hc) for end-to-end typing.

Who it's for

  • Backend/fullstack developers building APIs with Hono on Cloudflare Workers.
  • Teams who already scaffolded a project with cloudflare-worker-builder or vite-flare-starter.
  • Anyone whose Worker has outgrown a single index.ts and needs structured routes plus docs.

Examples

  1. "Add REST endpoints for users, posts and auth" → three route files plus mounting code in index.ts.
  2. "Validate the email field on POST /api/users" → Zod schema, zValidator middleware, and a consistent 400 error shape.
  3. "Document the current API" → an API_ENDPOINTS.md listing auth requirements, bodies and response codes.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/jezweb/claude-skills/HEAD/archive/plugins/cloudflare/skills/hono-api-scaffolder/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the archive/plugins/cloudflare/skills/hono-api-scaffolder folder from the GitHub repo jezweb/claude-skills into my ~/.claude/skills/jezweb-hono-api-scaffolder/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/jezweb/claude-skills.git /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/archive/plugins/cloudflare/skills/hono-api-scaffolder ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal and clone the repo: git clone https://github.com/jezweb/claude-skills.git
  2. Make sure the skills folder exists: mkdir -p ~/.claude/skills
  3. Copy the skill in: cp -r claude-skills/archive/plugins/cloudflare/skills/hono-api-scaffolder ~/.claude/skills/
  4. Verify with ls ~/.claude/skills/hono-api-scaffolder — you should see SKILL.md, assets/, and references/.
  5. Restart Claude Code, open your existing Cloudflare Workers project, and ask it to "scaffold the Hono API routes".
  6. Install the runtime dependencies in your project: pnpm add hono @hono/zod-validator zod