Svelte deployment guidance. Use for adapters, Vite config, pnpm setup, library authoring, PWA, or production builds.
/plugin marketplace add spences10/svelte-skills-kit/plugin install svelte-skills@svelte-skills-kitThis skill inherits all available tools. When active, it can use any tool Claude has access to.
references/cloudflare-gotchas.mdreferences/library-authoring.mdreferences/pwa-setup.mdpnpm 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
# Static site
pnpm add -D @sveltejs/adapter-static
# Node server
pnpm add -D @sveltejs/adapter-node
# Cloudflare
pnpm add -D @sveltejs/adapter-cloudflare
Transfer-Encoding: chunked (breaks streaming)svelte in keywords AND peerDependencieskit.output.bundleStrategy: 'single'Use when working with Payload CMS projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.