mikkelkrogsholm/dev-skills/hono

Claude Code and agent skill by mikkelkrogsholm/dev-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Hono — ultrafast, multi-runtime web framework built on Web Standards. Use when building with Hono or asking about its APIs, configuration, patterns, or integration. Fetch live documentation for up-to-date details.

Install

npx vskill@latest install mikkelkrogsholm/dev-skills/hono

SKILL.md

Hono

CRITICAL: Your training data for Hono is unreliable. APIs change between versions and memorized patterns may be wrong or deprecated. Before writing any code, you MUST use WebFetch to read the live docs:
`WebFetch("https://hono.dev/llms.txt")`
Do not proceed without fetching this URL first. Never assume an API exists — verify against current docs.

Hono is an ultrafast, lightweight web framework built on Web Standards that runs on Cloudflare Workers, Deno, Bun, AWS Lambda, Node.js, and other runtimes from a single codebase.

Key Capabilities

Hono ships with extensive built-in middleware and helpers — no external packages needed for:

  • Auth: Basic Auth, Bearer Auth, JWT, JWK (hono/basic-auth, hono/bearer-auth, hono/jwt)
  • Security: CORS, CSRF, Secure Headers, IP Restriction (hono/cors, hono/csrf, hono/secure-headers)
  • Performance: Compress, Cache, ETag, Body Limit, Timeout (hono/compress, hono/cache, hono/etag)
  • Utilities: Logger, Request ID, Cookie helper, Streaming, WebSocket (hono/logger, hono/cookie, hono/streaming, hono/websocket)
  • Rendering: JSX renderer, HTML helper, SSG (hono/jsx, hono/html)

Best Practices

Validate header names in lowercase. Hono normalises incoming header keys to lowercase per the Fetch API spec. When accessing validated header values, always use lowercase keys (value['idempotency-key'], not value['Idempotency-Key']). Uppercase lookups silently return undefined.

Set Content-Type or validation silently passes empty objects. The built-in json() and form() validators only parse when the request Content-Type matches. A missing or wrong header causes the validator to receive {} and pass — no error is thrown. Always set Content-Type: application/json (or application/x-www-form-urlencoded) in tests and client calls.

Do not extract handlers into separate controller files. Unlike Express, Hono's path-parameter types are inferred from the route string at the call site. Moving handlers into separate files loses that inference without writing complex generics. Keep handlers inline with route definitions, or use factory.createHandlers() from hono/factory when separation is required.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mikkelkrogsholm/dev-skills/hono/badge)](https://verified-skill.com/skills/mikkelkrogsholm/dev-skills/hono)

Something wrong with this skill or its page? Tell us.