Manages Bun-based development, including dependency installation, test execution, and server runtime commands.

Install

mkdir -p .claude/skills/bun && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13400" && unzip -o skill.zip -d .claude/skills/bun && rm skill.zip

Installs to .claude/skills/bun

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

This project uses Bun as the JavaScript/TypeScript runtime, package manager, bundler, and test runner.
102 chars · catalog descriptionno explicit “when” trigger
Beginner

Key capabilities

  • Manage packages (install, add, remove, update)
  • Run TypeScript files directly
  • Execute package.json scripts
  • Run tests with watch mode and coverage
  • Build projects

How it works

The skill provides key commands for Bun, which serves as the JavaScript/TypeScript runtime, package manager, bundler, and test runner.

Inputs & outputs

You give it
Package names, TypeScript files, package.json scripts, source files for building
You get back
Installed dependencies, executed code, test results, built output directory

When to use bun

  • Run TypeScript files
  • Execute Bun test suite
  • Install project dependencies
  • Build project with Bun

About this skill

SKILL: Bun Development

Description

This project uses Bun as the JavaScript/TypeScript runtime, package manager, bundler, and test runner.

Key Commands

# Package management
bun install              # Install deps from package.json
bun add <pkg>            # Add dependency
bun add -d <pkg>         # Add dev dependency
bun remove <pkg>         # Remove dependency
bun update               # Update dependencies

# Running code
bun run <script>         # Run package.json script
bun <file.ts>            # Run TypeScript directly
bun --watch <file.ts>    # Run with auto-reload

# Testing
bun test                 # Run tests
bun test --watch         # Watch mode
bun test --coverage      # With coverage

# Building
bun build ./src/index.ts --outdir=./dist

Server Pattern

Bun.serve({
  port: 3000,
  fetch(req) {
    return new Response("Hello!");
  },
  websocket: {
    open(ws) { /* ... */ },
    message(ws, message) { /* ... */ },
    close(ws) { /* ... */ },
  },
});

Testing Pattern

import { describe, it, expect } from "bun:test";

describe("feature", () => {
  it("should work", () => {
    expect(1 + 1).toBe(2);
  });
});

Environment Variables

Bun auto-loads .env files. Access via:

  • process.env.VAR_NAME
  • Bun.env.VAR_NAME

When not to use it

  • When the project does not use Bun as its JavaScript/TypeScript runtime
  • When using other package managers like npm or yarn
  • When using other test runners

Limitations

  • Specific to Bun as the runtime and toolchain.
  • Relies on Bun's auto-loading of `.env` files.

How it compares

This skill centralizes all JavaScript/TypeScript development operations under Bun, acting as a single tool for package management, runtime, bundling, and testing, unlike using separate tools for each function.

Compared to similar skills

bun side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
bun (this skill)06moCautionBeginner
shopify-development126moReviewIntermediate
upgrading-expo34moReviewIntermediate
pnpm46moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

shopify-development

davila7

Build Shopify apps, extensions, themes using GraphQL Admin API, Shopify CLI, Polaris UI, and Liquid. TRIGGER: "shopify", "shopify app", "checkout extension", "admin extension", "POS extension", "shopify theme", "liquid template", "polaris", "shopify graphql", "shopify webhook", "shopify billing", "app subscription", "metafields", "shopify functions"

1299

upgrading-expo

sickn33

Upgrade Expo SDK versions

331

pnpm

antfu

Node.js package manager with strict dependency resolution. Use when running pnpm specific commands, configuring workspaces, or managing dependencies with catalogs, patches, or overrides.

421

pnpm-upgrade

openai

Keep pnpm current: run pnpm self-update/corepack prepare, align packageManager in package.json, and bump pnpm/action-setup + pinned pnpm versions in .github/workflows to the latest release. Use this when refreshing the pnpm toolchain manually or in automation.

211

shopify-apps

alinaqi

Shopify app development - Remix, Admin API, checkout extensions

19

ccxt-typescript

ccxt

CCXT cryptocurrency exchange library for TypeScript and JavaScript developers (Node.js and browser). Covers both REST API (standard) and WebSocket API (real-time). Helps install CCXT, connect to exchanges, fetch market data, place orders, stream live tickers/orderbooks, handle authentication, and manage errors. Use when working with crypto exchanges in TypeScript/JavaScript projects, trading bots, arbitrage systems, or portfolio management tools. Includes both REST and WebSocket examples.

15

Search skills

Search the agent skills registry