Agent skill · software engineering · aiskillstore
bun-development
Modern JavaScript/TypeScript development with Bun runtime. Covers package management, bundling, testing, and migration from Node.js. Use when working with Bun, optimizing JS/TS development speed, or migrating from Node.js to Bun.
Why this skill is useful
Provides specific commands and configurations for optimizing JavaScript/TypeScript development with Bun that are not widely known.
What it needs
Requires bun installed locally. About 7k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
⚡ Bun Development Fast, modern JavaScript/TypeScript development with the Bun runtime, inspired by oven-sh/bun. When to Use This Skill Use this skill when: Starting new JS/TS projects with Bun Migrating from Node.js to Bun Optimizing development speed Using Bun's built-in tools (bundler, test runner) Troubleshooting Bun-specific issues --- 1. Getting Started 1.1 Installation 1.2 Why Bun? Feature Bun Node.js :-------------- :------------- :-------------------------- Startup time ~25ms ~100ms+ Package install 10-100x faster Baseline TypeScript Native Requires transpiler JSX Native Requires transpiler Test runner Built-in External (Jest, Vitest) Bundler Built-in External (Webpack, esbuild) --- 2. Project Setup 2.1 Create New Project 2.2 package.json 2.3 tsconfig.json (Bun-optimized) --- 3. Package Management 3.1 Installing Packages 3.2 Removing & Updating 3.3 bunx (npx equivalent) 3.4 Lockfile --- 4. Running Code 4.1 Basic Execution 4.2 Watch Mode 4.3 Environment Variables --- 5. Built-in APIs 5.1 File System (Bun.file) 5.2 HTTP Server (Bun.serve) 5.3 WebSocket Server 5.4 SQLite (Bun.sql) 5.5 Password Hashing --- 6. Testing 6.1 Basic Tests 6.2 Running Tests 6.3 Matchers 6.4 Mocking --- 7. Bundling 7.1 Basic Build 7.2 Build API 7.3 Compile to Executable --- 8. Migration from Node.js 8.1 Compatibility 8.2 Common Migration Steps 8.3 Differences from Node.js --- 9. Performance Tips 9.1 Use Bun-native APIs 9.2 Use Bun.serve for HTTP 9.3 Bundle for Production --- Quick Reference Task Command :----------- :----------------------------------------- Init project bun init Install deps bun install Add package bun add <pkg> Run script bun run <script> Run file bun run file.ts Watch mode bun --watch run file.ts Run tests bun test Build bun build ./src/index.ts --outdir ./dist Execute pkg bunx <pkg> --- Resources Bun Documentation Bun GitHub Elysia Framework Bun Discord
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/bun-development