
Bun
- 196 repo stars
- Updated July 25, 2026
- secondsky/claude-skills
Use the Bun runtime as runtime, package manager, bundler, and test runner with HTTP/WebSocket servers and framework integrations.
About
This comprehensive Bun toolkit covers the runtime, package manager, bundler, test runner, HTTP and WebSocket servers, databases, framework integrations, deployment, and Node.js compatibility. A developer uses it to develop and run JavaScript/TypeScript backends and tooling on Bun across many frameworks.
- Runtime, package manager & bundler
- Testing & HTTP/WebSocket servers
- Hono, Next.js, Nuxt, SvelteKit integration
- Node.js compatibility
Bun by the numbers
- Data as of Jul 28, 2026 (Skillselion catalog sync)
/plugin marketplace add secondsky/claude-skills/plugin install bun@claude-skillsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| repo stars | ★ 196 |
|---|---|
| Last updated | July 25, 2026 |
| Repository | secondsky/claude-skills ↗ |
What it does
Use the Bun runtime as runtime, package manager, bundler, and test runner with HTTP/WebSocket servers and framework integrations.
README.md
Bun Plugin for Claude Code
Comprehensive Claude Code plugin for the Bun JavaScript runtime. Covers runtime, package manager, bundler, testing, servers, databases, frameworks, and deployment.
Installation
/plugin install bun@claude-skills
Features
27 Skills
Core (3 skills)
bun-runtime- Runtime execution, CLI, environment, module resolutionbun-package-manager- Dependencies, workspaces, lockfiles, migrationsbun-bundler- Code bundling, tree shaking, code splitting
Testing (5 skills)
bun-test-basics- Writing tests, assertions, describe/it blocksbun-test-mocking- Mock functions, spyOn, module mockingbun-test-lifecycle- beforeAll, afterAll, setup/teardownbun-test-coverage- Code coverage reports, thresholds, CI integrationbun-jest-migration- Migrate Jest tests to Bun
Servers & APIs (3 skills)
bun-http-server- Bun.serve(), request handling, routingbun-websocket-server- WebSocket connections, pub/sub, broadcastingbun-hono-integration- Hono framework, middleware, RPC
Databases (4 skills)
bun-sqlite- Built-in SQLite, prepared statements, transactionsbun-drizzle-integration- Drizzle ORM, schema, migrationsbun-redis- Redis caching, pub/sub, ioredis/Upstashbun-file-io- File operations, Bun.file(), streaming
Frameworks (6 skills)
bun-nextjs- Next.js with Bun runtimebun-nuxt- Nuxt 3 with Bun presetbun-sveltekit- SvelteKit with svelte-adapter-bunbun-tanstack-start- TanStack Start full-stack Reactbun-react-ssr- Custom React SSR without frameworksbun-hot-reloading- --watch, --hot, HMR
Advanced (4 skills)
bun-macros- Compile-time code executionbun-ffi- Foreign function interface for native codebun-workers- Web Workers, worker_threadsbun-shell- Bun.$, shell scripting, subprocess
Deployment (2 skills)
bun-cloudflare-workers- Deploy to Cloudflare Workersbun-docker- Docker containers with oven/bun images
6 Commands
| Command | Description |
|---|---|
/bun-init |
Initialize new Bun project with optional framework |
/bun-migrate |
Migrate from Node.js/npm to Bun |
/bun-debug |
Debug runtime, test, or build issues |
/bun-optimize |
Optimize performance and bundle size |
/bun-deploy |
Deploy to Docker, Cloudflare, Vercel, etc. |
/bun-upgrade |
Upgrade Bun runtime and dependencies |
3 Agents
| Agent | Purpose |
|---|---|
bun-troubleshooter |
Diagnose and fix errors, crashes, failures |
bun-performance-analyzer |
Profile and optimize performance |
bun-migration-assistant |
Migrate from Node.js/Jest to Bun |
2 Hooks
PreToolUse (validate-bun-command.sh)
- Suggests Bun equivalents for npm/yarn/pnpm commands
- Warns about deprecated patterns
PostToolUse (bun-suggestions.sh)
- Provides tips after bun install, test, build
- Suggests fixes for common errors
Usage Examples
Start a New Project
/bun-init my-app hono
Migrate from npm
/bun-migrate npm
Debug Issues
Ask: "My Bun server keeps crashing" - triggers bun-troubleshooter agent
Optimize Performance
/bun-optimize bundle
Deploy
/bun-deploy docker
Skill Triggers
Skills trigger automatically based on context:
- "How do I write tests in Bun?" →
bun-test-basics - "Help me set up Drizzle ORM" →
bun-drizzle-integration - "I want to build a WebSocket server" →
bun-websocket-server - "Deploy my app to Cloudflare Workers" →
bun-cloudflare-workers
Requirements
- Bun 1.0+ installed
- Claude Code CLI
License
MIT