hono · davila7 — Claude Code skill: what it does and how to install
This skill guides Hono API and app development, covering routes, middleware, validation, and typed RPC clients. Use it when building for runtimes such as Bun or Cloudflare Workers.
npx claude-code-templates@latest --skill web-development/honoWhat hono does
The skill walks through building a Hono server, from defining endpoints to reading request parameters and returning JSON or other responses. It covers middleware for CORS and authentication, request validation with Zod, and splitting an app into route groups.
For RPC, the examples show how to expose route types and consume them through hc. The documented runtime options include Cloudflare Workers, Deno, Bun, Node.js, and WinterCG-compatible environments. Since deployment targets differ, check the runtime before carrying project settings across environments.
To add the skill with the Claude Code templates package, run npx claude-code-templates@latest --skill web-development/hono. The entry also provides an alternative using npx skills and a skill file path.
What it helps with
- define REST API routes and handle request parameters
- add CORS or bearer authentication middleware
- validate JSON input with Zod
- organize an app into route groups
- connect a typed RPC client to an API
Example prompts for the agent
- Build a Hono REST API with routes for posts and users.
- Add CORS and bearer authentication middleware to this API.
- Set up an
hcclient using the Hono route types.
How to install hono
1claude-code-templates
npx claude-code-templates@latest --skill web-development/hono2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill hono -a claude-code3Manually: put the files in place
~/.claude/skills/hono/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/hono/
Manually: put the files in place
.agents/skills/hono/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/hono/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates hono2Manually: put the files in place
.github/skills/hono/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/web-development/honoManually: put the files in place
.devin/skills/hono/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about hono
How do I install hono in Claude Code?
Run npx claude-code-templates@latest --skill web-development/hono. This is one available installation method.
What does the hono skill do?
It guides Hono API and app development, including routing, middleware, input validation, and typed RPC clients.
Which runtimes can Hono run on?
The material covers Cloudflare Workers, Deno, Bun, Node.js, and environments compatible with WinterCG.
Similar skills
All skills for Backend and APIs →hono by other authors comes first.