Svelte Deployment

🌐Community
by spences10 · vlatest · Repository

Helps with Svelte, deployment as part of building frontend UIs and user experiences workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add svelte-deployment npx -- -y @trustedskills/svelte-deployment
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "svelte-deployment": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/svelte-deployment"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill assists with deploying Svelte applications, particularly within frontend UI and user experience workflows. It provides guidance on setting up deployment processes using tools like svelte-kit, Vite, and various adapters for different platforms (static sites, Node servers, Cloudflare). The skill also offers references for publishing Svelte packages, implementing Progressive Web App (PWA) functionality with Workbox, and troubleshooting common issues when deploying to Cloudflare.

When to use it

  • When setting up a new Svelte project and needing guidance on deployment options.
  • If you're experiencing difficulties deploying a Svelte application to a specific platform like Cloudflare.
  • For developers looking to publish their own Svelte packages and need assistance with the publishing process.
  • To implement offline functionality in your Svelte app using Workbox.

Key capabilities

  • Provides instructions for setting up prepare scripts (using svelte-kit sync).
  • Offers guidance on updating Vite and @sveltejs/vite-plugin-svelte packages together.
  • Lists available adapters for deployment to static sites, Node servers, and Cloudflare.
  • Includes reference materials for library authoring, PWA setup, and Cloudflare specific issues.
  • Provides notes regarding potential Cloudflare streaming issues and best practices for Svelte package publishing.

Example prompts

  • "How do I deploy my SvelteKit app to a static site?"
  • "What are the steps to publish a Svelte library?"
  • "I'm having trouble with streaming on Cloudflare, what should I check?"
  • "How can I add offline capabilities to my Svelte application?"

Tips & gotchas

  • When deploying to Cloudflare, be aware that it may strip Transfer-Encoding: chunked, which can break streaming.
  • For library authors, ensure you include both svelte in the keywords and as a peerDependency in your package.json.
  • Consider using kit.output.bundleStrategy: 'single' for creating a single-file bundle.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
spences10
Installs
57

🌐 Community

Passed automated security scans.