svelte-deployment
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "svelte-deployment" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-13095ac6e5625397cc436c59dd4c49fe4a445edbf1a5296d98eabe06da55083f. Verify the upstream source and version against https://github.com/spences10/svelte-skills-kit before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Svelte deployment guide. Addresses adapter selection, Vite configuration, pnpm setup, library development, PWA support, and considerations for production builds.
Introduction source: third_party · spences10 · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Svelte deployment guidance. Use for adapters, Vite config, pnpm setup, library authoring, PWA, or production builds.
- Testing
- Not tested
Browse files
Frontmatter
name: svelte-deployment
# IMPORTANT: Keep description on ONE line for agent compatibility
# prettier-ignore
description: "Svelte deployment guidance. Use for adapters, Vite config, pnpm setup, library authoring, PWA, or production builds."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
<!-- PROGRESSIVE DISCLOSURE GUIDELINES:
- Keep this file ~50 lines total (max ~150 lines)
- Use 1-2 code blocks only (recommend 1)
- Keep description <200 chars for Level 1 efficiency
- Move detailed docs to references/ for Level 3 loading
- This is Level 2 - quick reference ONLY, not a manual -->
Current listing version
0.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 Svelte 部署的完整指南,涵盖适配器、Vite 配置、pnpm 设置、库开发、PWA、生产构建等实用场景
- 面向前端开发者,具有明确的实用价值和广泛受众
Highlights
- description 明确列出适用场景(adapters, Vite config, pnpm setup, library authoring, PWA, production builds),触发词精准完整,边界清晰
Areas to improve
-
缺少 When to Use 章节 Reported severity: Minor
文档未提供 When to Use 章节,用户难以快速判断适用场景
Recommendation: 建议在 Quick Start 前添加 When to Use 章节,简要说明本 Skill 的适用场景和使用时机
-
缺少端到端完整示例 Reported severity: Minor
文档包含代码片段,但缺乏一个完整的端到端部署示例
Recommendation: 建议在 Quick Start 后添加一个完整的端到端部署示例,展示从项目初始化到部署的完整流程
Highlights
- 文档结构清晰,有 Quick Start、Adapters、Reference Files、Notes 等章节,步骤分明
- frontmatter 完整,主文件约50行符合规范,代码示例简洁有效
Areas to improve
-
缺少异常处理说明 Reported severity: Minor
文档未提供 pnpm 版本兼容性、网络安装失败等常见异常的处理方案
Recommendation: 建议在 Notes 部分添加常见异常处理说明,如 pnpm 版本不兼容、网络安装失败等情况的解决方案
-
缺少可逆操作确认机制 Reported severity: Minor
文档中的命令操作(如 pnpm add)未提供确认机制或回滚方案
Recommendation: 建议在涉及重要配置变更时添加确认提示,或提供回滚方案说明
Highlights
- 提供的命令(pnpm add、Vite 更新)参数正确,工具来源明确(@sveltejs/* 官方包)
- 覆盖主要部署场景,包括静态站点、Node 服务器、Cloudflare 等适配器
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.