🎯

bun-init

🎯Skill

from daleseo/bun-skills

VibeIndex|
What it does

Initializes new Bun projects with TypeScript configuration, creating a standardized project structure and setup for various application types like CLIs, web apps, APIs, and libraries.

bun-init

Installation

Install skill:
npx skills add https://github.com/daleseo/bun-skills --skill bun-init
7
AddedJan 27, 2026

Skill Details

SKILL.md

Overview

# Bun Skills

Agent skills for AI coding assistants working with Bun JavaScript runtime. These skills follow the [Agent Skills standard](https://agentskills.io/specification) and are distributed through [skills.sh](https://skills.sh).

Installation

Install all skills:

```bash

npx skills add daleseo/bun-skills

```

Or in Claude Code:

```bash

/install-skill https://github.com/daleseo/bun-skills

```

The interactive installation process guides you through selecting specific skills, choosing target agents, determining installation scope (project or global), and selecting installation method (symlink or copy).

Available Skills

bun-init

Initialize new Bun projects with TypeScript and optimal configuration. Use when: (1) starting a new Bun project, (2) converting a directory to a Bun project, (3) setting up CLI tools, web apps, APIs, or libraries.

node-to-bun

Migrate Node.js projects to Bun with compatibility analysis. Use when: (1) converting existing npm/pnpm/yarn projects to Bun, (2) auditing dependencies for Bun compatibility, (3) updating build configurations.

deno-to-bun

Migrate Deno projects to Bun with API compatibility analysis. Use when: (1) converting Deno.\* APIs to Bun equivalents, (2) migrating from Deno Deploy, (3) updating permissions model and import maps.

cloudflare-to-bun

Migrate Cloudflare Workers to Bun with runtime compatibility analysis. Use when: (1) converting Workers to Bun, (2) migrating from Cloudflare bindings (KV, R2, D1, Durable Objects), (3) moving from edge to server deployment.

bun-dev-server

Set up high-performance development servers with Hot Module Replacement. Use when: (1) creating dev servers for web applications, (2) setting up React Fast Refresh, (3) configuring API servers with live reload.

bun-test

Configure Bun's built-in test runner with Jest-compatible APIs. Use when: (1) setting up testing infrastructure, (2) writing unit/integration/snapshot tests, (3) migrating from Jest to Bun test. 3-10x faster than Jest.

bun-build

Create optimized production bundles with Bun's native bundler. Use when: (1) building applications for production, (2) optimizing bundle sizes, (3) setting up multi-environment builds, (4) replacing webpack/esbuild/rollup.

bun-deploy

Generate optimized Docker images for Bun applications. Use when: (1) deploying to containers, (2) minimizing image sizes (88MB+ reduction vs Node.js), (3) setting up CI/CD pipelines, (4) deploying to Kubernetes.

Usage

Skills activate automatically when relevant tasks are detected. You can explicitly invoke skills through:

  • Claude Code: Slash commands (e.g., /bun-init)
  • Cursor: File pattern rules and project context
  • Other agents: Tool-specific mechanisms

Structure

Each skill contains:

  • SKILL.md - Main skill instructions with frontmatter metadata
  • references/ - Optional supplementary documentation loaded on demand

```

bun-skills/

β”œβ”€β”€ skills/

β”‚ β”œβ”€β”€ bun-init/

β”‚ β”‚ └── SKILL.md

β”‚ β”œβ”€β”€ node-to-bun/

β”‚ β”‚ β”œβ”€β”€ SKILL.md

β”‚ β”‚ └── references/

β”‚ β”‚ └── compatibility-matrix.md

β”‚ β”œβ”€β”€ deno-to-bun/

β”‚ β”‚ β”œβ”€β”€ SKILL.md

β”‚ β”‚ └── references/

β”‚ β”‚ β”œβ”€β”€ api-mapping.md

β”‚ β”‚ └── permissions.md

β”‚ β”œβ”€β”€ cloudflare-to-bun/

β”‚ β”‚ β”œβ”€β”€ SKILL.md

β”‚ β”‚ └── references/

β”‚ β”‚ β”œβ”€β”€ runtime-apis.md

β”‚ β”‚ β”œβ”€β”€ bindings.md

β”‚ β”‚ └── deployment.md

β”‚ β”œβ”€β”€ bun-dev-server/

β”‚ β”‚ β”œβ”€β”€ SKILL.md

β”‚ β”‚ └── references/

β”‚ β”‚ └── hmr-examples.md

β”‚ β”œβ”€β”€ bun-test/

β”‚ β”‚ β”œβ”€β”€ SKILL.md

β”‚ β”‚ └── references/

β”‚ β”‚ β”œβ”€β”€ jest-migration.md

β”‚ β”‚ β”œβ”€β”€ mocking.md

β”‚ β”‚ └── examples.md

β”‚ β”œβ”€β”€ bun-build/

β”‚ β”‚ β”œβ”€β”€ SKILL.md

β”‚ β”‚ └── references/

β”‚ β”‚ β”œβ”€β”€ targets.md

β”‚ β”‚ β”œβ”€β”€ optimization.md

β”‚ β”‚ └── plugins.md

β”‚ └── bun-deploy/

β”‚ β”œβ”€β”€ SKILL.md

β”‚ └── references/

β”‚ β”œβ”€β”€ dockerfile-templates.md

β”‚ β”œβ”€β”€ kubernetes.md

β”‚ β”œβ”€β”€ ci-cd.md

β”‚ └── multi-platform.