Hono

From InugamiDev/ultrathink-oss · View interactive version

Hono is an AI agent skill from the GitHub repository InugamiDev/ultrathink-oss. > Ultrafast web framework for the edge — Cloudflare Workers, Deno, Bun, Node.js, AWS Lambda.

How to use this skill

Skill file

Hono

Ultrafast web framework for the edge — Cloudflare Workers, Deno, Bun, Node.js, AWS Lambda.

When to Use

Core Patterns

Basic App

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

const app = new Hono()
  .use("*", logger())
  .use("/api/*", cors());

app.get("/", (c) => c.json({ status: "ok" }));

app.post("/users", zValidator("json", CreateUserSchema), async (c) => {
  const data = c.req.valid("json");
  const user = await createUser(data);
  return c.json(user, 201);
});

export default app; // Works on any runtime

RPC Client (End-to-End Type Safety)

import { hc } from "hono/client";
import type { AppType } from "../server";

const client = hc<AppType>("http://localhost:3000");
const res = await client.users.$post({ json: { name: "Inu" } });
// Fully typed request and response

Key Features

Deployment Targets

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.