Skip to main content
skill CX Codex

svelte-deployment — Claude Code skill: what it does, how to install

The svelte-deployment skill for Claude Code provides notes for shipping SvelteKit apps: choosing an adapter, fixing pnpm and Vite versions, publishing a library, and adding PWA support.

no license 253 installs ★ 96 updated 2026-10-12

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add spences10/svelte-skills-kit --skill svelte-deployment -a claude-code
Open on GitHub

What svelte-deployment does

The skill is a short SKILL.md cheat sheet for SvelteKit projects. It opens with pnpm and Vite upgrade notes. pnpm 10+ ships with postinstall switched off, so package.json needs "prepare": "svelte-kit sync". With Vite 7, vite@7 and @sveltejs/vite-plugin-svelte@6 have to be upgraded together.

For deployment targets it gives install lines for @sveltejs/adapter-static (static site), @sveltejs/adapter-node (Node server) and @sveltejs/adapter-cloudflare. Longer notes live in files under references/: publishing libraries, offline PWA with workbox, and Cloudflare streaming problems.

Streaming can break on Cloudflare, because it can drop the Transfer-Encoding: chunked header. A published library needs svelte listed under keywords and also under peerDependencies. A single-file build is switched on with kit.output.bundleStrategy: 'single'.

What it helps with

  • add a prepare script running svelte-kit sync for pnpm 10+
  • upgrade Vite to 7 together with its Svelte plugin
  • pick an adapter for a static site, Node server or Cloudflare
  • get a Svelte library ready to publish
  • find out why streaming fails on Cloudflare

Example prompts for the agent

  • Set up my SvelteKit app for Cloudflare and install the right adapter
  • Bump the project to Vite 7 together with @sveltejs/vite-plugin-svelte
  • I'm publishing a Svelte library, check the keywords and peerDependencies in package.json

How to install svelte-deployment

1Skills CLI (Vercel)

npx skills add spences10/svelte-skills-kit --skill svelte-deployment -a claude-code

2Manually: put the files in place

~/.claude/skills/svelte-deployment/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/svelte-deployment/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about svelte-deployment

How do I install svelte-deployment in Claude Code?

Run npx skills add spences10/svelte-skills-kit --skill svelte-deployment -a claude-code. The skill ends up in ~/.claude/skills/svelte-deployment/SKILL.md.

What does svelte-deployment do?

It gives the agent deployment notes for SvelteKit: adapter install commands, pnpm and Vite setup, library publishing rules, PWA and Cloudflare pitfalls.

What should I change for pnpm 10+ in a SvelteKit project?

pnpm 10+ has postinstall disabled by default. Add "prepare": "svelte-kit sync" to scripts in package.json.

Similar skills

All skills for Frontend and UI →

From the same set10

The whole set →
sveltekit-structure sveltekit-structure — a Claude Code skill, also available for five other platforms. It feeds the agent SvelteKit routing, layouts, error boundaries and SSR notes. CX Codex +1 1,100installs svelte-components Tells your agent how to build Svelte components: headless libraries, custom elements, and forms that cannot wrap their inputs. CX Codex +1 572installs svelte-template-directives svelte-template-directives is a Claude Code skill for Svelte template directives. It comes into play when working with DOM elements, dynamic markup, or third-party libraries. CX Codex +1 550installs sveltekit-data-flow Teaches your AI coding assistant proper SvelteKit data flow patterns, from form actions and load functions to serialization and cache invalidation. CX Codex +1 516installs sveltekit-remote-functions sveltekit-remote-functions teaches your agent the query(), form(), command() and prerender() patterns for *.remote.ts files. Useful once remote functions are switched on in your SvelteKit app. CX Codex +1 432installs ecosystem-guide ecosystem-guide is a Claude Code skill for choosing MCP servers, managing skill activation, and preserving context. CX Codex +1 205installs svelte-styling svelte-styling is a Claude Code skill that guides Svelte component styling with scoped CSS, custom properties, and style:. It covers runtime values and styles for child components. CX Codex +1 137installs svelte-layerchart svelte-layerchart — a skill for Svelte 5 chart work with LayerChart, covering tooltip snippets, chart context, gradients, highlights, and axes. CX Codex +1 111installs

Project sponsors

Companies that keep this analytics open