bun

Reference Bun runtime and bundler APIs for HTTP servers, WebSockets, and file I/O.

1|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/alexgorbatchev/ai-registry --skill bun-alexgorbatchev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bun
Source: https://github.com/alexgorbatchev/ai-registry/tree/main/skills/bun
Command: npx skills add https://github.com/alexgorbatchev/ai-registry --skill bun-alexgorbatchev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides quick, organized access to Bun's runtime and bundler APIs to accelerate learning and implementation of Bun-based projects.

Core Features & Use Cases

  • Access HTTP server, routing, and WebSockets APIs to build high-performance services
  • Explore bundling, loaders, plugins, and HMR to streamline development and production builds
  • Reference common Bun APIs for file I/O, CSS handling, and server tooling across Bun projects

Quick Start

Use Bun to initialize a project, inspect the runtime and bundler capabilities in a simple Hello World server.

Frequently Asked Questions about bun

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a high-performance HTTP server with WebSockets using the Bun runtime?

To build a high-performance HTTP server with WebSockets using the Bun runtime, reference the structured API patterns for Bun's built-in server and routing capabilities to implement fast services and real-time connections.

What is the best way to configure bundlers and HMR for a Bun project?

The best way to configure bundlers and HMR for a Bun project is by exploring Bun's native bundler APIs, loaders, and plugins. These features streamline development and production builds by providing structured usage patterns for hot module replacement.

Can I use Bun APIs for file I/O and CSS handling in my web application?

Yes, you can use Bun APIs for file I/O and CSS handling in your web application. The runtime provides common API references specifically designed to manage file operations and CSS processing across Bun projects efficiently.

Does the Bun bundler support custom plugins and loaders?

Yes, the Bun bundler supports custom plugins and loaders to streamline your development and production builds. You can explore these specific bundler APIs to extend functionality and integrate custom file transformations.

How do I initialize a simple Hello World server in Bun?

To initialize a simple Hello World server in Bun, use the runtime to set up a project and inspect the HTTP server capabilities. This provides a quick start to understanding Bun-specific tooling and server performance.