Hono Validation
Type-safe request validation for Hono using Zod, TypeBox, Valibot, or any Standard Schema library.
- CCM score
- 57 of 100
- skills.sh installs
- 438
- GitHub stars
- 79
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers validation middleware for JSON bodies, forms, query params, headers, cookies, and path params
- Includes Zod patterns for coercion, defaults, transformations, refinements, and discriminated unions
- Shows custom error responses and chaining multiple validators on a single route
- Designed for Hono apps that need inferred handler types from request schemas
Install
$ npx -y skills add bobmatnyc/claude-mpm-skills --skill hono-validation -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Hono Validation Patterns
Overview
Hono provides a lightweight built-in validator and integrates seamlessly with popular validation libraries like Zod, TypeBox, and Valibot. Validation happens as middleware, providing type-safe access to validated data in handlers.
Key Features:
- Built-in lightweight validator
- First-class Zod integration via
@hono/zod-validator - Standard Schema support (works with any validation library)
- Type inference from validation schemas
- Validates: JSON, forms, query params, headers, cookies, path params
When to Use This Skill
Use Hono validation when:
- Validating API request bodies (JSON, form data)
- Ensuring query parameters meet requirements
- Validating authentication headers
- Type-safe path parameter parsing
- Cookie validation
Installation
# Zod (recommended)
npm install @hono/zod-validator zod
# TypeBox
npm install @hono/typebox-validator @sinclair/typebox
# Valibot
npm install @hono/valibot-validator valibot
# Standard Schema (any compatible library)
npm install @hono/standard-validator
Zod Validation (Recommended)
Basic Usage
Details
- Repository
- github.com/bobmatnyc/claude-mpm-skills
- Category
- Backend & APIs
- First seen
- Jun 3, 2026
Questions
What does the hono-validation skill do?
hono-validation adds type-safe request validation to Hono apps using Zod, TypeBox, or Valibot. It checks JSON bodies, form data, query parameters, headers, cookies, and path parameters before a handler runs, so the handler receives typed data.
How do I install hono-validation?
Run npx -y skills add bobmatnyc/claude-mpm-skills --skill hono-validation -y in your project. After that, hono-validation lets the agent write Zod, TypeBox, or Valibot validators as Hono middleware.
Which validation libraries does hono-validation support?
hono-validation covers Zod, which it recommends, along with TypeBox and Valibot, plus a built-in validator for simple cases. It also supports any library that implements the Standard Schema spec.
Where does hono-validation fit in the Backend and APIs category?
hono-validation is one of the skills in the Backend and APIs category on Claude Marketplaces. Its focus on validating Hono request inputs with typed schemas sets it apart from the database and platform skills listed beside it.
More from bobmatnyc/claude-mpm-skills
All 154- Golang Concurrency Patterns437
- Digitalocean Overview436
- Digitalocean Networking433
- Openrouter433
- Digitalocean Storage431
- Golang Database Patterns431
- Digitalocean Managed Databases421
- Shadcn Ui421
- Test Driven Development421
- Verification Before Completion418
- Better Auth Authentication416
- Kubernetes415
- Kysely415
- Json Data Handling412
- Systematic Debugging410
- Api Documentation409
- Screenshot408
- Vue408
- Software Patterns401
- Root Cause Tracing400
- Nextjs V16399
- Testing Anti Patterns398
- Vercel Deployments Builds396
- Security Scanning395
Similar to Hono Validation
More Backend & APIshono-routingPluginsecondsky/claude-skills254 starsType-safe Hono APIs with routing, middleware, RPC. Use for request validation, Zod/Valibot validators, or encountering middleware type inference, validation hoo
validated-handlerSkillbobmatnyc/claude-mpm-skills350 installsType-safe Next.js App Router route handler that validates query and body input with Zod automatically.
zodSkillbobmatnyc/claude-mpm-skills918 installsTypeScript schema validation library that infers static types from runtime schemas for forms and APIs.
bun-hono-integrationSkillsecondsky/claude-skills477 installsLightweight Hono web framework guide for building Bun APIs with routing, middleware, and validation.
zod-schema-validationSkillmindrally/skills1.2K installsPractical Zod guidance for TypeScript schemas, type inference, parsing, forms, and API validation.
zod-validation-utilitiesSkillgiuseppe-trisciuoglio/developer-kit4.2K installsReusable Zod v4 schema patterns for type-safe validation of APIs, forms, and config with inferred types.