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.zipInstalls 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.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
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_NAMEBun.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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| bun (this skill) | 0 | 6mo | Caution | Beginner |
| shopify-development | 12 | 6mo | Review | Intermediate |
| upgrading-expo | 3 | 4mo | Review | Intermediate |
| pnpm | 4 | 6mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by rcarmo
View all by rcarmo →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"
upgrading-expo
sickn33
Upgrade Expo SDK versions
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.
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.
shopify-apps
alinaqi
Shopify app development - Remix, Admin API, checkout extensions
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.