bun-development

Manage Bun projects for JavaScript and TypeScript development workflows.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you set up, run, test, and migrate modern JavaScript and TypeScript projects using Bun efficiently, including the practical differences from Node.js.

Core Features & Use Cases

  • Bun project setup & configuration: Create projects with Bun and use Bun-friendly TypeScript settings (e.g., bundler module resolution, fast iteration).
  • Dependency management & tooling: Use bun, bun add/remove/update, bunx for one-off commands, and understand bun.lockb vs text lockfiles.
  • Run, test, and build workflows: Execute TypeScript directly, leverage watch/hot mode, run bun test with common options, and bundle with Bun.build.
  • Migration from Node.js: Identify Node-to-Bun changes for imports/globals and recommended Bun equivalents for performance.

Quick Start

Tell me: "Using the bun-development skill, help me create a new Bun + TypeScript project, set up scripts for dev/test/build, and show how to run the first test."

Frequently Asked Questions about bun-development

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

FAQPage Schema
How do I set up a new Bun project with TypeScript and configure the build scripts?

To set up a new Bun project with TypeScript, initialize the workspace using Bun and apply Bun-friendly TypeScript settings like bundler module resolution. You can then configure dev, test, and build scripts to leverage fast iteration and execute TypeScript directly without extra compilation.

What is the best way to migrate an existing Node.js project to the Bun runtime?

Migrating a Node.js project to the Bun runtime involves identifying Node-to-Bun changes for imports and globals, then substituting recommended Bun equivalents for performance. You must also update dependency management commands to use bun add and bunx for one-off executions.

How do I run tests and bundle production builds using Bun?

You run tests using the bun test command with common options for watch or hot mode, and bundle production builds using Bun.build. This workflow accelerates JavaScript and TypeScript development by executing code directly and bundling outputs efficiently.

Can I use Bun for dependency management and how does it handle lockfiles?

Bun handles dependency management through commands like bun add, remove, and update. It manages lockfiles using the binary bun.lockb format or text lockfiles, and utilizes bunx for running one-off commands without globally installing packages.

What are the common limitations or runtime differences when moving from Node.js to Bun?

When moving from Node.js to Bun, runtime differences primarily affect imports and global variables. You need to identify Node-to-Bun changes and apply correct migration notes to ensure Node compatibility while troubleshooting runtime differences.

Does Bun support executing TypeScript files directly without a separate compilation step?

Bun supports executing TypeScript files directly, accelerating JavaScript and TypeScript development by eliminating the need for a separate compilation step. You can run code immediately, leverage watch mode for fast iteration, and bundle with Bun.build.