Skip to content
Back to skills

Bun First

ASecurity

Describes efficient usage of Bun and Bun APIs instead of Node.js (and its APIs)

  • 754 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added February 8, 2026
developmentjavascriptjavasqlnodetestingapiperformance

Works with

  • api

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill bun-first --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bun First?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bun First
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-bun-first/badge)](https://www.skillsdirectory.com/skills/majiayu000-bun-first)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: bun-first
description: Describes efficient usage of Bun and Bun APIs instead of Node.js (and its APIs)
---

# Bun-First Development

We default to **Bun** as our JavaScript runtime, package manager, and task runner.
Assume Bun is available unless explicitly stated otherwise.

## General Principles

- **PREFER** Bun over Node.js, npm, pnpm, or yarn
- **PREFER** Bun’s built-in features over third-party tools when available
- **PRFER** Bun's native APIs (eg for file access, SQL, S3 etc) over Node.js APIs

## Package Management

- **USE** `bun install`, `bun add`, `bun remove`
- **AVOID** `npm`, `yarn`, `pnpm`
- Prefer Bun-native lockfiles and resolution behavior
- Keep dependencies minimal and intentional

## Scripts & Tooling

- **PREFER** `bun run` for scripts
- **AVOID** Bun’s built-in test runner (`bun test`) => We'll use `Vitest` for testing
- **AVOID** Bun’s build tool (`bun build`) => We'll use Vite
- Avoid introducing extra task runners unless required

## Runtime & APIs

- **PREFER** Bun’s native APIs (fetch, fs, path, env handling)
- Write code assuming modern Web APIs are available in the runtime
- Avoid Node-specific APIs unless explicitly required

## Performance & DX

- Prefer simple, explicit scripts over complex toolchains
- **AVOID** unnecessary abstractions

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.