In short.
Bun SvelteKit is an AI assistant skill for developers building SvelteKit applications with Bun, but its examples need integration and security work before deployment. It connects project setup with server-side database access, form actions, API routes and container deployment. Missing authentication implementation, limited request validation and unavailable reference documents limit its completeness. No code was executed; runtime compatibility, deployment behavior and claimed speed benefits remain unverified.
Researched and written by an AI model and checked by a second AI model. How it works
The selected scope is plugins/bun/skills/bun-sveltekit at commit 88378361314f558fb719aec0af9fd898ab36f0b2. The supplied complete-scope manifest contains SKILL.md as the sole selected file, plus the repository-root LICENSE as an associated notice outside the folder. No contents are supplied for the named adapter-config.md and performance.md references or the separate dependency-upgrade skill. Other repository files, dependencies and external services are excluded. Nothing was executed; runtime compatibility, deployment behavior and performance remain UNVERIFIED.
The overview
Identity
Bun SvelteKit is the bun-sveltekit instruction document in secondsky/claude-skills. Its declared purpose is to guide an assistant building or running SvelteKit applications on Bun, including server-side rendering, adapters and Bun-specific APIs.
The resource is located at [https://github.com/secondsky/claude-skills/tree/main/plugins/bun/skills/bun-sveltekit]. It is an assistant-loadable skill containing guidance and snippets, rather than an application or an adapter implementation.
Assessment
The skill offers a compact starting reference for connecting SvelteKit conventions to Bun server features. Its useful detail includes route filenames, typed server handlers, parameterized SQL writes, adapter configuration and a two-stage Docker example.
Treat the examples as starting points requiring application-specific work. The session lookup is incomplete, access controls are not demonstrated for database and file mutations, and the claim of faster development and builds has no measurements. Nothing was executed.
Users
The strongest fit is a developer already using SvelteKit who wants an AI coding assistant to work with Bun's SQLite and file APIs. Experienced developers can use its file-level examples as prompts for implementation and review.
Beginners receive a clear project-start sequence and a small user-management example, but will still need knowledge of SvelteKit routing, JavaScript or TypeScript, database handling and deployment. The document does not explain how to install or register the skill in a particular assistant.
Capabilities
Coverage includes server load functions, named form actions, JSON API routes, SQLite queries, Bun.file reads and Bun.write operations. A server hook creates a database table, attaches a database to request-local state and sketches session lookup.
Further examples cover Svelte 5 runes, private and public environment variables, Bun adapter settings, build startup and Docker packaging. Advanced caching, streaming, prerendering and edge deployment are delegated to reference documents whose contents are not supplied.
Using it
Requirements
The application examples require Bun, a SvelteKit project and a server environment supporting the Bun-specific APIs used. The SQLite and file examples also require suitable filesystem access. The deployment instructions select svelte-adapter-bun.
The sample manifest lists @sveltejs/kit ^2.0.0, svelte ^5.0.0, vite ^7.3.0 and @sveltejs/adapter-auto ^7.0.0 before showing the Bun adapter replacement. These are example dependency ranges, not a verified compatibility matrix. A minimum Bun version, exact Bun adapter version and assistant compatibility list are not provided.
Mechanism
An assistant can consult SKILL.md while generating or changing application files. The examples place database access and filesystem operations in SvelteKit server files, while a page component displays server-loaded data and submits forms.
The adapter provides the deployment connection between a SvelteKit build and Bun. The documented server entry point is started with bun ./build/index.js. The skill itself supplies instructions; it does not implement that runtime.
Setup
The documented application sequence starts with bunx sv create my-app, followed by bun install inside the project and the dev, build and preview scripts. For Bun deployment, it adds svelte-adapter-bun and configures that adapter in svelte.config.js.
The document warns that scaffolding downloads and executes external code. It recommends controlling trustedDependencies, delaying adoption of new package releases and auditing packages with Socket. It refers detailed security configuration to a separate dependency-upgrade skill, which is not included here.
Example
The user-management example loads rows from data.sqlite in src/routes/users/+page.server.ts and returns them to a Svelte 5 page. The page displays names and submits create and delete forms to named server actions.
The write examples use SQL parameter placeholders for submitted values. A separate hook creates the users table and exposes a database through event.locals, although the route examples open their own database connections. These snippets illustrate related patterns rather than a fully integrated application.
Assessment & evidence
Limitations
The hook calls getUser without supplying its implementation, and reading a session cookie does not demonstrate an authorization policy for the routes. Input validation is limited. The file endpoints interpolate a route parameter into a filesystem path without showing filename restrictions or a containment check.
Database connections are closed on the normal path without demonstrated error cleanup. The Docker example copies the build and package.json into the runtime image, but does not explain runtime dependency completeness or persistent SQLite storage. The named adapter-config.md and performance.md reference contents are unavailable.
The troubleshooting table gives brief suggested fixes without supporting diagnostics. Its adapter settings, deployment recipe and error remedies have not been verified by execution.
Fit and tradeoffs
Its practical value is the concentration of Bun-specific examples within familiar SvelteKit file conventions. This can help a developer give an assistant concrete implementation context without assembling each pattern separately.
The same Bun-specific APIs make runtime choice consequential: code importing bun:sqlite or calling Bun.file needs an appropriate server environment. Teams seeking deployment portability or a complete authentication and data-management design would need additional guidance.
Alternatives
The sample manifest includes @sveltejs/adapter-auto, while the deployment instructions switch to svelte-adapter-bun. This identifies an adapter choice to investigate for the intended hosting environment, but the supplied material does not compare their platform support or performance.
Developers needing only a particular pattern can read the document directly as a guide. No comparative evidence is supplied for other assistant skills, runtimes or complete application templates.
Evidence
The supplied source consists of SKILL.md and the repository's MIT LICENSE at commit 88378361314f558fb719aec0af9fd898ab36f0b2. Original skill text: [https://raw.githubusercontent.com/secondsky/claude-skills/88378361314f558fb719aec0af9fd898ab36f0b2/plugins/bun/skills/bun-sveltekit/SKILL.md].
The application behavior is supported by illustrative source snippets, not execution results. No benchmark, automated test output, deployment receipt or dependency compatibility report is supplied. Dependency implementations and the wider repository were not assessed.
Access & freshness
Costs
No acquisition price, subscription requirement or usage charge is stated for the skill. Total operating cost is unknown.
The supplied material provides no prices for an AI assistant, hosting, storage or the suggested package-auditing service. It also supplies no measurements from which infrastructure savings could be calculated.
Rights
The skill declares MIT licensing, and the repository LICENSE names Claude Skills Maintainers as the 2025 copyright holder. The licence permits use, modification, copying, redistribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions.
The software comes without warranty. The supplied licence does not establish the terms of every dependency or external service mentioned. Original notice: [https://raw.githubusercontent.com/secondsky/claude-skills/88378361314f558fb719aec0af9fd898ab36f0b2/LICENSE].
Freshness
The source snapshot was captured on 17 November 2026 at 05:19:14.591 UTC from commit 88378361314f558fb719aec0af9fd898ab36f0b2. This identifies the assessed text; it does not establish its last maintenance date or the current contents of the main branch.
The Docker example uses oven/bun:1 and expects bun.lockb. These assumptions and the dependency ranges require checking against the intended toolchain. Current compatibility and the availability of newer guidance are unknown.
Next steps
Before adopting the snippets, confirm the intended Bun, SvelteKit, Vite and Bun adapter versions together. Obtain the referenced documents if advanced adapter behavior or performance guidance matters, and use the assistant's documented skill-loading procedure.
Complete session lookup and authorization, validate request data, constrain filesystem access and handle database cleanup on failures. Check runtime dependency packaging, SQLite persistence and proxy-related adapter settings for the deployment environment. Build and exercise the application yourself before relying on it; those outcomes remain UNVERIFIED.
