hono-cloudflare

Deploy type-safe Hono APIs to Cloudflare Workers with typed bindings.

3|1|Updated Jun 3, 2025
One-click install
npx skills add https://github.com/Tobbe3108/GoPayShortcuts --skill hono-cloudflare
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hono-cloudflare
Source: https://github.com/Tobbe3108/GoPayShortcuts/tree/main/.opencode/skills/hono-cloudflare
Command: npx skills add https://github.com/Tobbe3108/GoPayShortcuts --skill hono-cloudflare

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables developers to deploy type-safe Hono APIs to Cloudflare Workers with integrated bindings for KV, D1, R2, Durable Objects, and Cloudflare Pages, empowering fast, edge-centric APIs.

Core Features & Use Cases

  • Native Cloudflare Workers support with TypeScript typings
  • Typed bindings for KV, D1, R2, Durable Objects, and Queues
  • Static assets serving and Cloudflare Pages integration
  • Use cases: global edge APIs, serverless functions, real-time apps, and full-stack apps on Pages

Quick Start

Use the hono-cloudflare skill to scaffold and deploy a minimal Hono app to Cloudflare Workers.

Frequently Asked Questions about hono-cloudflare

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a type-safe Hono API to Cloudflare Workers?

To deploy a type-safe Hono API to Cloudflare Workers, you scaffold a minimal Hono application, configure typed bindings for services like KV and D1, and use wrangler to deploy the project to the edge.

Can I use Cloudflare D1 and KV bindings with Hono?

Yes, you can use Cloudflare D1 and KV bindings with Hono. The skill provides native TypeScript typings for these bindings, ensuring type-safe interactions with KV, D1, R2, Durable Objects, and Queues.

What is the best way to serve static assets with Hono on Cloudflare Pages?

The best way to serve static assets with Hono on Cloudflare Pages is by leveraging the skill's native Cloudflare Pages integration, which configures static asset serving alongside your type-safe edge API.

Does Hono support type-safe bindings for Durable Objects and R2?

Yes, Hono supports type-safe bindings for Durable Objects and R2. It provides TypeScript typings for these Cloudflare services, enabling secure and structured data interactions within your edge functions.

How do I set up wrangler for a Hono project on Cloudflare?

You set up wrangler for a Hono project by configuring environment variables and project structure according to the deployment guidance provided, ensuring your Cloudflare Workers API is correctly prepared for edge deployment.