Skip to content

Bun Runtime Guide

Guides an agent through using Bun for JavaScript/TypeScript running, installs, bundling, testing, and Vercel setup

Repository
affaan-m/ECC
Stars
295,127
Licence
MIT
Files
2 files

What it does

This skill teaches the agent how to work with Bun, a fast all-in-one JavaScript and TypeScript toolkit that runs code, installs packages, bundles apps, and runs tests. Once installed, the agent knows when Bun is a better choice than Node.js, how to migrate a Node project, which built-in APIs to prefer, and how to configure Bun on Vercel. The skill is written as instructions and examples; it does not itself run anything.

Great for

  • Developers starting a new JavaScript or TypeScript project who want one toolchain for running, installing, and testing
  • Teams migrating an existing Node.js project to Bun and wanting step-by-step guidance
  • People deploying to Vercel who want to use the Bun runtime

Skip it if

  • Projects that depend heavily on native Node addons or Node-internal APIs, since the skill warns these can fail under Bun
  • Production deployments where the agent's suggestions are applied without testing, since compatibility is not guaranteed

Try asking

  • “Migrate this Node project to Bun and tell me what commands change”
  • “Set up a Bun test suite with bun test and make it run in CI with sharding”
  • “Configure this Vercel project to use Bun 1.4 and a frozen-lockfile install”
  • “Audit my bun.lock for known vulnerabilities and explain the risks before running bun audit fix”
Step-by-step guide: how to use Bun Runtime GuideInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 2 original files, the MIT licence and an attribution note.

    bun-runtime.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip bun-runtime.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip bun-runtime.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Ask the agent to run bun --version first so it uses the flags that match your installed Bun version
  • Review any bun audit fix or bun update output before committing, since these change your lockfile and installed packages
  • Commit bun.lock and use bun install --frozen-lockfile in CI for reproducible builds

What's inside

  • agents/openai.yaml
  • SKILL.md

Redistributed unmodified from affaan-m/ECC under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.