LogoClawIndex
CasesSkillsAbout
LogoClawIndex

hono - Hono routing, middleware, and error handling for Avash

Use when writing or reviewing Hono routes, middleware, validation, or error handling under apps/api/src.

Tags

Updated: 2026-09-12

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Write Hono routes and middleware
  • Validate boundary requests using Zod
  • Wrap route handlers with error boundary
  • Enforce strict CORS allow-listing
  • Connect database via Supavisor pooler

Inputs

  • HTTP request body, query, and parameters
  • Zod schemas from packages/types
  • Environment CORS allow-list configuration

Outputs

  • Generic 400 validation error responses
  • User-safe JSON error responses
  • Server-side error logs with correlation ID
  • Configured Hono API routes and middleware

Requirements

  • Cloudflare Workers runtime environment
  • Supabase Supavisor transaction-mode pooler
  • packages/types and packages/logger workspace packages

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
hono
api
middleware
validation
error-handling
workers
supabase
Write Hono routes and middleware
Validate boundary requests using Zod
Wrap route handlers with error boundary
Enforce strict CORS allow-listing
HTTP request body, query, and parameters
Zod schemas from packages/types
Environment CORS allow-list configuration
Generic 400 validation error responses
User-safe JSON error responses
Server-side error logs with correlation ID