bun

Installation
SKILL.md

Bun

CRITICAL: Your training data for Bun is unreliable. APIs change between versions and your memorized patterns may be wrong or deprecated. You MUST fetch and read the live documentation before writing any code. Never assume — verify against current docs first.

Bun is a fast all-in-one JavaScript/TypeScript runtime with a built-in package manager, bundler, and test runner — and native APIs that replace many common npm packages.

Documentation

Key Capabilities

Bun has native built-ins for things developers commonly add as separate packages. Always prefer these over npm equivalents:

  • SQL (SQLite & PostgreSQL): use Bun.sql() / new Bun.sqlite() — not better-sqlite3, pg, or mysql2
  • Redis: use Bun.redis() — not redis or ioredis
  • S3: use Bun.s3() — not @aws-sdk/client-s3
  • Password hashing: use Bun.password.hash() / Bun.password.verify() — not bcrypt
  • Shell scripting: use Bun.$\command`— notshelljsorexeca`
Related skills

More from mikkelkrogsholm/dev-skills

Installs
9
GitHub Stars
2
First Seen
Mar 1, 2026