Prompt Buddy logoPrompt Buddy

hono · Hono Docs

Getting Started Cloudflare Workers

Teaches how to set up, develop locally, run, and deploy a Hono application on the Cloudflare Workers runtime, including configuring ports, serving static files, and integrating with other event handlers.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Getting Started Cloudflare Workers

Teaches how to set up, develop locally, run, and deploy a Hono application on the Cloudflare Workers runtime, including configuring ports, serving static files, and integrating with other event handlers.

When To Use

Use when you need to initialize a Hono project for Cloudflare Workers, configure local development environments with Wrangler, or deploy a Hono application to the Cloudflare edge runtime.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/getting-started-cloudflare-workers-workflow-guide.mdA guide covering the setup, hello world implementation, and local execution of a Hono application on the Cloudflare Workers runtime.Questions about a guide covering the setup, hello world implementation, and local execution of a Hono application on the Cloudflare W...
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-npm-create-co.shA shell command to initialize a new Hono application specifically for the Cloudflare Workers environment using npm.Exact payloads, commands, or snippets shown in A shell command to initialize a new Hono application specifically for the Cloudflare Workers environment using npm.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-create-app-co.shA shell command to scaffold a new Hono application specifically for the Cloudflare Workers environment using yarn.Exact payloads, commands, or snippets shown in A shell command to scaffold a new Hono application specifically for the Cloudflare Workers environment using yarn.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-pnpm-create-c.shA shell command to initialize a new Hono application targeting Cloudflare Workers using pnpm.Exact payloads, commands, or snippets shown in A shell command to initialize a new Hono application targeting Cloudflare Workers using pnpm.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-bun-create-co.shA shell command to initialize a new Hono application for Cloudflare Workers using the Bun CLI.Exact payloads, commands, or snippets shown in A shell command to initialize a new Hono application for Cloudflare Workers using the Bun CLI.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-deno-init-com.shA shell command to initialize a new Hono application for Cloudflare Workers using Deno.Exact payloads, commands, or snippets shown in A shell command to initialize a new Hono application for Cloudflare Workers using Deno.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-setup-command.shShell commands to initialize a new Hono project and install dependencies for Cloudflare Workers.Exact payloads, commands, or snippets shown in Shell commands to initialize a new Hono project and install dependencies for Cloudflare Workers.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-getting-start.shShell commands for initializing and navigating a new Hono project on Cloudflare Workers.Exact payloads, commands, or snippets shown in Shell commands for initializing and navigating a new Hono project on Cloudflare Workers.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-setup-command-2.shShell commands to initialize a new Hono project and install dependencies for Cloudflare Workers.Exact payloads, commands, or snippets shown in Shell commands to initialize a new Hono project and install dependencies for Cloudflare Workers.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-setup-command-3.shShell commands to initialize a new Hono application and install dependencies for a Cloudflare Workers environment.Exact payloads, commands, or snippets shown in Shell commands to initialize a new Hono application and install dependencies for a Cloudflare Workers environment.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-typescript-qu.tsA TypeScript example demonstrating how to initialize a Hono application for deployment on Cloudflare Workers.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to initialize a Hono application for deployment on Cloudflare Workers.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-dev-command.shA shell command example demonstrating how to run the Hono development server on Cloudflare Workers using npm.Exact payloads, commands, or snippets shown in A shell command example demonstrating how to run the Hono development server on Cloudflare Workers using npm.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-yarn-dev-comm.shA shell command used to start the local development server for a Hono application running on Cloudflare Workers using yarn.Exact payloads, commands, or snippets shown in A shell command used to start the local development server for a Hono application running on Cloudflare Workers using...
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-pnpm-dev-comm.shA shell command demonstrating how to start the development server for a Hono application on Cloudflare Workers using pnpm.Exact payloads, commands, or snippets shown in A shell command demonstrating how to start the development server for a Hono application on Cloudflare Workers using...
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-bun-dev-comma.shA shell command used to run the Hono development server on Cloudflare Workers using Bun.Exact payloads, commands, or snippets shown in A shell command used to run the Hono development server on Cloudflare Workers using Bun.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-deploy-comman.shA shell command used to deploy a Hono application to Cloudflare Workers using npm.Exact payloads, commands, or snippets shown in A shell command used to deploy a Hono application to Cloudflare Workers using npm.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-deploy-comman-2.shA shell command demonstrating how to deploy a Hono application to Cloudflare Workers using yarn.Exact payloads, commands, or snippets shown in A shell command demonstrating how to deploy a Hono application to Cloudflare Workers using yarn.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-deploy-comman-3.shA shell command used to deploy a Hono application to Cloudflare Workers using pnpm.Exact payloads, commands, or snippets shown in A shell command used to deploy a Hono application to Cloudflare Workers using pnpm.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-bun-deploy-co.shA shell command used to deploy a Hono application to Cloudflare Workers using Bun.Exact payloads, commands, or snippets shown in A shell command used to deploy a Hono application to Cloudflare Workers using Bun.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-ts-quickstart.tsA TypeScript example demonstrating how to initialize a Hono application and export it for use with Cloudflare Workers fetch and scheduled handlers.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to initialize a Hono application and export it for use with Cloudflare Workers...
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-wrangler-toml.tomlA wrangler.toml configuration file for deploying a Hono application to Cloudflare Workers with static assets enabled.Exact payloads, commands, or snippets shown in A wrangler.toml configuration file for deploying a Hono application to Cloudflare Workers with static assets enabled.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-getting-start.textA directory tree structure showing the file organization for a Hono application deployed on Cloudflare Workers, including package.json, wrangler.toml, and source files.Exact payloads, commands, or snippets shown in A directory tree structure showing the file organization for a Hono application deployed on Cloudflare Workers, inclu...
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-setup-command-4.shShell commands to install the necessary Cloudflare Workers type definitions for a Hono project.Exact payloads, commands, or snippets shown in Shell commands to install the necessary Cloudflare Workers type definitions for a Hono project.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-setup-command-5.shThe shell command to install Cloudflare Workers type definitions as a development dependency using yarn.Exact payloads, commands, or snippets shown in The shell command to install Cloudflare Workers type definitions as a development dependency using yarn.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-setup-command-6.shThe shell command to add Cloudflare Workers types as a development dependency using pnpm.Exact payloads, commands, or snippets shown in The shell command to add Cloudflare Workers types as a development dependency using pnpm.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-setup-command-7.shThe shell command to add Cloudflare Workers types as a development dependency using bun.Exact payloads, commands, or snippets shown in The shell command to add Cloudflare Workers types as a development dependency using bun.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-typescript-qu-2.tsA TypeScript example demonstrating how to initialize a Hono application for deployment on Cloudflare Workers.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to initialize a Hono application for deployment on Cloudflare Workers.
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-vitest-test.tsA TypeScript test suite using Vitest to verify a Hono application running on Cloudflare Workers returns a 200 status code.Exact payloads, commands, or snippets shown in A TypeScript test suite using Vitest to verify a Hono application running on Cloudflare Workers returns a 200 status...
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-bindings.tsA TypeScript example demonstrating how to access Cloudflare Workers environment bindings like R2 buckets within a Hono application.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to access Cloudflare Workers environment bindings like R2 buckets within a Hon...
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-basic-auth-se.tsA TypeScript example demonstrating how to implement basic authentication middleware using Hono bindings on Cloudflare Workers.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to implement basic authentication middleware using Hono bindings on Cloudflare...
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-github-action.ymlA GitHub Actions workflow configuration file for deploying a Hono application to Cloudflare Workers using the wrangler-action.Exact payloads, commands, or snippets shown in A GitHub Actions workflow configuration file for deploying a Hono application to Cloudflare Workers using the wrangle...
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-wrangler-toml-2.tomlA wrangler.toml configuration file specifying the main entry point and minification settings for a Hono application running on Cloudflare Workers.Exact payloads, commands, or snippets shown in A wrangler.toml configuration file specifying the main entry point and minification settings for a Hono application r...
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-environment-v.textA text file demonstrating how to configure environment variables like SECRET_KEY and APITOKEN for a Hono application running on Cloudflare Workers.Exact payloads, commands, or snippets shown in A text file demonstrating how to configure environment variables like SECRETKEY and APITOKEN for a Hono application r...
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-env-bindings-.tsA TypeScript example demonstrating how to define and access environment bindings within a Hono application running on Cloudflare Workers.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to define and access environment bindings within a Hono application running on...

What This Skill Covers

  • Cloudflare Workers is a JavaScript edge runtime on Cloudflare CDN.
  • Main sections: 1. Setup, 2. Hello World, 3. Run, Change port number, 4. Deploy.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://hono.dev/docs/getting-started/cloudflare-workers