hono-routing

Build type-safe Hono APIs with routing, validation, and RPC type inference.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/joshcox/thoughts-prompts-and-things --skill hono-routing-joshcox
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hono-routing
Source: https://github.com/joshcox/thoughts-prompts-and-things/tree/main/.claude/skills/hono-routing
Command: npx skills add https://github.com/joshcox/thoughts-prompts-and-things --skill hono-routing-joshcox

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes templates (resource) and references (resource) components.

What problem does it solve?

This Skill teaches building type-safe APIs using Hono, covering routing patterns, middleware composition, request validation, RPC with type inference, and robust error handling.

Core Capabilities

  • Routing patterns: route params, query params, wildcards, grouping
  • Middleware composition and chaining
  • Request validation with Zod/Valibot/Typia/ArkType
  • Typed routes (RPC) with full type inference
  • Error handling with HTTPException
  • Context extension with typed variables

Quick Start

Create a Hono app with routes like app.get('/info', handler) and export type AppType = typeof route for RPC usage.