Agent skill · software engineering · secondsky
bun-sveltekit
Use when building or running SvelteKit apps on Bun, including SSR, adapters, and Bun-specific APIs
Why this skill is useful
Provides specific Bun commands and SvelteKit integration patterns that the AI wouldn't reliably generate on its own.
What it needs
Requires bun installed locally. About 4k tokens when loaded. Last updated 2026-08-06. 204 stars on the source repository.
What this skill does
Bun SvelteKit Run SvelteKit applications with Bun for faster development and builds. Quick Start 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 Use Bun Adapter Using Bun APIs Server Load Functions Form Actions API Routes File Operations Server Hooks Svelte 5 Components Deployment Build for Bun Docker Adapter Options Environment Variables Common Errors Error Cause Fix ------- ------- ----- Cannot find bun:sqlite Wrong adapter Use svelte-adapter-bun Vite error Build issue Clear .svelte-kit Hydration failed Server/client diff Check load functions 404 on refresh SPA fallback Configure adapter When to Load References Load references/adapter-config.md when: Advanced adapter options Static prerendering Edge deployment Load references/performance.md when: Caching strategies Lazy loading Streaming SSR
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills secondsky/bun-sveltekit