Auto-activate for bun.lockb, bunfig.toml. Usage of Bun as a high-performance JavaScript runtime, bundler, and test runner. Use when: running JS/TS code with Bun, using bun install, configuring Bun workspaces, or fixing low-latency node runtimes. Not for Node.js-specific APIs that Bun doesn't support, or Deno.
From flownpx claudepluginhub cofin/flow --plugin flowThis skill uses the workspace's default tool permissions.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Bun is a drop-in replacement for Node.js, focused on speed.
Bun.serve() is faster than Node's http module.Bun.file() and Bun.write() are optimized.bun run script.ts replaces ts-node.bun test is a Jest-compatible, ultra-fast test runner.```bash
bun test --watch
```
</example>
bun install is significantly faster than npm/yarn.This section details how to integrate Bun into high-performance, polyglot systems.
When integrating with Rust/Python backends:
Bun.connect() and Bun.listen() with abstract namespaces (Linux) or file paths (macOS) if Shm not available.JSON.stringify on hot paths.apache-arrow js package) for zero-copy structure sharing.napi-rs): Preferred for stability and complex logic. It maps Rust Structs to JS Classes easily.bun:ffi): faster for simple C function calls but harder to maintain for complex objects.
napi-rs for business logic, bun:ffi only for ultra-thin C wrappers.Buffer vs Uint8Array. Node compatibility layers might copy. Use Uint8Array natively where possible.Bun.serve() relies on ReadableStream. Buffering the entire request body (await req.text()) defeats the purpose of streaming; process chunks if possible.bunx @biomejs/biome) for instant linting/formatting.Bun.env, Bun.sleep, but generally avoid Node.js globals unless necessary for library compatibility.bun.lockb for deterministic builds.