hono-ops

Solid

Hono on Cloudflare Workers - composition, middleware, typed bindings, validation, RPC, streaming, testing. Use for: hono, hono middleware, app.route, hono rpc, c.env bindings, onError, zValidator, vitest-pool-workers, spa fallback worker.

AI & Automation 42 stars 7 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
54
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Hono Operations Hono on Cloudflare Workers: composing multi-app APIs in one Worker, middleware discipline, typed errors, validation at the HTTP boundary, SPA co-serving, RPC clients, and testing under vitest-pool-workers. Patterns here are distilled from a production multi-tenant Worker (one Hono app, 6+ mounted sub-apps, ~1350 tests). > Verified against Hono v4 (2026). Workers-first; the Node/Bun/Deno deltas and > porting checklist live in references/runtime-adapters.md. **Staleness check:** `python scripts/check-hono-facts.py --offline` asserts the version-bearing facts (Hono major, `@hono/zod-validator`, `@cloudflare/vitest-pool-workers`) are still named in the prose and the dated currency note above is present; `--live` confirms each package's npm major still matches. Catalog: `assets/hono-facts.json`. ## Decision Tree ``` What are you doing with Hono? │ ├─ Structuring an app (generics, sub-apps, env typing) │ └─ Below + references/app-composition.md │ ├─ Middleware (ordering, auth, headers, exclusion boundaries) │ └─ Below + references/middleware.md │ ├─ Errors / 404s / request validation │ └─ Below + references/errors-validation.md │ ├─ Path syntax, routers, c.req/c.res surface, cookies │ └─ references/routing-and-request.md │ ├─ Serving a SPA / static assets from the same Worker │ └─ references/workers-runtime.md │ ├─ Cron / queues alongside fetch; runtime gotchas │ └─ references/workers-runtime.md │ ├─ Streaming / SSE / WebSockets / proxying / service bin...

Details

Author
0xDarkMatter
Repository
0xDarkMatter/claude-mods
Created
10 months ago
Last Updated
1 weeks ago
Language
Shell
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category