use-bun

Identify Bun migration opportunities in Node.js/TypeScript projects.

Updated Jan 25, 2026
One-click install
npx skills add https://github.com/outfitter-dev/agents-internal --skill use-bun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: use-bun
Source: https://github.com/outfitter-dev/agents-internal/tree/main/internal/skills/use-bun
Command: npx skills add https://github.com/outfitter-dev/agents-internal --skill use-bun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Bun-first development patterns help teams migrate from Node-based tooling to Bun, reduce npm/yarn bloat, and accelerate TypeScript project setups by clarifying when Bun APIs can replace common workflows.

Core Features & Use Cases

  • Audit existing Node.js projects for Bun migration opportunities and dependency reductions.
  • Guide starting new TypeScript projects with Bun-native tooling and workflows.
  • Provide a decision framework to decide when Bun built-ins suffice vs. when external packages are justified, and document exceptions.
  • Real-world example: Apply Bun-first patterns to a legacy project and outline concrete replacements.

Quick Start

Analyze a TypeScript Node.js project to identify Bun migration opportunities and reduce package.json bloat.

Frequently Asked Questions about use-bun

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

FAQPage Schema
How do I migrate an existing Node.js project to Bun?

Migrate your Node.js project to Bun by applying a 3-layer decision framework to replace Node.js tooling with Bun-native APIs. This process outputs a structured plan with recommended Bun replacements and an integration checklist to reduce package.json bloat.

What is the best way to reduce dependencies in a TypeScript package.json using Bun?

Reduce TypeScript dependencies by auditing your package.json to determine when Bun built-ins suffice versus when external packages are justified. This yields a structured plan documenting concrete Bun replacements and edge case exceptions to minimize bloat.

Can I use Bun-native APIs to replace all external Node.js packages?

You cannot always replace external Node.js packages with Bun-native APIs. A 3-layer decision framework determines when Bun built-ins suffice, when to wrap Bun primitives, or when keeping external packages is justified due to specific edge cases.

How do I start a new TypeScript project with Bun-native tooling?

Start a new TypeScript project with Bun-native tooling by leveraging Bun built-in APIs for workflows typically managed by Node.js. This eliminates npm or yarn bloat and accelerates project setup by relying on native Bun primitives.

When should I wrap Bun primitives instead of using built-ins directly?

Wrap Bun primitives instead of using built-ins directly when the 3-layer decision framework identifies scenarios where native Bun built-ins do not fully suffice. This approach is used before justifying the inclusion of external packages for specific edge cases.

Does this Bun migration approach handle edge cases where external packages are still needed?

Yes, this Bun migration approach handles edge cases by documenting exceptions where external packages are still required. The 3-layer decision framework explicitly evaluates when external packages are justified, noting these constraints in the final structured plan.