Bun Runtime Skill
- Installs
- 12.7k
- Repo stars
- 315k
- Repo updated
- Dec 1, 2026
TL;DR
bun-runtime is an agent skill that explains when to adopt Bun as an all-in-one JavaScript runtime, package manager, bundler, and test runner—including Node migration notes and Vercel support—for developers evaluating fas
Install if
JavaScript and TypeScript developers starting new projects or migrating scripts where install and run speed matter and Vercel Bun runtime is an option.
Skip if
Codebases blocked by Node-only legacy dependencies with known Bun incompatibilities and no migration bandwidth.
npx skills add https://github.com/affaan-m/ECC --skill bun-runtimeTry it first through the Skillselion MCP - nothing to install, nothing on disk.
1. Add the remote connector:
claude mcp add --transport http skillselion https://mcp.skillselion.com/mcp2. Ask your agent:
Use Skillselion load_skill to load skill:affaan-m/ecc#bun-runtime (Bun Runtime) and follow it.Try it first through the Skillselion MCP - nothing to install, nothing on disk.
1. Add this URL as a custom connector (Claude.ai, ChatGPT or Cursor):
https://mcp.skillselion.com/mcp2. Ask your agent:
Use Skillselion load_skill to load skill:affaan-m/ecc#bun-runtime (Bun Runtime) and follow it.What bun-runtime covers
- All-in-one toolkit: runtime, package manager, bundler, and test runner
- Significantly faster install and run times than npm or Yarn
- Drop-in Node-compatible runtime built on JavaScriptCore and Zig
- bun.lock text lockfile with full npm compatibility for most packages
- Supports new JS/TS projects, Vercel Bun runtime, and one-command scripts
bun-runtime by the numbers
| All-time installs | 12,658 (12.7k) | skills.sh registry |
|---|---|---|
| Repo stars | ★ 315k | GitHub |
| Repo last updated | December 1, 2026 | GitHub |
| Repository | affaan-m/ECC ↗ | |
Data as of Dec 2, 2026 (Skillselion catalog sync)
What does the Bun Runtime skill produce?
Bun toolchain configuration, Node-to-Bun migration notes, and Vercel runtime deployment guidance.
- Bun toolchain setup
- Node migration checklist
- Vercel Bun runtime configuration
What files ship with bun-runtime?
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 installis significantly faster than npm/yarn. Lockfile isbun.lock(text) by default in current Bun; older versions usedbun.lockb(binary). - Bundler: Built-in bundler and transpiler for apps and libraries.
- Test runner: Built-in
bun testwith 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
# Install dependencies (creates/updates bun.lock or bun.lockb)
bun install
# Run a script or file
bun run dev
bun run src/index.ts
bun src/index.tsScripts and env
bun run --env-file=.env dev
FOO=bar bun run script.tsTesting
bun test
bun test --watch// test/example.test.ts
import { expect, test } from "bun:test";
test("add", () => {
expect(1 + 2).toBe(3);
});Runtime API
const file = Bun.file("package.json");
const json = await file.json();
Bun.serve({
port: 3000,
fetch(req) {
return new Response("Hello");
},
});Best Practices
- Commit the lockfile (
bun.lockorbun.lockb) for reproducible installs. - Prefer
bun runfor scripts. For TypeScript, Bun runs.tsnatively. - Keep dependencies up to date; Bun and the ecosystem evolve quickly.
interface:
display_name: "Bun Runtime"
short_description: "Bun runtime, package manager, and test runner"
brand_color: "#FBF0DF"
default_prompt: "Use $bun-runtime to choose and apply Bun runtime workflows."
policy:
allow_implicit_invocation: true
Which skills are related to bun-runtime?
What are the Bun Runtime skill forks?
Bun Runtime has 1 known copy in the catalog totaling 5.6k installs. They canonicalize to this original listing.
- affaan-m - 5.6k installs
How does bun-runtime compare?
Use bun-runtime for Bun adoption decisions; use Node-specific skills when compatibility constraints mandate staying on Node.
Bun Runtime skill FAQ
Who is the Bun Runtime skill for?
JavaScript and TypeScript developers starting new projects or migrating scripts where install and run speed matter and Vercel Bun runtime is an option. Skip if: Codebases blocked by Node-only legacy dependencies with known Bun incompatibilities and no migration bandwidth.
When should I use bun-runtime?
User asks about Bun runtime, migrating from Node, Bun versus Node tradeoffs, or Vercel Bun deployment setup.
What roles does Bun serve in bun-runtime guidance?
bun-runtime treats Bun as an all-in-one toolkit—JavaScript runtime, package manager, bundler, and test runner—so teams can consolidate install, run, test, and build workflows.
When does bun-runtime recommend staying on Node?
bun-runtime recommends Node when maximum ecosystem compatibility is required, legacy tooling assumes Node APIs, or a dependency has known Bun issues that block migration.
Add a bun-runtime badge
Show developers this skill is listed on Skillselion. Paste this into your README.