deploy-worker

Automate Cloudflare Workers deployment for SvelteKit projects with CI/CD.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/archetypeai/newton-earthquake-demo --skill deploy-worker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deploy-worker
Source: https://github.com/archetypeai/newton-earthquake-demo/tree/main/.claude/skills/deploy-worker
Command: npx skills add https://github.com/archetypeai/newton-earthquake-demo --skill deploy-worker

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Deploys a SvelteKit project to Cloudflare Workers with CI/CD auto-deploy on merges to main, and provides guidance for wrangler configuration, local development, secret management, and environment setup.

Core Features & Use Cases

  • Automatic deployment via Wrangler and CI/CD on merges to main.
  • Wrangler setup, SvelteKit adapter configuration, and environment/secret management.
  • Local development workflows, observability, and rollback readiness for production releases.

Quick Start

Set up Wrangler, configure wrangler.jsonc, install dependencies, build, and deploy with wrangler deploy.

Frequently Asked Questions about deploy-worker

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

FAQPage Schema
How do I set up automatic deployment for SvelteKit on Cloudflare Workers?

Automatic SvelteKit deployment to Cloudflare Workers is configured by integrating Wrangler with your CI/CD pipeline to trigger builds and deploys on merges to main. You need to configure wrangler.jsonc and ensure Wrangler v4+ is installed in your environment.

What do I need to deploy a SvelteKit project to Cloudflare Workers?

To deploy SvelteKit to Cloudflare Workers, you need a Cloudflare account and Wrangler v4+ installed. You must configure the SvelteKit adapter for Cloudflare, set up your wrangler.jsonc file, and manage environment secrets before running the build and deploy commands.

How does secret management work when deploying to Cloudflare Workers with CI/CD?

Secret management for Cloudflare Workers deployments involves securely configuring environment variables and sensitive credentials for different environment variants. The workflow provides specific steps for handling secrets within your CI/CD pipeline to ensure they are available during runtime without exposing them.

Can I run local development for a SvelteKit Cloudflare Workers project before deploying?

Yes, local development for SvelteKit Cloudflare Workers projects is supported through Wrangler. The workflow includes steps for running local development environments to test configurations and application behavior before proceeding to production build and deployment.

What is the best way to handle rollback and observability for Cloudflare Workers deployments?

Handling rollback and observability for Cloudflare Workers deployments requires utilizing Wrangler's built-in tools and Cloudflare's dashboard. The workflow provides guidance on monitoring application health and executing rollbacks to maintain stability during production releases.

Does deploy-worker support multiple environment variants for production and staging?

Yes, the deployment workflow supports multiple environment variants for Cloudflare Workers. It includes guidance for configuring distinct staging and production environments within your wrangler.jsonc and CI/CD setup to manage variant-specific secrets and configurations.