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

Hono API Scaffolder (Cloudflare Workers)

Scaffolds Hono route files, middleware, Zod validation, typed bindings and API docs for an existing Cloudflare Workers project.

Dev & CodingIntermediate1,018102AI score 9/10Last updated: Jul 2, 2026

What it does

Adds a structured Hono API layer to a Cloudflare Workers project that already exists.

  • Generates one route file per resource (src/routes/users.ts, posts.ts, ...)
  • Adds auth middleware, CORS, and a standard JSON error handler
  • Defines the Env interface for D1, KV, R2 and secret bindings
  • Validates request bodies with @hono/zod-validator
  • Wires every route group into src/index.ts plus a health check
  • Produces an API_ENDPOINTS.md reference document
  • Shows end-to-end RPC type safety with the hc Hono client

Includes a sizing table for when to use a single file vs. route modules vs. shared middleware.

Who it's for

  • Backend/fullstack developers building APIs on Cloudflare Workers with Hono
  • Teams that want type-safe D1/KV/R2 access
  • Projects that need API documentation kept in sync with the code
  • Anyone who just bootstrapped a project with cloudflare-worker-builder or vite-flare-starter

Examples

  1. "Create CRUD endpoints for users and posts" → resource route files, Zod schemas, and mounting in index.ts.
  2. "Protect /api/admin routes with a Bearer token middleware" → generates and applies requireAuth.
  3. "Document all current endpoints" → writes API_ENDPOINTS.md with method, auth, body 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/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 plugins/cloudflare/skills/hono-api-scaffolder folder from the GitHub repo jezweb/claude-skills into my ~/.claude/skills/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/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. Create the skills directory: mkdir -p ~/.claude/skills
  3. Copy just this skill: cp -r claude-skills/plugins/cloudflare/skills/hono-api-scaffolder ~/.claude/skills/
  4. Verify the assets/ and references/ subfolders came along.
  5. Restart Claude Code, open your existing Cloudflare Workers project, and ask it to "scaffold Hono API routes".
  6. Install the runtime dependencies: pnpm add hono @hono/zod-validator zod