bun

Orchestrate migration from Node.js or pnpm to the Bun runtime.

13|3|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/phrazzld/agent-skills --skill bun-phrazzld
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bun
Source: https://github.com/phrazzld/agent-skills/tree/main/packs/scaffold/bun
Command: npx skills add https://github.com/phrazzld/agent-skills --skill bun-phrazzld

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the entire process of adopting or migrating to the Bun JavaScript runtime and package manager, from initial assessment to final verification.

Core Features & Use Cases

  • Compatibility Audits: Assesses your project's readiness for Bun.
  • Migration Planning: Helps determine the scope (full, hybrid, skip).
  • Automated Execution: Guides through migration steps and script updates.
  • Verification: Ensures tests, builds, and development servers function correctly post-migration.
  • Performance Benchmarking: Compares install, build, and test times before and after migration.
  • Use Case: Seamlessly switch your Node.js project to Bun, ensuring all dependencies are compatible and performance is improved.

Quick Start

Run the bun skill to migrate the current project to Bun.

Frequently Asked Questions about bun

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

FAQPage Schema
How do I migrate a Node.js project to the Bun runtime?

To migrate a Node.js project to the Bun runtime, you can use an automated lifecycle process that audits compatibility, plans the migration scope, executes iterative script fixes, and verifies builds and tests.

Can I switch from pnpm to the Bun package manager without breaking dependencies?

Switching from pnpm to the Bun package manager involves a compatibility audit to assess project readiness, ensuring dependencies function correctly through guided execution and post-migration verification of builds and tests.

What is the best way to check if my JavaScript project is ready for Bun adoption?

The best way to check readiness for Bun adoption is through a compatibility audit, which assesses your project's dependencies and scripts to determine if a full, hybrid, or skipped migration approach is required.

How do I verify build and test performance after switching to Bun?

You can verify build and test performance after switching to Bun by running performance benchmarking, which compares install, build, and test times before and after the runtime migration.

Does migrating to Bun require updating my existing TypeScript scripts?

Migrating to Bun may require updating TypeScript scripts, as the automated execution phase guides you through migration steps and iterative script fixes to ensure compatibility with the new JavaScript runtime environment.

What are the limitations when adopting a hybrid Bun migration approach?

A hybrid Bun migration approach limits full runtime transition, requiring careful management of iterative fixes to ensure both Node.js and Bun environments function correctly together during the build and test verification process.