hono-idioms
Hono Idioms and Patterns
Core Philosophy
Hono rewards thin handlers, middleware composition, multi-runtime portability, and end-to-end type safety. Idiomatic Hono = typed routes, validator middleware, RPC client — no code generation needed.
Scope: Hono-specific patterns. For TypeScript fundamentals: @.agents/skills/typescript-idioms/SKILL.md. For project structure: @.agents/skills/hono-idioms/references/project-structure.md.
Loading guard / auto-detection: Hono has no canonical marker file, so it is not reliably auto-detected by file glob (only
wrangler.toml— the Cloudflare Workers case — triggers this skill directly). For Node.js / Bun / Deno Hono projects, co-load this skill alongside@.agents/skills/typescript-idioms/SKILL.mdwheneverhonoappears inpackage.json. Do NOT load this skill for Express, Fastify, or NestJS — it is Hono-only.
When to Load References
Load these before writing code in the matching context — not after.