Engineering
svelte-deployment avatar

svelte-deployment

Expert SvelteKit deployment guidance covering production builds, static/node/cloudflare adapters, Vite configuration, and library authoring best practices.

Introduction

The svelte-deployment skill provides comprehensive support for engineers moving Svelte and SvelteKit applications from local development to production environments. Designed for developers managing the full application lifecycle, this skill streamlines complex configuration tasks such as choosing the correct adapter, optimizing build strategies, and ensuring compatibility with various hosting providers. Whether you are deploying a static site, a traditional Node server, or edge functions on Cloudflare, the skill offers precise technical guidance to prevent common deployment pitfalls.

  • Streamlines selection and implementation of @sveltejs/adapter-static, @sveltejs/adapter-node, and @sveltejs/adapter-cloudflare.

  • Offers configuration expertise for Vite 7 and svelte-kit sync workflows to maintain environment stability.

  • Provides advanced guidance for Svelte library authors, including package keyword requirements, peerDependencies management, and publishing best practices.

  • Assists in PWA setup using Workbox for offline-first capabilities and service worker integration.

  • Includes troubleshooting documentation for common infrastructure issues, such as streaming failures on Cloudflare or handling Transfer-Encoding: chunked headers.

  • Users should define their deployment target (e.g., static, node, edge) to receive the most relevant adapter commands and configuration snippets.

  • The skill acts as a quick-reference for kit.output.bundleStrategy and other production-grade performance tuning settings.

  • Input requirements include basic project file structure familiarity; outputs are typically actionable shell commands or configuration file modifications (vite.config.ts, svelte.config.js).

  • Constraints include keeping manual references separated from direct operational instructions to ensure quick access for CLI usage.

  • Designed as a secondary-level reference, ideal for developers who need to verify production-ready configurations against verified Svelte standards.

Repository Stats

Stars
203
Forks
20
Open Issues
11
Language
TypeScript
Default Branch
main
Sync Status
Idle
Last Synced
Apr 30, 2026, 08:09 AM
View on GitHub