bun-runtime — for Claude Code bun-runtime, everything-claude-code, official, for Claude Code, ide skills, Bun runtime, JavaScript runtime, package manager, bundler, test runner, Claude Code

Verified
v1.0.0
GitHub

About this Skill

Perfect for JavaScript Agents needing a fast and all-in-one runtime, package manager, bundler, and test runner like Bun. bun-runtime is a fast all-in-one JavaScript runtime and toolkit that includes a runtime, package manager, bundler, and test runner, designed to simplify and accelerate development workflows.

Features

Run JavaScript applications using Bun runtime
Manage packages using bun install
Bundle and transpile code with built-in bundler
Run tests with bun test and Jest-like API

# Core Topics

affaan-m affaan-m
[105.8k]
[13742]
Updated: 3/25/2026

Agent Capability Analysis

The bun-runtime skill by affaan-m is an open-source official AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for for Claude Code, Bun runtime, JavaScript runtime.

Ideal Agent Persona

Perfect for JavaScript Agents needing a fast and all-in-one runtime, package manager, bundler, and test runner like Bun.

Core Value

Empowers agents to leverage Bun's speed and efficiency for JavaScript and TypeScript projects, utilizing its built-in bundler, transpiler, and test runner, while supporting Vercel deployments and maximizing ecosystem compatibility with Node-compatible runtime.

Capabilities Granted for bun-runtime

Migrating Node projects to Bun for improved performance
Automating testing and debugging with Bun's built-in test runner
Deploying JavaScript and TypeScript applications on Vercel with Bun runtime

! Prerequisites & Limits

  • Requires compatibility with Bun's package manager and lockfile format
  • May have issues with dependencies that assume Node
  • Limited to JavaScript and TypeScript projects
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

bun-runtime

Install bun-runtime, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Bun Runtime

Bun is a fast all-in-one JavaScript runtime and toolkit: runtime, package manager, bundler, and test runner.

When to Use

  • Prefer Bun for: new JS/TS projects, scripts where install/run speed matters, Vercel deployments with Bun runtime, and when you want a single toolchain (run + install + test + build).
  • Prefer Node for: maximum ecosystem compatibility, legacy tooling that assumes Node, or when a dependency has known Bun issues.

Use when: adopting Bun, migrating from Node, writing or debugging Bun scripts/tests, or configuring Bun on Vercel or other platforms.

How It Works

  • Runtime: Drop-in Node-compatible runtime (built on JavaScriptCore, implemented in Zig).
  • Package manager: bun install is significantly faster than npm/yarn. Lockfile is bun.lock (text) by default in current Bun; older versions used bun.lockb (binary).
  • Bundler: Built-in bundler and transpiler for apps and libraries.
  • Test runner: Built-in bun test with Jest-like API.

Migration from Node: Replace node script.js with bun run script.js or bun script.js. Run bun install in place of npm install; most packages work. Use bun run for npm scripts; bun x for npx-style one-off runs. Node built-ins are supported; prefer Bun APIs where they exist for better performance.

Vercel: Set runtime to Bun in project settings. Build: bun run build or bun build ./src/index.ts --outdir=dist. Install: bun install --frozen-lockfile for reproducible deploys.

Examples

Run and install

bash
1# Install dependencies (creates/updates bun.lock or bun.lockb) 2bun install 3 4# Run a script or file 5bun run dev 6bun run src/index.ts 7bun src/index.ts

Scripts and env

bash
1bun run --env-file=.env dev 2FOO=bar bun run script.ts

Testing

bash
1bun test 2bun test --watch
typescript
1// test/example.test.ts 2import { expect, test } from "bun:test"; 3 4test("add", () => { 5 expect(1 + 2).toBe(3); 6});

Runtime API

typescript
1const file = Bun.file("package.json"); 2const json = await file.json(); 3 4Bun.serve({ 5 port: 3000, 6 fetch(req) { 7 return new Response("Hello"); 8 }, 9});

Best Practices

  • Commit the lockfile (bun.lock or bun.lockb) for reproducible installs.
  • Prefer bun run for scripts. For TypeScript, Bun runs .ts natively.
  • Keep dependencies up to date; Bun and the ecosystem evolve quickly.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is bun-runtime?

Perfect for JavaScript Agents needing a fast and all-in-one runtime, package manager, bundler, and test runner like Bun. bun-runtime is a fast all-in-one JavaScript runtime and toolkit that includes a runtime, package manager, bundler, and test runner, designed to simplify and accelerate development workflows.

How do I install bun-runtime?

Run the command: npx killer-skills add affaan-m/everything-claude-code/bun-runtime. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for bun-runtime?

Key use cases include: Migrating Node projects to Bun for improved performance, Automating testing and debugging with Bun's built-in test runner, Deploying JavaScript and TypeScript applications on Vercel with Bun runtime.

Which IDEs are compatible with bun-runtime?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for bun-runtime?

Requires compatibility with Bun's package manager and lockfile format. May have issues with dependencies that assume Node. Limited to JavaScript and TypeScript projects.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add affaan-m/everything-claude-code/bun-runtime. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use bun-runtime immediately in the current project.

Related Skills

Looking for an alternative to bun-runtime or another official skill for your workflow? Explore these related open-source skills.

View All

flags

Logo of facebook
facebook

Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.

243.6k
0
Developer

extract-errors

Logo of facebook
facebook

Use when adding new error messages to React, or seeing unknown error code warnings.

243.6k
0
Developer

fix

Logo of facebook
facebook

Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.

243.6k
0
Developer

flow

Logo of facebook
facebook

Use when you need to run Flow type checking, or when seeing Flow type errors in React code.

243.6k
0
Developer