If you're building a Hono API and want type safety without the codegen dance, this handles the client side cleanly. Export your server's AppType and the client knows every route, param, and response shape through TypeScript inference alone. Works with Zod validators and gives you status code aware types, so you're not guessing what comes back from each endpoint. It's the kind of setup that makes sense when you control both ends of the stack and want to move fast without maintaining OpenAPI specs or running generators every time routes change. Small, focused, does one thing well.

skills.sh installs
450
GitHub stars
79
last updated
Aug 21, 2026

Install

$ npx -y skills add bobmatnyc/claude-mpm-skills --skill hono-rpc --agent claude-code

Installs into .claude/skills of the current project.

Files

Hono RPC - Type-Safe Client

Overview

Hono RPC enables sharing API specifications between server and client through TypeScript's type system. Export your server's type, and the client automatically knows all routes, request shapes, and response types - no code generation required.

Key Features:

  • Zero-codegen type-safe client
  • Automatic TypeScript inference
  • Works with Zod validators
  • Status code-aware response types
  • Supports path params, query, headers

When to Use This Skill

Use Hono RPC when:

  • Building full-stack TypeScript applications
  • Need type-safe API consumption without OpenAPI/codegen
  • Want compile-time validation of API calls
  • Sharing types between client and server in monorepos

Basic Setup

Server Side

// server/index.ts
import { Hono } from 'hono'
import { zValidator } from '@hono/zod-validator'
import { z } from 'zod'

const app = new Hono()

Sponsors

Details

Repository
github.com/bobmatnyc/claude-mpm-skills
Category
Backend & APIs
First seen
Jun 3, 2026

More from bobmatnyc/claude-mpm-skills

All 158
1bobmatnyc avatarflaskbobmatnyc/claude-mpm-skillsFlask - Lightweight Python web framework for microservices, REST APIs, and flexible web applications with extensive extension ecosystem449skills.sh installs
2manutej avatarexpress-microservices-architecturemanutej/luxor-claude-marketplaceComplete guide for building scalable microservices with Express.js including middleware patterns, routing strategies, error handling, production architecture, a449skills.sh installs
3manutej avatarlinear-dev-acceleratormanutej/luxor-claude-marketplaceAccelerate software development with Linear project management and MCP server integration. Master issue tracking, project workflows, and development automation 446skills.sh installs
4personamanagmentlayer avatarnginx-expertpersonamanagmentlayer/pclExpert-level Nginx configuration, reverse proxy, load balancing, SSL/TLS, caching, and performance tuning446skills.sh installs
5affitor avataraffiliate-checkaffitor/affiliate-skillsLive affiliate program data from openaffiliate.dev. Search programs, compare commissions, check cookie days, find top performers. Use when researching affiliate445skills.sh installs
6netease-youdao avatarimap-smtp-emailnetease-youdao/lobsteraiRead and send email via IMAP/SMTP. Check for new/unread messages, fetch content, search mailboxes, mark as read/unread, and send emails with attachments. Works 445skills.sh installs