cloudflare-workers-deploy-skeleton

Configure Cloudflare Workers deployment with Hono, D1, cron, and GitHub Actions.

Updated Apr 22, 2026
One-click install
npx skills add https://github.com/okayus/okayus-skills --skill cloudflare-workers-deploy-skeleton
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-workers-deploy-skeleton
Source: https://github.com/okayus/okayus-skills/tree/main/skills/cloudflare-workers-deploy-skeleton
Command: npx skills add https://github.com/okayus/okayus-skills --skill cloudflare-workers-deploy-skeleton

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill solves the challenge of setting up a reliable Cloudflare Workers project foundation by wiring deployment infrastructure, SPA routing, D1 migrations, cron triggers, and GitHub Actions before business logic is added.

Core Features & Use Cases

  • Deployment Skeleton Setup: Creates a complete Cloudflare Workers baseline with Hono, Vite, D1, cron configuration, and automated GitHub Actions deployment.
  • Production Pitfall Prevention: Handles common setup failures including D1 token permissions, database ID configuration, pnpm deploy conflicts, SPA routing layers, and WebAuthn RP_ID locking.
  • Use Case: Start a new Cloudflare Workers application and use this Skill to establish a verified production deployment pipeline with health checks, SPA serving, migrations, and future-ready infrastructure.

Quick Start

Use the cloudflare-workers-deploy-skeleton skill to scaffold my new Cloudflare Workers project with SPA, D1, cron, and GitHub Actions deployment configured.

Frequently Asked Questions about cloudflare-workers-deploy-skeleton

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

FAQPage Schema
How do I set up a Cloudflare Workers project with Hono, Vite, and D1 database migrations?

To set up a Cloudflare Workers project, you need to configure a deployment skeleton that wires Honto APIs, Vite SPA routing, D1 migrations, and cron triggers. This foundation establishes automated infrastructure before adding business logic.

Why does my Cloudflare Workers deployment fail with pnpm deploy conflicts or D1 token permission errors?

Cloudflare Workers deployment failures often stem from pnpm deploy conflicts or incorrect D1 token permissions. A verified production pipeline pre-configures database ID settings and handles dependency conflicts to prevent these common setup pitfalls.

Can I use GitHub Actions to automate Cloudflare Workers deployments for a Vite SPA?

Yes, you can use GitHub Actions to automate Cloudflare Workers deployments. A proper deployment skeleton includes GitHub Actions workflows that handle SPA routing layers, health checks, and future-ready infrastructure delivery automatically.

What's the best way to configure SPA routing and D1 migrations in a Cloudflare Workers application?

The best way to configure SPA routing and D1 migrations is by establishing a production-ready Cloudflare Workers baseline. This approach handles migration ordering, validation, and routing requirements to ensure reliable application delivery.

Do I need to configure WebAuthn RP_ID locking when starting a new Cloudflare Workers project?

WebAuthn RP_ID locking is a specific production pitfall that must be handled during Cloudflare Workers setup. Configuring this correctly within your initial deployment skeleton prevents authentication failures in your application.

When should I establish a deployment skeleton for my Cloudflare Workers application?

You should establish a deployment skeleton when starting a new Cloudflare Workers project. Setting up SPA hosting, Hono APIs, D1 migrations, and cron triggers before adding business logic ensures a verified production deployment pipeline.