Agent skill

bun-first

Use Bun as the primary JavaScript runtime and tooling choice

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/bun-first-ddoman90-claude-code-intro

SKILL.md

Bun-First Development Guidelines

Bun is the primary JavaScript runtime and tooling choice for this project.

Key Preferences

  • PREFER Bun over Node.js, npm, pnpm, or yarn
  • PREFER Bun's built-in features over third-party tools when available

Package Management

Use Bun's package commands:

  • bun install - Install dependencies
  • bun add - Add packages
  • bun remove - Remove packages

Tool Selection

  • PREFER Vitest over Bun's test runner
  • PREFER Vite over Bun's build tool

Runtime Approach

  • Leverage Bun's native APIs (fetch, fs, path, env handling)
  • Write code assuming modern Web APIs are available
  • Use Node-specific APIs only when necessary

Philosophy

Prioritize simplicity and directness. Avoid unnecessary abstractions and complex toolchains in favor of straightforward, explicit solutions.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results