bun-dev

Manage Bun runtime, SQLite, HTTP servers, WebSockets, and builds.

1|Updated Jun 26, 2026
One-click install
npx skills add https://github.com/xijunww/Pentest --skill bun-dev-xijunww
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bun-dev
Source: https://github.com/xijunww/Pentest/tree/main/.agents/skills/bun-dev
Command: npx skills add https://github.com/xijunww/Pentest --skill bun-dev-xijunww

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Bun, bun:sqlite, Hono, sharp, bun:test, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the development and deployment process for Bun applications, providing a comprehensive set of tools and utilities to efficiently manage and optimize your Bun runtime, SQLite database, HTTP server, and more.

Core Features & Use Cases

  • Bun Runtime Management: Manage and optimize your Bun runtime, leveraging its zero-dependency patterns.
  • SQLite Database Operations: Perform CRUD operations on SQLite databases using bun:sqlite.
  • HTTP Server Management: Create and manage HTTP servers with Bun.serve or Hono for APIs.
  • WebSocket Communication: Establish WebSocket connections and handle communication using Bun's WebSocket support.
  • Shell Operations: Run shell commands and scripts efficiently with Bun's shell utilities.
  • Testing and Debugging: Utilize bun:test for unit testing and performance profiling.
  • Environment Variable Handling: Access and validate environment variables for secure application deployment.
  • Performance Monitoring: Monitor and optimize application performance with high-resolution timing and memory usage tracking.
  • Building and Bundling: Compile and bundle applications for production with Bun's build tools.
  • Use Case: If you're working on a web application or service that uses Bun as its runtime and requires a robust toolset for development and deployment, this skill can help you streamline your workflow and improve efficiency.

Quick Start

To install a new package, use: bun install <package-name>. To serve an HTTP server, use: Bun.serve({ port: 3000, fetch: ... }).

Frequently Asked Questions about bun-dev

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

FAQPage Schema
How do I create an HTTP server in Bun and handle WebSocket connections?

You can perform CRUD operations on SQLite databases in Bun using the built-in bun:sqlite module, which allows your applications to manage local relational data without requiring external database drivers.

Does Bun provide built-in tools for unit testing and performance profiling?

Yes, Bun provides built-in tools for unit testing and performance profiling through bun:test, allowing you to debug applications and monitor metrics like high-resolution timing and memory usage.

What is the best way to bundle a Bun application for production deployment?

The best way to bundle a Bun application for production is by using Bun's native build tools to compile your code, while validating environment variables to ensure secure application deployment.

Can I run shell commands and scripts efficiently within a Bun runtime environment?

Yes, you can run shell commands and scripts efficiently within the Bun runtime by utilizing Bun's built-in shell utilities, streamlining your development and deployment workflow operations.