Svelte Deployment
Concise Svelte deployment guide covering adapters, Vite, pnpm, and common production pitfalls.
- CCM score
- 53 of 100
- skills.sh installs
- 260
- GitHub stars
- 96
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers pnpm 10 setup with a
preparescript, plus pairing Vite 7 with the matching vite-plugin-svelte 6 release - Includes install commands for the static, Node, and Cloudflare adapters and links to reference files for libraries, PWA, and Cloudflare
- Notes that Cloudflare may strip
Transfer-Encoding: chunked, which breaks streaming responses - Designed for Svelte developers shipping production builds, library packages, or offline-first PWAs
Install
$ npx -y skills add spences10/svelte-skills-kit --skill svelte-deployment -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Svelte Deployment
Quick Start
pnpm 10+: Add prepare script (postinstall disabled by default):
{
"scripts": {
"prepare": "svelte-kit sync"
}
}
Vite 7: Update both packages together:
pnpm add -D vite@7 @sveltejs/vite-plugin-svelte@6
Adapters
# Static site
pnpm add -D @sveltejs/adapter-static
# Node server
pnpm add -D @sveltejs/adapter-node
# Cloudflare
pnpm add -D @sveltejs/adapter-cloudflare
Reference Files
- library-authoring.md - Publishing Svelte packages
- pwa-setup.md - Offline-first with workbox
- cloudflare-gotchas.md - Streaming issues
Notes
- Cloudflare may strip
Transfer-Encoding: chunked(breaks streaming) - Library authors: include
sveltein keywords AND peerDependencies - Single-file bundle:
kit.output.bundleStrategy: 'single' - Last verified: 2025-01-14
Details
- Repository
- github.com/spences10/svelte-skills-kit
- Categories
- Frontend & UI Code, DevOps & Cloud
- First seen
- Jun 3, 2026
Questions
What does the svelte-deployment skill cover?
The svelte-deployment skill gives guidance on adapters, Vite config, pnpm setup, library authoring, PWA setup and production builds for Svelte projects. It points to reference files for publishing Svelte packages, offline-first PWA setup with workbox, and Cloudflare streaming issues.
How do I install the svelte-deployment skill?
Run npx -y skills add spences10/svelte-skills-kit --skill svelte-deployment -y in a project to install it. Once installed, the agent gets Svelte deployment guidance for adapters, Vite, pnpm and PWA builds.
Which skills lead the Frontend & UI Code category next to svelte-deployment?
Other top skills in the Frontend & UI Code category include vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns and lark-apps. The svelte-deployment skill sits alongside them with a focus on Svelte build and deployment setup.
Does svelte-deployment need pnpm or Vite?
The svelte-deployment skill covers pnpm 10 and later setup, where postinstall is disabled by default, and Vite 7 with the Svelte Vite plugin. Its guidance tells you to add a prepare script running svelte-kit sync and to update vite and the vite plugin together.
More from spences10/svelte-skills-kit
All 7Similar to Svelte Deployment
More Frontend & UI Codebun-sveltekitsecondsky/claude-skills526 installsGuide for building and running SvelteKit apps on Bun, covering SSR, the Bun adapter, and Bun-specific APIs.
pwa-developmentjwynia/agent-skills470 installsStep-by-step PWA implementation for React and Svelte covering service workers, caching, offline support, and installability.
vite-react-best-practicesclaudiocebpaz/vite-react-best-practices686 installsComprehensive guidelines for building, deploying, and refactoring React 19 and Vite 8 single-page applications.
netlify-frameworksnetlify/context-and-tools3.6K installsNetlify deployment guide for web frameworks covering adapters, SSR, build settings, and local emulation.
svelte-runesspences10/svelte-skills-kit1.1K installsSvelte 5 runes guidance that picks the right rune for state, props, effects, or Svelte 4 migration.
nextjs-on-cloudflarecloudflare/skills72.9K installsBuild and deploy Next.js apps on Cloudflare Workers with vinext, not OpenNext, for new projects.