Skip to content

Guide for building and running SvelteKit apps on Bun, covering SSR, the Bun adapter, and Bun-specific APIs.

CCM score
52 of 100
skills.sh installs
526
GitHub stars
257
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the dev, build, and preview workflow, plus a Bun-based Docker image for deployment
  • Includes server load functions, form actions, API routes, and file read/write examples using bun:sqlite and Bun.file
  • Enforces supply chain checks before scaffolding, including disabled post-install scripts and a 7-day minimumReleaseAge cooldown in bunfig.toml
  • Designed for developers moving SvelteKit projects to the Bun runtime with svelte-adapter-bun

Install

$ npx -y skills add secondsky/claude-skills --skill bun-sveltekit -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Bun SvelteKit

Run SvelteKit applications with Bun for faster development and builds.

Quick Start

# Create new SvelteKit project
bunx sv create my-app
cd my-app

# Install dependencies
bun install

# Development
bun run dev

# Build
bun run build

# Preview
bun run preview

Secure Installation

Scaffolding tools like bunx sv create download and execute remote code. Before running, follow supply chain security best practices:

  • Block post-install scripts — Bun disables them by default; allow specific packages via trustedDependencies in package.json
  • Cooldown period — Configure minimumReleaseAge in bunfig.toml to wait 7 days for new versions
  • Audit before installing — Run socket package score npm <pkg> or use socket npm install <pkg> to check packages

Load the dependency-upgrade skill for full security configuration including Socket CLI integration, cooldown setup, lockfile validation, and CI enforcement.

Project Setup

package.json

Details

Repository
github.com/secondsky/claude-skills
Categories
Frontend & UI Code, Backend & APIs
First seen
Jun 3, 2026

Questions

What does the bun-sveltekit skill help with?

The bun-sveltekit skill guides building and running SvelteKit apps on Bun, covering SSR, adapters, and Bun-specific APIs such as bun:sqlite and Bun.file. It shows how to set up a project with bunx sv create and svelte-adapter-bun, then build and deploy it to Bun.

How do I install the bun-sveltekit skill?

Run npx -y skills add secondsky/claude-skills --skill bun-sveltekit -y in a project to install the bun-sveltekit skill. After that, the agent can use its guidance when you build SvelteKit apps on Bun.

What does bun-sveltekit need before I use it?

The bun-sveltekit skill assumes a Bun runtime and a SvelteKit project scaffolded with bunx sv create. It also uses svelte-adapter-bun for deployment, and its own Secure Installation section points to the dependency-upgrade skill for supply chain security setup.

Does bun-sveltekit cover databases and deployment?

Yes, the bun-sveltekit skill shows server load functions, form actions and API routes that query SQLite through bun:sqlite. It also covers building for Bun, a Dockerfile based on oven/bun, and adapter options such as precompression.

Where does bun-sveltekit sit in the Frontend & UI Code category?

bun-sveltekit is one of the skills in the Frontend & UI Code category on Claude Marketplaces, next to vercel-react-best-practices and web-design-guidelines. It is the skill for pairing SvelteKit with the Bun runtime specifically.

More from secondsky/claude-skills

All 116

Similar to Bun Sveltekit

More Frontend & UI Code