Terminal.skills
Skills/hono
>

hono

You are an expert in Hono, the ultrafast web framework for the edge. You help developers build APIs and web applications that run on Cloudflare Workers, Deno, Bun, Node.js, AWS Lambda, and Vercel Edge — with a tiny footprint (~14KB), middleware ecosystem, JSX support, RPC client, and Web Standards API compatibility that makes code truly portable across runtimes.

#web-framework#edge#cloudflare#bun#deno#fast#typescript
terminal-skillsv1.0.0
Works with:claude-codeopenai-codexgemini-clicursor
Source

Usage

$
✓ Installed hono v1.0.0

Getting Started

  1. Install the skill using the command above
  2. Open your AI coding agent (Claude Code, Codex, Gemini CLI, or Cursor)
  3. Reference the skill in your prompt
  4. The AI will use the skill's capabilities automatically

Example Prompts

  • "Review the open pull requests and summarize what needs attention"
  • "Generate a changelog from the last 20 commits on the main branch"

Information

Version
1.0.0
Author
terminal-skills
Category
Backend Development
License
Apache-2.0

Use Cases

Build a Customer Health Scoring System
Build a Serverless API with Bun and Neon
Deploy an Edge API with Cloudflare Workers and Hono
Build an AI-Powered Log Anomaly Detector
Build an API Gateway with Plugin System
Build an Automated Database Migration System
Build a Data Pipeline with Schema Evolution
Build a Distributed Task Queue with Priorities
Build a Dynamic PDF Report Generator
Build Multi-Tenant SaaS with Row-Level Isolation
Build a Real-Time Analytics Dashboard with ClickHouse
Build a Serverless Image Optimization CDN
Build a User Activity Feed with Fanout
Build Event Sourcing for Financial Transactions
Build a GraphQL API with DataLoader and Caching
Build Self-Healing Infrastructure with Health Checks
Build an Automated API Documentation Generator
Build an ML Model Serving Pipeline
Build a Real-Time Multiplayer Game Server
Build a Server-Sent Events Real-Time Dashboard
Build a Tenant-Aware Job Scheduler
Build an AI Content Moderation Pipeline
Build a Data Export Pipeline with Streaming
Build Database Connection Pooling with Health Checks
Build an Email Notification System with Templates
Build Secrets Management with Automatic Rotation
Build a Webhook Delivery System with Retries
Build a Background Job Monitoring Dashboard
Build File Upload with Presigned URLs
Build an Idempotent API with Request Deduplication
Build a Rate Limiter with Sliding Window
Build a Smart Caching Layer with Invalidation
Build an Internal Developer Platform with Self-Service Deployment
Build an AI Code Review Bot That Actually Catches Bugs
Build a Real-Time Fraud Detection Pipeline
Build Usage-Based Billing for an AI SaaS Product
Build an Automated Incident Response System
Build a Data Mesh with Self-Serve Analytics
Build a Developer Portal with API Marketplace
Build a Distributed Rate Limiter for an API Gateway
Build an ML Feature Store for Production Recommendations
Build a Cost-Aware Kubernetes Autoscaler
Build an Intelligent Document Processing Pipeline
Build AI-Powered Search with Semantic Ranking
Build an Automated API Versioning and Deprecation System
Build an Automated Data Quality Monitoring System
Build a GDPR-Compliant Data Deletion Pipeline
Build an LLM Gateway with Fallback and Cost Control
Build an AI Code Review Bot for Pull Requests
Build AI-Powered Customer Support Triage
Build a Config-Driven Notification System
Build a Multi-Region Deployment with Edge Routing
Build a Payments Reconciliation Engine
Build Real-Time Collaboration with CRDTs
Build an A/B Testing Platform with Statistical Rigor
Build a Schema Registry for Event-Driven Architecture
Build an AI-Powered Changelog Generator
Build an Automated Compliance Evidence Collector
Build a Distributed Task Scheduler with Exactly-Once Execution
Build a Headless CMS with Live Preview
Build an Internal Feature Marketplace for Platform Teams
Build a Smart Email Routing and Auto-Response System
Build an AI Document Extraction Pipeline
Build a Data Pipeline Orchestrator with Lineage Tracking
Build a Real-Time Permissions System with Zanzibar
Build a WebSocket Gateway for Real-Time Features
Build an Automated Load Testing Framework
Build an Immutable Audit Log for Regulated Industries
Build a Mobile Push Notification Service
Build a Real-Time Collaborative Code Editor
Build a Serverless Image Processing Pipeline
Build Unified Search Across Multiple Data Sources
Build an AI Meeting Summarizer with Action Items
Build an Event-Sourced Shopping Cart
Build a Graceful Degradation System for Microservices
Build a Real-Time Fraud Scoring API
Build AI Search Autocomplete with Embeddings
Build Automated API Documentation from Code
Build a Bulk Data Export System
Build a Developer Portal with API Key Management
Build a Distributed Cron Job Scheduler
Build Event-Driven Notification Preferences
Build Event-Sourced Inventory Management
Build a Privacy Consent Management Platform
Build an AI-Powered Customer Segmentation Engine
Build an Automated Incident Response Runbook
Build an Infrastructure Cost Allocation System
Build an Automated Security Scanner for Dependencies
Build a Database Query Performance Analyzer
Build an Event-Driven Notification Orchestrator
Build Multi-Environment Configuration Management
Build a Webhook Signature Verification System
Launch a Full-Stack SaaS MVP in a Weekend
Build an A/B Testing Platform
Build AI Structured Data Extraction
Build an API Analytics Dashboard
Build an API Mock Server for Frontend Development
Build an Audit Trail with Immutable Log
Build a Bulk Import System
Build a Calendar Booking System
Build a Checkout Flow with Stripe
Build a Changelog API with In-App Announcements
Build Container Health Monitoring
Build a Content Moderation Pipeline
Build a CSV Export with Streaming
Build Custom Domain Mapping for SaaS
Build Disaster Recovery with Automated Failover
Build a Drag-and-Drop Kanban Board
Build a Dynamic Sitemap Generator
Build an Embeddable Widget SDK
Build an Email Verification Flow
Build Error Tracking with Source Maps
Build a File Manager with S3
Build Full-Text Search with PostgreSQL
Build a Gamification System with Points and Badges
Build Geolocation-Based Service Routing
Build an In-App Notification Center
Build Magic Link Authentication
Build a Dynamic Pricing Engine
Build an Observability Stack with OpenTelemetry
Build an Order Tracking System
Build a Product Recommendation Engine
Build a RAG Pipeline with Vector Search
Build an RBAC Permission System
Build a Rich Text Editor with Collaboration
Build Serverless Image Processing
Build a Session Management System
Build a Slack Bot for Team Automation
Build Stripe Connect Marketplace Payments
Build Soft Delete with Restore and Retention
Build a Subscription Management System
Build a Survey Builder with Analytics
Build a Tax Calculation Engine
Build Tenant Data Isolation for Multi-Tenant SaaS
Build a Threaded Comment System
Build a Two-Factor Authentication System
Build Usage Metering for SaaS Billing
Build a User Onboarding Flow with Progress Tracking
Build a Video Transcoding Pipeline
Build a Waitlist with Referral Boost
Build a Webhook Relay System
Build a Workflow Engine with State Machines
Build a Cookie Consent Manager
Build an E-Signature System
Build a Media Asset Library
Build a Dynamic OG Image Generator
Build a Privacy Dashboard for Data Subject Requests
Build a QR Code Generator API
Build a URL Shortener with Analytics
Build a Bot Detection System
Build a Chargeback Protection System
Build a Health Check Endpoint System
Build Multi-Currency Pricing
Build an On-Call Rotation Manager
Build a Performance Budget Monitor
Build an Announcement Banner System
Build an API Playground
Build a Digest Email System
Build Feature Tour Onboarding
Build an IP Geolocation Service
Build SMS OTP Verification
Build an Affiliate Tracking System
Build a Coupon and Discount Engine
Build a Leaderboard System
Build a Payment Link Generator
Build a Poll and Voting System
Build a Social Feed System
Build an SSO Provider
Build a Device Management System
Build a Dunning and Failed Payment Recovery System
Build E-Commerce Product Search
Build a Geo-Fencing System
Build an Invite-Only Access System
Build a Link Preview Generator
Build a PDF Template Engine
Build a Dynamic Pricing Engine
Build a Screenshot API
Build a Shipping Rate Calculator
Build a Terms Acceptance Tracker
Build a Warehouse Inventory System
Build a Digital Asset Management System
Build a Data Subject Request Handler
Build an OAuth Provider
Build a Proration Billing System
Build a Design Token System
Build an Email Template Builder
Build a Web Push Notification Service
Build a CAPTCHA Verification System
Build a GraphQL Playground
Build an i18n Translation Management System
Build an In-App Messaging System
Build an IP Blocking Firewall
Build a Sandbox Environment System
Build a Tooltip Guide System
Build an API Key Management System
Build a Circuit Breaker Pattern
Build a Config Management Service
Build a Database Migration Runner
Build an Event Sourcing System
Build a Distributed Task Queue
Build a Multi-Step Approval Workflow
Build Real-Time Collaboration Cursors
Build a Tenant Onboarding Wizard
Build an AI Agent Orchestration Loop
Build Browser Automation for AI Agents
Build a Context Database for AI Agents
Build a Generative UI Framework
Build a Real-Time News Aggregation Dashboard
Build a Voice Synthesis API
Build an AI Workflow Builder
Build a DNS Domain Management System
Build an LLM Prompt Management System
Build a Semantic Search Engine
Build a Streaming Data Pipeline
Build a Video Transcoding Queue
Build a Workspace CLI Tool
Build an Automated Research Agent
Build a Data Lineage Tracker
Build a Document AI Extraction Pipeline
Build an Edge Function Runtime
Build an Infrastructure Health Monitor
Build an LLM-Powered Stock Analyzer
Build a Prompt Management Platform
Build an RSS Feed Aggregation Service
Build a Structured LLM Output Parser
Build an Auto-Scaling Engine
Build a Data Masking Engine
Build a Database Sharding Layer
Build a Dependency Graph Analyzer
Build a Credential Vault
Build a Dynamic Form Builder
Build a Sitemap Generator
Build a Usage Metering and Billing Engine
Build an API Mock Server
Build a File Format Converter API
Build a Markdown Collaborative Editor
Build a Rolling Deployment Engine
Build a Bidirectional Data Sync Engine
Build an Entity Extraction Pipeline
Build a Spreadsheet Formula Engine
Build a Transactional Outbox Pattern
Build an Error Boundary System
Build an OpenAPI Client Generator
Build a Tenant Isolation Testing Framework
Build a PDF Merge and Fill Service
Build a Subscription Lifecycle Manager
Build a Workspace Automation CLI
Build an Embeddable Chat Widget
Build an Inbound Email Processor
Build a Test Data Factory
Build a Token Bucket Rate Limiter
Build an Admin Impersonation System
Build a Cron Job Dashboard
Build a Custom Domain SSL Provisioner
Build an Outgoing Webhook Builder
Build an API Usage Analytics Dashboard
Build a Content Recommendation Engine
Build a Data Retention Manager
Build Geo-Aware CDN Routing
Build an Image CDN Proxy
Build an NPS Feedback System
Build a Release Note Widget
Build a Team Permission Matrix
Build a Slow Query Analyzer
Build a Tenant Usage Dashboard
Build an AI Text Classification API
Build an API Idempotency Layer
Build an API Gateway Plugin System
Build a Feature Flag Audit System
Build a Monorepo Package Publisher
Build a Content Calendar System
Build a Worker Pool Manager
Build a Payment Reconciliation Engine
Build a Compliance Audit Checklist System
Build a Media Transcoding Pipeline
Build a Virtual Scroll Table
Build a Content Moderation Queue
Build a Distributed Lock Manager
Build a Team Invitation System
Build a Changelog RSS Feed
Build a Database Query Profiler
Build an AI Agent Evaluation Framework
Build a Notification Template Engine
Build Interactive API Documentation
Build a Request Tracing System
Build an API Key Rotation Scheduler
Build a Resource Usage Limiter
Build a Database Seed Manager
Build a Config Drift Detector
Build a Webhook Event Log
Build AI-Powered Search Ranking
Build an Environment Variable Manager
Build Feature Usage Analytics
Build Smart Notification Batching
Build Automated Backup Verification
Build an API Error Budget Tracker
Build an API Contract Changelog
Build a Customer Data Export System
Build a Deployment Rollback Manager
Build a Shared Component Library
Build a Scheduled Report Generator
Build an IP Reputation Scoring System
Build an API Sandbox Environment
Build an Event Bus System
Build a Long-Running Task Tracker
Build a Progressive Web App Shell
Build an API Request Validator
Build a User Session Manager
Build a Database Connection Health Monitor
Build a Customer Self-Service Portal
Build a Secrets Scanner
Build a Workflow State Machine
Build a Database Index Advisor
Build Smart Cache Invalidation
Build a Content Versioning System
Build a QR Code Generator Service
Build an API Response Cache Layer
Build a Database Read Replica Router
Build a Session Replay System
Build an AI Image Alt Text Generator
Build an AI Prompt Chain Executor
Build an AI Voice Transcription Service
Build Browser Stealth Automation
Build a Customer Feedback Analyzer
Build a Dark Launch System
Build a Design Editor Canvas
Build GEO-SEO Optimization
Build a GraphQL Federation Gateway
Build a Database Archival System
Build a Serverless Function Deployer
Build a Webhook Debug Tool
Build a Knowledge Graph Builder
Build a Customer Onboarding Checklist
Build an API Health Dashboard
Build a CI/CD Pipeline Orchestrator
Build 3D Data Visualization
Build an API Monetization Platform
Build Web3 Wallet Integration
Build an App Store Screenshot Generator
Build a Context Compression Engine
Build an Agent Security Framework
Build an IoT Device Dashboard
Build a Kubernetes Operator
Build a Social Media Scheduler
Build an Email Deliverability Monitor
Build an SEO Audit Tool
Build a Globally Distributed API with Hono + Turso on Cloudflare Workers
Build Serverless Cron Jobs with Cloudflare Workers
Build a Telegram Mini App

Documentation

You are an expert in Hono, the ultrafast web framework for the edge. You help developers build APIs and web applications that run on Cloudflare Workers, Deno, Bun, Node.js, AWS Lambda, and Vercel Edge — with a tiny footprint (~14KB), middleware ecosystem, JSX support, RPC client, and Web Standards API compatibility that makes code truly portable across runtimes.

Core Capabilities

API Routes

typescript
import { Hono } from "hono";
import { cors } from "hono/cors";
import { logger } from "hono/logger";
import { jwt } from "hono/jwt";
import { zValidator } from "@hono/zod-validator";
import { z } from "zod";

const app = new Hono();

// Middleware
app.use("*", logger());
app.use("/api/*", cors({ origin: ["https://myapp.com"], credentials: true }));
app.use("/api/protected/*", jwt({ secret: process.env.JWT_SECRET! }));

// Typed routes with Zod validation
const createUserSchema = z.object({
  name: z.string().min(1),
  email: z.string().email(),
  role: z.enum(["user", "admin"]).default("user"),
});

app.get("/api/users", async (c) => {
  const { page, limit } = c.req.query();
  const users = await db.users.findMany({
    skip: ((+page || 1) - 1) * (+limit || 20),
    take: +limit || 20,
  });
  return c.json({ data: users });
});

app.post("/api/users", zValidator("json", createUserSchema), async (c) => {
  const body = c.req.valid("json");        // Typed as { name: string, email: string, role: "user" | "admin" }
  const user = await db.users.create({ data: body });
  return c.json(user, 201);
});

app.get("/api/users/:id", async (c) => {
  const id = c.req.param("id");
  const user = await db.users.findUnique({ where: { id } });
  if (!user) return c.json({ error: "Not found" }, 404);
  return c.json(user);
});

// Protected route
app.get("/api/protected/me", (c) => {
  const payload = c.get("jwtPayload");
  return c.json({ userId: payload.sub });
});

export default app;

RPC Client (Type-Safe)

typescript
// server.ts — Export typed routes
const routes = app
  .get("/api/users", ...)
  .post("/api/users", ...);

export type AppType = typeof routes;

// client.ts — Type-safe client (like tRPC but for REST)
import { hc } from "hono/client";
import type { AppType } from "./server";

const client = hc<AppType>("https://api.myapp.com");

const users = await client.api.users.$get();
const json = await users.json();           // Typed as User[]

const newUser = await client.api.users.$post({
  json: { name: "Alice", email: "alice@example.com" },  // Type-checked!
});

JSX and HTML

tsx
import { Hono } from "hono";
import { html } from "hono/html";

const app = new Hono();

app.get("/", (c) => {
  return c.html(
    <html>
      <body>
        <h1>Hello from Hono!</h1>
        <p>Running on {c.runtime}</p>
      </body>
    </html>
  );
});

// Streaming
app.get("/stream", (c) => {
  return c.streamText(async (stream) => {
    for (const word of "Hello World from Hono!".split(" ")) {
      await stream.write(word + " ");
      await stream.sleep(100);
    }
  });
});

Installation

bash
npm create hono@latest my-app
# Choose: cloudflare-workers | nodejs | bun | deno | vercel | aws-lambda
cd my-app && npm install
npm run dev

Best Practices

  1. Web Standards — Uses Request/Response API; code runs on any runtime without changes
  2. Zod validation — Use @hono/zod-validator for type-safe request validation; compile + runtime safety
  3. RPC client — Use hc<AppType>() for type-safe client; catches API contract mismatches at compile time
  4. Middleware — Rich ecosystem: cors, jwt, logger, compress, cache, rate-limit, OpenAPI
  5. Edge-first — 14KB bundle; runs on Cloudflare Workers with <1ms cold start
  6. Multi-runtime — Same code deploys to Workers, Bun, Deno, Node, Lambda; switch with one config change
  7. JSX support — Built-in JSX for server-rendered HTML; no React needed for simple pages
  8. Streamingc.streamText() and c.stream() for SSE, chunked responses, AI streaming